Pylons Spoken Tutorial
Spoken Tutorials on Python (pre-requisite of Pylons)
Pylons is a Free and Open source Python based web application framework. A web application framework is a set of software modules and libraries put together and configured in a way to make web application development easy. Using a web application framework is quite different from writing traditional CGI based web sites. In a CGI based server application, the developer has to code every thing including the application itself and the nuts and bolts are needed to keep things in place.
All Supportive tasks such as session management, request-response are also managed by the programmer. Unlike this, in a web application framework, the regular house keeping activities are managed by the framework. All the mundane tasks like session management and cashing are automated by the framework.
Besides, an application framework also provides a set of ready to use libraries for the most important tasks such as managing request and response, rendering templates and database connectivity. Pylons is amongst many web application frameworks and provides all the features which a web application developer can think of. The unique feature of Pylons is that it is a stacked framework. This implies that most of the components can be easily replaced by one which the programmer finds suitable for a particular task. Pylons is much straight forward and gives a great deal of control and power in the hands of the developer. This also has a disadvantage of a slightly steeper turning curve.
- What does Pylons provide
- Installing Pylons in a virtual Python environment
- Creating a basic project
- Let us understand what is happening under the hoods
- Introduction to the Model View Control architecture
Developing applications with Pylons
- Creating the project
- Changes to the configuration files
- Creating the model with SQLAlchemy
- Setting up the database
- Understanding the controller classes in details
- Using sessions for transactions and database access