BoltWire is a FREE content management system written in PHP.

Its innovative architecture combined with best-in-class forms processing makes it ideal for creating complex, interactive, web applications fast...




Tutorials > 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, fast, standalone BoltWire installation.

Basic Setup

1. Create a new BoltWire Installation
Setup a new BoltWire installation, renaming the boltwire folder to some other name. Create a new field and update that field's index.php script to point to the correct location of the engine. Call index.php to make sure it is working.

2. Customize the Application
Once you have this setup, you can begin modifying BoltWire as desired. Delete or edit any pages you wish. Be careful about deleting key pages (like the edit page) to avoid losing needed functionality. If you make a mistake, copy needed pages 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. Similarly, add or delete skins as needed.

3. Save your Work
Once you have completed your work, simply zip up your BoltWire directory, and save it. You now have a ready to go BoltWire application! (See the license for limitations on redistribution of BoltWire code).

It is possible to use your new application as a farm server. That is, you can create multiple cookbooks or addressbooks by simply creating a new field and pointing 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 files or functions manually as desired.