Logo     Photos

5 Member(s) Online

PyCon is a 100%
Volunteer-run
Conference Organized by
Members of the
Python
Community.

Site/Questions etc ?

Valid XHTML 1.0 Transitional

Valid CSS!

PyCon 2007 is sponsored
in part by
Zenoss - The Next Step in IT Management Google Microsoft .Net Framework EWT LLC Enthought, Inc. ITA Software
Platinum
Wingware Python IDE Accense Technology, Inc.
Gold
Quality Vision International Inc. MerchantCircle Big Nerd Ranch, Inc. High Speed Rails Canonical ZeOmega -- Open Minds' Open Solutions Open Source Applications Foundation CCP Games Tummy.com - we do linux AG Interactive ActiveState - Dynamic Tools for Dynamic Languages
Silver
Python411 Podcast Series O'Reilly Media, Inc.
Media

Class Outline: Advanced Django

  * Deep inside Django's model framework    
      * The model lifecycle
          * What happens when you define a model
          * Metaclass magic
          * ``contribute_to_class`` and ``contribute_to_related_class``
      * Writing custom field types
          * How fields actually work
          * How relationship fields work
          * Adding your own fields
      * Generic relations
          * Referring to types (instead of instances)
          * How built-in Django apps use generic relations
          * Tips and tricks
      * Events and the dispatcher
          * What are events?
          * When events get fired
          * Registering and listening to events
          * Avoiding pitfalls
      * "Behavior"
          * What do I mean by "behavior"?
          * Sketches of possible "behaviors":
              * Rails' ``acts_as_versioned`` and friends
              * Attaching Dublin Core metadata to arbitrary objects
              * Making objects translatable
      * Wrapping it up
          * The complete implementation of a "translatable object"
            framework.
  * Plugging into Django's request/response stack
      * The request/response lifecycle
      * Middleware
          * What's middleware?
          * Writing middleware
          * Registering middleware
      * Authorization/authentication
          * Users, groups, and permissions
          * Requiring certain permissions to access a view
          * Using middleware to control access globally
      * Writing custom authorization plugins
          * Why you'd want to do this
          * The authorization API
          * Example: integrating with YahooAuth
  * Using Django with existing apps, databases, or data
      * Importing data
          * Tools for bulk data imports
          * Techniques for keeping Django databases in sync with external 
            data sources.
      * Integrating with existing apps and databases
          * Using ``inspectdb``
          * Tweaking ``inspectdb`` for better results
  * Deploying Django
      * Setting up a good development/deployment environment
      * Building a large-scale Django cluster
          * Caching (memcached)
          * Django and load-balancing (perlbal)
          * Using Django with database replication/pooling
      * Monitoring the health of large-scale Django installations
Content Last Modified: December 01, 2006, at 07:48 AM