Introducing Pylons

From Script | Spoken-Tutorial
Revision as of 15:33, 20 December 2012 by Gyan (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Welcome to the spoken tutorial on "Introducing Pylons".

What does Pylons provide

As we know programming means making mistakes, then searching for cause of errors. In most web application there is no efficient debugger at hand that allow you to view all variables and the piece of code where the error occurred. But Pylons offers you online debugger.If your application throws an exception you will get a traceback on the web page, from which you can view local variables and can even enter Python statements interactively. Pylons provides three sets of tools to help you to find the errors:

  • A web-based interactive debugger
  • A console-based interactive testing shell
  • A powerful set of logging tools

Pylons allow you to separate the models (your database schema), the views (HTML templates) and the controllers (your application code). Pylons is written in the Python language and is designed to run on any platform that supports a modern version of Python means it is platform independent. Thus it can be used on Windows, Mac OS X, Linux, BSD, and many other platforms. Because Python is an interpreted language, Pylons applications you write for one platform will be able to run on other platforms without any modification. And that's biggest advantage of the Pylons web framework.

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

Contributors and Content Editors

Gyan