MVC -> MTV
Except in their terminology, the "view" is the controller and the "template" is the view, kind of
• Model
• URLconf
• Template
• View
Model Fields
Django offers field options and field types
Examples:
• Field.default returns default value of a field
• Field.primary_key returns true if the field is the primary key
Databases
• SQLite - Default with Python
• PostgreSQL
• MySQL
• Oracle
• Or you can write your own engine.
Web Server Gateway Interface (WSGI)
Python standard for web servers to communicate with web applications
Response Can Be
• HTML contents of a Web page
• Redirect
• 404 error
• XML document
• Image
• anything, really.
Template Layer
This is the "view" in most web frameworks
Can contain block tags or variables
• A block tag is a symbol within a template that does something; surrounded by "{%" and "%}"
• A variable is a symbol within a template that outputs a value; surrounded by "{{" and "}}"
IDEs
• PyDev Eclipse Plugin
• PyCharm
• Komodo IDE
• Netbeans
• IntelliJ IDEA
• Ninja IDE
• Eric Python IDE
• Wing IDE
• Basic Text Editors (Komodo, VIM)
Conclusion
• Django is great for fast development from scratch
• Not great for integrating with legacy databases, although it is possible
Recommended