Django

Differences between revisions 1 and 2
Revision 1 as of 2006-06-12 22:25:03
Size: 573
Editor: 81-178-107-195
Comment:
Revision 2 as of 2007-06-24 01:06:33
Size: 613
Editor: 74-140-129-0
Comment: added the djangobook link and corrected a spelling mistake.
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
In django, first you define your database models, which generate SQL for the database and allow django to know about the data. This is essential for the DRY concept. Next, the views are defined, this is where any buisness logic, interactions with the database and the like go. Then, the urls are defined as regualar expression the map to views. Finally, templates are written, which are html (or anything composed of text) with data and simple data control sprinkled throughout. In django, first you define your database models, which generate SQL for the database and allow django to know about the data. This is essential for the DRY concept. Next, the views are defined, this is where any buisness logic, interactions with the database and the like go. Then, the urls are defined as regular expression the map to views. Finally, templates are written, which are html (or anything composed of text) with data and simple data control sprinkled throughout.


Also see http://www.djangobook.com/

Django is a python based web-framework. It can be found at http://www.djangoproject.com/.

In django, first you define your database models, which generate SQL for the database and allow django to know about the data. This is essential for the DRY concept. Next, the views are defined, this is where any buisness logic, interactions with the database and the like go. Then, the urls are defined as regular expression the map to views. Finally, templates are written, which are html (or anything composed of text) with data and simple data control sprinkled throughout.

Also see http://www.djangobook.com/

Django (last edited 2012-04-26 13:38:07 by ww2)