Django Articles
http://www.djangosites.org/
http://docs.djangoproject.com/en/1.0/misc/design-philosophies/
http://www.djangobook.com/en/2.0/
http://docs.djangoproject.com/en/1.0/
http://docs.djangoproject.com/en/dev/faq/
http://jeffcroft.com/blog/2006/may/02/django-non-programmers/
http://tabo.aurealsys.com/archives/2006/08/18/guido-van-rossum-and-djang...
http://www.slideshare.net/simon/the-django-web-application-framework
http://www.alrond.com/en/2007/jan/25/performance-test-of-6-leading-frame...
Distribution of places according to this test:
1. Django has won over the nearest competitors with the approximate triple superiority.
2. Second and third places have divided TurboGears and RoR 1.1.6, because they are equally fast, but behave differently at different loads, overtaking each other.
3. .
4. Catalyst. To be honest, I expected a good deal more from Perl-framework.
5. CodeIgniter. Just as expected PHP-frameworks have appeared the slowest. But CodeIgniter is to recommend those who wish to program only on PHP, and also to have handy system.
6. Results of RoR 1.2.1 shocked “a little”: falling of productivity in 2-4 times in comparison with 1.1.6 version. The response-time in http_load is also more in 2 times and excessively high CPU-load under high stream - all this attests to possible error in the new version.
7. Symfony has got last place. It is very complicated and slow framework. A difference with Django is up to 35 (!!!) times.
http://en.wikipedia.org/wiki/Django_(web_framework)
Django (web framework)
From Wikipedia, the free encyclopedia
Jump to: navigation, search
Django Image:Django logo.png
The default Django page
Developer(s) Lawrence Journal-World
Initial release September 2008 (2008-09)
Stable release 1.1 / 2009-07-29; 26 days ago
Written in Python
Type Web application framework
License BSD License
Website http://www.djangoproject.com
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.
Components
The 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:
* A lightweight, standalone web server for development and testing.
* A form serialization and validation system which can translate between HTML forms and values suitable for storage in the database.
* A caching framework which can use any of several cache methods.
* Support for middleware classes which can intervene at various stages of request processing and carry out custom functions.
* An internal dispatcher system which allows components of an application to communicate events to each other via pre-defined signals.
* An internationalization system, including translations of Django's own components into a variety of languages.
* A serialization system which can produce and read XML and/or JSON representations of Django model instances.
* A system for extending the capabilities of the template engine.
[edit] Bundled applications
The main Django distribution also bundles a number of applications in its "contrib" package, including:
* An extensible authentication system.
* The dynamic administrative interface.
* Tools for generating RSS and Atom syndication feeds.
* A flexible commenting system.
* A sites framework that allows one Django installation to run multiple websites, each with their own content and applications
* Tools for generating Google Sitemaps.
* Tools for preventing cross-site request forgery.
* Template libraries which enable the use of lightweight markup languages such as Textile and Markdown.
* A framework for creating GIS applications.
[edit] Server arrangements
Django 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. Other WSGI-compliant web servers should also be able to be used. 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.
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 books
On 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:
* "Learning Website Development with Django" by Ayman Hourieh [11]
* "Django 1.0 Template Development" by Scott Newman [12]
* "Django 1.0 Website Development" by Ayman Hourieh [13]
In November 2008, Addison-Wesley published "Python Web Development with Django" by Jeff Forcier, Wesley Chun, and Paul Bissex. [14]
http://arstechnica.com/open-source/news/2008/07/review-practical-django-...
Practical Django Projects: Writer better web applications faster, and learn how to build up your own reusable code library (buy)
James Bennett, Django Release Manager
Apress 256 pages
Any web developer worth their salt has undoubtedly spent significant amounts of time and billable hours building (and re-building) a library of reusable code to ease future development investment on their part. If you’ve made it that far, then you’ve probably also come to a point when you’ve scrapped all the code you wrote and picked from one of the many open-source web frameworks that have done all those tasks (and more), done them well, and that--most importantly--other people maintain.
When many individuals took their first steps in web development, they were forced to write much of their code from scratch. That includes handling cookies and sessions, talking with the database and building your own SQL queries, engineering some sort of templating system (or none at all in much of PHP development), and many more man-hours of boilerplate.
These days, from ColdFusion, Ruby, PHP, Perl, to Python, developers at all levels are turning to web frameworks to do much of the dirty work.
Django is a Python-powered web framework and it's one that I’ve been a following closely since its public inception. Django has had some big wins lately with Goolge’s App Engine and is well on its way to a 1.0 release. Django has been heralded as a well-managed and disciplined open-source project that has managed to garner praise for it’s stability and performance.
Practical Django Projects is an excellent book that goes well beyond The Definitive Guide to Django, which marches through each major bit of Django with basic examples of these features. The main downfall of the Definitive Guide was that while it is extremely illustrative of the different parts of the framework, it has little to no example of how to build a real-world project you might present to a client.
This book has a strong focus on building real, battle-tested web applications from the ground up and is split into four logical portions which are prefaced with a brief introduction to Python, Django, and web frameworks themselves.
....
- jlquesada's blog
- Login to post comments