Python logo

Goals


- Develop a robust web application with the Django framework

Program

Pattern MVC: structure, interest
Django framework: presentation, versions, documentation
Django vs other python web frameworks (pylons, turbogears, web2py)
Development environment
Django installation packages and dependencies
Web server configuration

Workshop: Installing Django (environment, dependencies)

Structure of a project
Controls / Essential components
Templating with Django: principle
Definition of modifiable regions
Inheritance of templates
Construction of views
Generic views

Workshop: Construction of a template and implementation of forms

Creation of forms and data retrieval
Validation of entries
Use of jQuery, yui
Data export (pdf, csv, …) Upload
management
Persistence contexts :
– use of the session
– global application variables
– use of cookies
– cache control
– browser-side persistence context exploitation: sessionStorage, localStorage
AJAX requests
URL routing

Workshop: Building a complete site with Django

Access to data with Django
The ORM Django: configuration, features
Mapping of entities: management of keys, fields
Management of concurrency
Mapping of associations
Management of inheritance
Request the database  
Management of the cache
 
Workshop: implementation of a data access layer with Django

Site administration: objects, media, options
Customization of the interface
Sending emails
Authentication management
Internationalization (I18N)
Interconnection with social networks
Testing and deployment of the application

Workshop: I18N of the application and authentication management

Passing of the certification (if foreseen in the financing).

Duration

5 days

Price

£ 2564

Audience

Python Developers

Prerequisites

Mastery of object programming in Python

Reference

PYT100590-F

Sessions

Contact us for more informations about session date