Help us make Indico better by taking this survey! Aidez-nous à améliorer Indico en répondant à ce sondage !

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

Pylons: A Modern Python Web Framework

3 Jul 2006, 14:35
30m
40-S2-B01 (CERN, Geneva)

40-S2-B01

CERN, Geneva

Web Frameworks Web Frameworks

Speaker

Mr James Gardner (3aims.com)

Description

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.

Summary

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
projects.

Primary author

Mr James Gardner (3aims.com)

Presentation materials