触摸Django

从昨天开始看了下Django这个Python框架,Django在国内的Python社区里还是挺火的。看来文档的tutorial部分,有了基本的了解。结构非常清晰,不像Zope非常深Innocent。相比Plone这种完整的系统来说,Django只是提供了快速开发的框架,这样适应性更强,虽然Django是源自新闻系统,但Profile不像Plone这样定性。tutorial部分很好的说明了:

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.

这些官方的描述。

分享到: 更多