Your first BFG application (Carlos de la Guardia)

BFG is a "pay only for what you eat" Python web framework. You can get started easily and learn new concepts as you go, and only if you need them. It's simple, well tested, well documented, and fast.

Though repoze.bfg web framework is inspired by Zope and uses concepts and software that may be familiar to Zope programmers, no prior Zope experience is required to use it. Also, unlike Zope, you don't need to understand many concepts and technologies fully before you can be truly productive.

BFG is also inspired by Django and Pylons. It tries to learn valuable lessons from things that have gone well with different web frameworks and give the user great flexibility in applying them.

This course will present BFG and lead you through the creation of a wiki application as the concepts from the framework are introduced. It can be useful to newcomers to Python web development, Zope and Plone enthusiasts who need a more minimalistic approach for some of their web development projects or who just want a fresh start without losing all the experience gained in Zope development. Also, developers from other frameworks who want to see how things are done in the Zope world without being drowned in new concepts and technologies might enjoy it.

Intended Audience

Anyone interested in developing web applications in Python. We will assume familiarity with the language and web programming.

Class Outline

  • Introduction and CD handouts (5 minutes).
  • Background
  • Installation
  • Basic Layout
  • Defining Models
  • Defining Views
  • Using View Decorators Rather than ZCML view directives
  • Adding Authorization

Requirements

A laptop is required to follow along. BFG runs on Windows, Linux or Mac, so almost any system with Python version 2.4 or greater can be used. A DVD with a Linux virtual environment preloaded with BFG and the application code will be available for anyone who requests it.

Diamond

  • Google - Diamond

Platinum

  • CCP Games - Platinum

Gold

  • Walt Disney Animation Studios - Gold
  • Net-ng - Gold
  • Socialserve.com - Gold
  • Activestate - Gold
  • White Oak Technologies Inc - Gold
  • Canonical - Gold
  • Microsoft - Gold
  • Sauce Labs - Gold
  • The Rackspace Cloud - Gold
  • ESRI - Gold
  • Oracle - Gold

Silver

  • Enthought - Silver
  • Wingware - Silver
  • Imaginary Landscape - Silver
  • Emma Email Marketing - Silver
  • Visual Numerics, Inc - Silver
  • HiiDef - Silver
  • Breadpig - Silver
  • Accense - Silver
  • Tummy - Silver
  • Zeomega - Silver

Vendor I

  • O'Reilly - Vendor I

Media

  • Linux Journal - Media
  • LinuxPro Magazine - Media
  • Ubuntu User - Media
  • CODE Magazine - Media
  • Startup Riot - Media
  • The Bit Source - Media