- TurboGears - Deployment
- TurboGears - Restful Applications
- TurboGears - Pluggable Applications
- TurboGears - Writing Extensions
- TurboGears - Hooks
- TurboGears - Scaffolding
- TurboGears - Using MongoDB
- Authorization & Authentication
- TurboGears - Admin Access
- TurboGears - Pagination
- TurboGears - DataGrid
- TurboGears - Crud Operations
- TurboGears - Creating Models
- TurboGears - Sqlalchemy
- TurboGears - Caching
- TurboGears - Cookies and Sessions
- TurboGears - Flash Messages
- TurboGears - Validation
- TurboGears - Toscawidgets Forms
- TurboGears - URL Hierarchy
- TurboGears - JSON Rendering
- TurboGears - Includes
- Genshi Template Language
- TurboGears - HTTP Methods
- TurboGears - Serving Templates
- TurboGears - Dependencies
- TurboGears - First Program
- TurboGears - Environment
- TurboGears - Overview
- TurboGears - Home
TurboGears Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
TurboGears - Pluggable Apppcations
If your extension needs to expose models and controllers, you probably want to have a look at the Pluggable Apppcations, which are meant to create reusable Turbogears apppcations that can be plugged inside other apppcations to extend their features.
Use the following gearbox command to create a pluggable apppcation −
gearbox quickstart-pluggable plugtest
These pluggable apppcations can define their own −
Controllers − which will be automatically mounted, when the apppcation is purged.
Models − which will be available inside and outside the plugged apppcation.
Helpers − which can be automatically exposed in the ‘H’ object in an apppcation template.
Bootstrap − which will be executed when setup-app is called.
Statics − which will be available at their own private path.
Install this plugtest apppcation and mount the same by making the following modifications in app_cfg.py.
from tgext.pluggable import plug plug(base_config, plugtest)Advertisements