好书推荐 好书速递 排行榜 读书文摘

The Definitive Guide to Django, 2nd Edition

The Definitive Guide to Django, 2nd Edition
作者:Adrian Holovaty / Jacob Kaplan-Moss
副标题:Web Development Done Right
出版社:Apress
出版年:2009-07
ISBN:9781430219361
行业:其它
浏览数:97

内容简介

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.

......(更多)

作者简介

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 side projects for the public good, such as ChicagoCrime.org, which won the 2005 Batten Award for Innovations in Journalism. He lives in Chicago and maintains a weblog at www.Holovaty.com.

Jacob Kaplan-Moss is one of the lead developers of Django. At his day job, he's the lead developer for the Lawrence Journal-World, a locally owned newspaper in Lawrence, Kansas, where Django was developed. At the Journal-World, Jacob hacks on a number of sites including lawrence.com, LJWorld.com, and KUsports.com, and he is continually embarrassed by the multitude of media awards those sites win. In his spare time—what little of it there is—he fancies himself a chef.

......(更多)

目录

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

......(更多)

读书文摘

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

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

......(更多)

猜你喜欢

点击查看