Jul 3 – 5, 2006
CERN, Geneva
Europe/Zurich timezone

Pylons: A Modern Python Web Framework

Jul 3, 2006, 2:35 PM
40-S2-B01 (CERN, Geneva)


CERN, Geneva

Web Frameworks Web Frameworks


Mr James Gardner (3aims.com)


Pylons is a lightweight web framework emphasising flexibility and rapid development. Pylons combines the very best ideas from the worlds of Ruby, Python and Perl, providing a structured but extremely flexible Python web framework. It's also one of the first projects to fully leverage the Web Server Gateway Interface standard which facilitates extensive re-use and flexibility — but only if you need it. Out of the box, Pylons uses best practice principles to make web development fast, flexible and easy. (www.pylonshq.com) This talk will take the audience on a whistle-stop tour of Pylons, from installing the software to deploying a finished application.


Specifically the talk will cover the following:

  • Installation using Easy Install
  • Creating a project using Paste
  • The MVC architecture its reflection in the project directory structure
  • "Hello World!" using Myghty, Kid or Cheetah
  • Tidy URLs using Routes
  • PylonsHQ.com as an example of creating a simple website with navigation
  • Adding some AJAX using helpers to recreate the Rails Flickr example
  • Using Scaffold with SQLAlchemy to quickly create a guestbook application
  • Password protecting an application using Paste and AuthKit
  • The eggs format, configuration files and production deployment.

The hope is that the audience will leave the session with a better understanding of
the web development principles employed in Pylons and have enough knowledge of the
Pylons framework and its features to be inspired to start using Pylons for their own

Primary author

Mr James Gardner (3aims.com)

Presentation materials