TurboGears – Deployment – To switch over from a development environment to a full-fledged production environment, application needs to be deployed on a real web server. Depending upon wh
TurboGears – Writing Extensions – TurboGears extensions are identified by tgext.* package. A Gearbox toolkit provides tgext command to create a sample extension. For example −
TurboGears – Pluggable Applications – If your extension needs to expose models and controllers, you probably want to have a look at the Pluggable Applications, which are meant to create reusable Tur
TurboGears â RESTful Applications – REST stands for REpresentational State Transfer. REST is web standards based architecture and uses HTTP Protocol for data communication. It revolves around a re
TurboGears – Using MongoDB – TurboGears also supports MongoDB document databases. It uses Ming, an Object Document Mapper API. Usage of Ming is very much similar to SQLAlchemy. Ming query l
TurboGears â Scaffolding – Gearbox toolkit contains scaffold command, which is very useful to quickly create new components of TurboGears application. An application generated by quicksta
TurboGears â Hooks – There are three ways in TurboGears to plug behaviors inside the existing applications.
TurboGears â Authorization & Authentication – A TurboGears application is created by quickstart and setup-app options of the gearbox toolkit, which has the authorization and authentication support enabled b
TurboGears â DataGrid – The ToscaWidgets contains a DataGrid control which provides a quick way to present data in tabular form. The DataGrid object is declared as follows −
TurboGears â Pagination – TurboGears provides a convenient decorator called paginate() to divide output in the pages. This decorator is combined with the expose() decorator. The @Paginat