论坛首页 编程语言技术论坛

python web开发框架 - 之 Django

浏览 4777 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (5) :: 隐藏帖 (0)
作者 正文
   发表时间:2010-03-03   最后修改:2010-03-03

Django framework 首页 http://www.djangoproject.com/

The Django framework 
介绍

Object-relational mapper
Define your data models entirely in Python. You get a rich, dynamic database-access API for free — but you can still write SQL if needed.

Automatic admin interface
Save yourself the tedious work of creating interfaces for people to add and update content. Django does that automatically, and it's production-ready.

Elegant URL design
Design pretty, cruft-free URLs with no framework-specific limitations. Be as flexible as you like.

Template system
Use Django's powerful, extensible and designer-friendly template language to separate design, content and Python code.

Cache system
Hook into memcached or other cache frameworks for super performance — caching is as granular as you need.

Internationalization
Django has full support for multi-language applications, letting you specify translation strings and providing hooks for language-specific functionality.

Django 安装指南
http://docs.djangoproject.com/en/dev/intro/install/


Django 入门指南 入门实例见附件

Writing your first Django app
http://docs.djangoproject.com/en/dev/intro/tutorial01/

类似于Rails的Rake的Django Admin 指南
http://docs.djangoproject.com/en/dev/ref/django-admin/

Model field 指南
http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.CharField

Model field Validate 指南
http://docs.djangoproject.com/en/dev/ref/validators/#ref-validators

Settings 指南
http://docs.djangoproject.com/en/dev/ref/settings/#setting-INSTALLED_APPS

Django HTTPRequest 指南
http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpRequest

Django How to use sessions 指南
http://docs.djangoproject.com/en/dev/topics/http/sessions/#topics-http-sessions

The Django template language: For Python programmers
http://docs.djangoproject.com/en/dev/ref/templates/api/

很重要的Django framework cache 必读文章
http://docs.djangoproject.com/en/dev/topics/cache/#topics-cache

类似于rails的plugins的python middleware 必读文章
http://docs.djangoproject.com/en/dev/topics/http/middleware/#topics-http-middleware

论坛首页 编程语言技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics