Change - Web Framework

Created on Sept. 21, 2012, 2:54 p.m. by Hevok & updated on Feb. 12, 2013, 10:24 p.m. by Hevok

Django is the "The web framework for perfectionists with deadlines." ¶

What is a web framework? In analogy to LEGO. Imagine C code is the plastic of which LEGO is made of. Its hard to built something useful with raw plastic. Python code are the individual blocks/bricks. Many blocks together can be combined to construct, for instance, a multifunctional unit such as a building which is analogous to a web framework as it does all the repetitive boiler code (which each house has, like roof, doors, windows) and can easily be extended by adding additional functionality to it (e.g. helicopter landing platform). Django has a very vital community and is one of the few projects where one can happily run production sites on trunk, upgrading every Tuesday. ¶

Django is now a widely-used, general-purpose framework and has a responsibility to promote good coding practices. ¶

Django is more than a web-framework; it is an ecosystem of pluggable components. ¶

Notable, it has many batteries included of which are database access through object relational model and form processing are just two parts from a whole bunch. ¶

Make models, design urls, prepare views, and create templates ¶
------------------------------------------------------------- ¶
Start with modelizing the problem. Here comes in the models that are representing the database structure. Urls are basically are mapping from the address bar to specific views (interpretations of the world). Django tries to understand the users request through recognizing the urls and the associated string data by passing this to the correct view. Django receives http request, get/post data through the views. Within the specific view data gets processed in such a way that it is able send/store the right information. Lastly the send information gets rendered in the templates which generate the web pages dynamically. ¶

Resources ¶
--------- ¶
Ddocumentation, Ddownloads and Nnews
Good book to learn Django
Best place to start
django Pluggables
Why you should use django
Sites employing django
Snippet sharing site
django sites
django cms
django stars
GeoDjango

### Blogs ¶
DjangoRocks
aggregated news feed for aggregated news feed for Ddjango posts
Lincoln Loop
PlanetDjango
PyDanny
Reinout van Rees
Nick Coghlan


Comment: Made link labels lowercase to prevent autocrosslinking.

Comment on This Data Unit