Use the following gearbox command to create a pluggable application −
gearbox quickstart-pluggable plugtestThese pluggable applications can define their own −
- Controllers − which will be automatically mounted, when the application is purged.
- Models − which will be available inside and outside the plugged application.
- Helpers − which can be automatically exposed in the ‘H’ object in an application template.
- Bootstrap − which will be executed when setup-app is called.
- Statics − which will be available at their own private path.
from tgext.pluggable import plug plug(base_config, plugtest)
No comments:
Post a Comment