| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
Web Site for Doctors, Surgeons & Health Organizations - Web Page Design,... houstonorthopaedicsurgeon... | THCI's Curriculum Framework and ACGME Competencies thci.org | Web Health Directory: Web Directories doctorjackson.org |
Django (pronounced /ˈdʒæŋɡoʊ/ JANG-goh[1]) is an open source web application framework, written in Python, which follows the model-view-controller architectural pattern.[2] It was originally developed to manage several news-oriented sites for The World Company[3] of Lawrence, Kansas, and was released publicly under a BSD license in July 2005; the framework was named after gypsy jazz guitarist Django Reinhardt.[4] In June 2008 it was announced that a newly formed Django Software Foundation will take care of Django in the future. [5] Django's primary goal is to ease the creation of complex, database-driven websites. Django emphasizes reusability and "pluggability" of components, rapid development, and the principle of DRY (Don't Repeat Yourself). Python is used throughout, even for settings, files, and data models. Django also provides an optional administrative "CRUD" interface that is generated dynamically through introspection and configured via admin models.
[edit] ComponentsThe core Django framework consists of an object-relational mapper which mediates between data models (defined as Python classes) and a relational database; a regular-expression-based URL dispatcher; a view system for processing requests; and a templating system. Also included in the core framework are:
[edit] Bundled applicationsThe main Django distribution also bundles a number of applications in its "contrib" package, including:
[edit] Server arrangementsDjango can be run in conjunction with Apache using mod_python or mod_wsgi. Django also includes the ability to launch a FastCGI server, enabling use behind any web server which supports FastCGI. It should also be possible to use other WSGI-compliant web servers. Django officially supports four database backends: PostgreSQL, MySQL, SQLite and Oracle. MS SQL backend can be used with django-mssql but only in Microsoft operating systems. Django may also be run in conjunction with Jython on any Java EE application server such as GlassFish or JBoss. In this case django-jython must be installed in order to provide JDBC drivers for database connectivity, which also provides functionality to compile Django in to a .war suitable for deployment. Versions of Django prior to 1.0 had multithreading issues [6] and it would be recommended that those versions of Django only be used in a single threaded server configuration, such as with Apache prefork MPM using mod_python or embedded mode of mod_wsgi. Although Django 1.0 is principally believed to now be thread safe, some minor threading issues are still occasionally being found; it may be prudent to continue to use a single threaded server configuration and/or stay current with Django releases and notices about the multithreading issues. [6] Google App Engine includes Django 0.96.1[7] as one of the bundled frameworks. [edit] Django booksOn December 2007, "The Definitive Guide to Django", a Django book for version 0.96.1 was published by Apress, and released under the GNU Free Document License. A second edition of the book, for versions 1.0+, is currently in progress.[8] In June 2009, Apress published the second edition of the book "Practical Django Projects" by James Bennett (the first edition was released in June 2008.)[9] In December 2008, Apress also published the book "Pro Django" by Marty Alchin.[10] Packt Publishing has released three books on Django:
In November 2008, Addison-Wesley published "Python Web Development with Django" by Jeff Forcier, Wesley Chun, and Paul Bissex. [14] [edit] See also[edit] References
[edit] Bibliography
[edit] External links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ↑ top of page ↑ | about thumbshots |