The Definitive Guide to Django, 2nd Edition

The Definitive Guide to Django, 2nd Edition

作者:Adrian Holovaty

出版社:Apress

出版年:2009-7-1

评分:9.0

ISBN:9781430219361

所属分类:行业好书

书刊介绍

内容简介

This latest edition of The Definitive Guide to Django is updated for Django 1.1, and, with the forward–compatibility guarantee that Django now provides, should serve as the ultimate tutorial and reference for this popular framework for years to come.

Django, the Python–based equivalent to Ruby’s Rails web development framework, is one of the hottest topics in web development today. Lead developer Jacob Kaplan–Moss and Django creator Adrian Holovaty show you how they use this framework to create award–winning web sites by guiding you through the creation of a web application reminiscent of ChicagoCrime.org.

The Definitive Guide to Django is broken into three parts, with the first introducing Django fundamentals such as installation and configuration, and creating the components that together power a Django–driven web site. The second part delves into the more sophisticated features of Django, including outputting non–HTML content such as RSS feeds and PDFs, caching, and user management. The appendixes serve as a detailed reference to Django’s many configuration options and commands.

What you’ll learn

The first half of this book explains in depth how to build web applications using Django including the basics of dynamic web pages, the Django templating system interacting with databases, and web forms.

The second half of this book discusses higher-level concepts such as caching, security, and how to deploy Django.

The appendixes form a reference for the commands and configurations available in Django.

Who this book is for

Anyone who wants to use the powerful Django framework to build dynamic web sites quickly and easily.

作品目录

Introduction to Django
Getting Started
Views and URLconfs
Templates
Models
The Django Admin Site
Forms
Advanced Views and URLconfs
Advanced Templates
Advanced Models
Generic Views
Deploying Django
Generating Non-HTML Content
Sessions, Users, and Registration
Caching
django.contrib
Middleware
Integrating with Legacy Databases and Applications
Internationalization
Security
· · · · · ·

作者简介

Adrian Holovaty, a web developer and journalist, is one of the creators and core developers of Django. He works at WashingtonPost.com, where he builds database web applications and does "journalism as computer programming." Previously, he was lead developer for World Online in Lawrence, Kansas, where Django was created. When not working on Django improvements, Adrian hacks on s...

(展开全部)

精彩摘录

一个值得注意的例外是Django的可选GIS支持,它为PostgreSQL提供了强大的功能。)如果你不准备使用一些老旧系统,而且可以自由的选择数据库后端,我们推荐你使用PostgreSQL,它在成本、特性、速度和稳定性方面都做的比较平衡。

——引自章节:Chapter2:GettingStarted


尽可能的保持在单一的编程环境/思想状态下可以帮助你提高生产率。

——引自第5页

相关推荐

微信二维码