BoltWire

Innovative Ideas :: Radical Results!

INFORMATION

DOCUMENTATION

SOLUTIONS

Mini Applications

Documentation > Administration > Mini Applications

There may be situations where you wish to create a custom BoltWire application, that has only a very limited set of actions and pages -- such as a cookbook, or addressbook. The following approach can be used to create a simple standalone BoltWire installation.

Basic Setup

1. Create a new BoltWire installation. Do not follow the steps below in a farm installation. (See note below).

2. Next, create an index.php file inside your BoltWire installation to look like the following:

BoltWire App Setup
Root
--boltwire
       index.php
     --barn
          --scripts
          --system
     --plugins
     --skins
     --field

The contents of this folder will need the following line to tell BoltWire to use the default system pages and not create a separate local pages directory. Also the new farm directory will need to be specified:

<code>
$pagesDir='barn/system';
$farmPath='';
</code>

Finally, call the index.php file and BoltWire should spring to life, using the system pages as your local field pages.

Customizing the Application

Once you have this setup, you can begin modifying BoltWire as desired. Delete any pages you desire, and edit any you desire to keep. Be careful about deleting key pages (like the edit page) to avoid losing needed functionality. If you do, copy the page back from another BoltWire installation.

You can also begin trimming the code as well. Delete any commands, functions, or conditions you do not feel are necessary for your application. Install any plugins you wish and delete the rest. You can also delete unneeded skins.

Once you have completed your work, simply zip up your BoltWire directory, and you have a ready to go BoltWire application!

Note: It is possible to use your new application as a farm server. That is, you could create multiple cookbooks or addressbooks by simply creating a new field and linking it to your customized BoltWire engine. You cannot however do normal upgrades, as any deleted files will be replaced. You can of course, update specific modified files as desired.

Copyright © 2013, all rights reserved.