The Definitive Guide to Django - Adrian Holovaty, Jacob Kaplan-Moss

The Definitive Guide to Django

Adrian Holovaty, Jacob Kaplan-Moss

出版社

Apress

出版时间

2007-12-06

ISBN

9781590597255

评分

★★★★★
书籍介绍
Django, the Python-based equivalent to the Ruby on Rails web development framework, is presently one of the hottest topics in web development today. In The Definitive Guide to Django: Web Development Done Right, Adrian Holovaty, one of Django's creators, and Django lead developer Jacob Kaplan-Moss show you how they use this framework to create award-winning web sites. Over the course of three parts, they guide you through the creation of a web application reminiscent of chicagocrime.org. The first part of the book introduces Django fundamentals like installation and configuration. You'll learn about creating the components that power a Django-driven web site. The second part delves into the more sophisticated features of Django, like outputting non-HTML content (such as RSS feeds and PDFs), plus caching and user management. The third part serves as a detailed reference to Django's many configuration options and commands. The book even includes seven appendixes for looking up configurations options and commands. In all, this book provides the ultimate tutorial and reference to the popular Django framework. http://www.djangobook.com/
精彩摘录
  • "一个值得注意的例外是Django的可选GIS支持,它为PostgreSQL提供了强大的功能。)如果你不准备使用一些老旧系统,而且可以自由的选择数据库后端,我们推荐你使用PostgreSQL,它在成本、特性、速度和稳定性方面都做的比较平衡。"
  • "尽可能的保持在单一的编程环境/思想状态下可以帮助你提高生产率。"
  • "Are you the type of programmer who likes to debug with the help of carefully placed print statements? You can use the Django error page to do so—just without the print statements. At any point in your view, temporarily insert an assert False to trigger the error page. Then you can view the local var"
  • "On the request and view phases, Django applies middleware in the order given in MIDDLEWARE_CLASSES, and on the response and exception phases, Django applies middleware in reverse order. That is, Django treats MIDDLEWARE_CLASSES as a sort of “wrapper” around the view function: on the request it walks"
  • "The Internet can be a scary place. These days, high-profile security gaffes seem to crop up on a daily basis. We’ve seen viruses spread with amazing speed; swarms of compromised computers wielded as weapons; a never-ending arms race against spammers; and many, many reports of identity theft from hac"
用户评论
看了最核心的第一部分,不到一周时间利用django+bootstrap3+xampp就搭建了一个很像样的网站。果然适合Lean Startup,强烈推荐!
没读完
讲的挺不错的,django 的资料真是不多啊。。。
http://djangobook.py3k.cn
objects.all() book_set 。。。。太奇怪了
Django能解决问题吗?
读过中文版本
关于django的极好的书, 可惜又是没有用来做出像样的东西。我这是怎么了啊!
收藏