没有合适的资源?快使用搜索试试~ 我知道了~
首页Apress - Practical Django Projects 2nd Edition.pdf
Apress - Practical Django Projects 2nd Edition.pdf
需积分: 10 11 下载量 2 浏览量
更新于2023-06-07
评论
收藏 4.41MB PDF 举报
Apress - Practical Django Projects 2nd Edition.pdf
资源详情
资源评论
资源推荐
this print for content only—size & color not accurate spine = 0.633" 272 page count
Books for professionals By professionals
®
Practical Django Projects, SECOND EDITION
Dear Reader,
Web development should be fun and easy, with a minimum of fuss.
Unfortunately, sometimes it feels as though web development is nothing but
fuss. Even the simplest applications involve a staggering amount of repetitive
busy work that drags the whole process down. In this book, you’ll learn how
Django—a Python-based, open source web-application framework developed
by a fast-paced online news operation—can take the burden of all that tedium
off your shoulders and help you write better web applications with less code.
The aim of this book is to guide you toward becoming a more effective pro-
grammer, regardless of whether you’re a novice web developer or a seasoned
veteran. This book explains the technical details of developing applications
with Django, but more important, it shows you how Django can help you write
clean, flexible code with an eye toward reusability.
The book is organized around three useful projects: a content management
system, a weblog application, and a social code-sharing site. The process of
building each one will expand your knowledge of Django and demonstrate best
practices for developing high-quality applications. As you progress through
these projects, you’ll come to understand each of Django’s major components,
from database interaction and server-side processing all the way up to form
handling for user interaction and HTML templating for presentation. Along the
way, you’ll also learn how Django’s application architecture can lead to pow-
erful and flexible applications that you’ll be able to use and reuse whenever
you need them. You’ll pick up key principles of application design that you can
apply to your own code.
Finally, this updated and expanded edition will introduce you to several
powerful new features of Django, including Django’s newly rewritten adminis-
trative interface and commenting system. Plus, it includes an all-new chapter
covering practical development tools and techniques that you can incorporate
into your own development workflow.
James Bennett
US $44.99
Shelve in
Web development
User level:
Beginner–Intermediate
Bennett
SECOND
EDITION
Practical Django Projects
The eXperT’s Voice
®
in WeB DeVelopmenT
Practical
Projects
SECOND EDITION
cyan
maGenTa
yelloW
Black
panTone 123 c
James Bennett
Django Release Manager
Companion
eBook
Available
THE APRESS ROADMAP
The Definitive Guide to
Django, Second Edition
Practical Django Projects,
Second Edition
Pro Django
Beginning Python,
Second Edition
www.apress.com
SOURCE CODE ONLINE
Companion eBook
See last page for details
on $10 eBook version
Write better web applications faster, and learn
how to build up your own reusable code library
ISBN 978-1-4302-1938-5
9 781430 219385
5 4 4 9 9
Updated for
Django 1.1
Updated for
Django 1.1
Practical Django Projects
Second Edition
James Bennett
Practical Django Projects, Second Edition
Copyright © 2009 by James Bennett
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-4302-1938-5
ISBN-13 (electronic): 978-1-4302-1939-2
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc., in the
United States and other countries.
Apress, Inc., is not affiliated with Sun Microsystems, Inc., and this book was written without endorsement
from Sun Microsystems, Inc.
Lead Editor: Duncan Parkes
Technical Reviewer: Ben Ford
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Tony Campbell,
Gary Cornell, Jonathan Gennick, Michelle Lowman, Matthew Moodie, Jeffrey Pepper,
Frank Pohlmann, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh
Senior Project Manager: Kylie Johnston
Copy Editor: Nina Goldschlager Perry
Associate Production Director: Kari Brooks-Copony
Senior Production Editor: Laura Cheu
Compositor: Lynn L’Heureux
Proofreader: BIM Indexing & Proofreading Services
Indexer: Ron Strauss
Cover Designer: Kurt Krames
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com,
or visit http://www.springeronline.com.
For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600,
Berkeley, CA 94705. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com, or visit http://
www.apress.com.
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use.
eBook versions and licenses are also available for most titles. For more information, reference our Special
Bulk Sales–eBook Licensing web page at http://www.apress.com/info/bulksales.
The information in this book is distributed on an “as is” basis, without warranty. Although every precau-
tion has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability
to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indi-
rectly by the information contained in this work.
The source code for this book is available to readers at http://www.apress.com.
iii
Contents at a Glance
About the Author ...................................................................xi
About the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Introduction ......................................................................xv
CHAPTER 1 Welcome to Django . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CHAPTER 2 Your First Django Site: A Simple CMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
CHAPTER 3 Customizing the Simple CMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
CHAPTER 4 A Django-Powered Weblog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
CHAPTER 5 Expanding the Weblog ..........................................77
CHAPTER 6 Templates for the Weblog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
CHAPTER 7 Finishing the Weblog ..........................................123
CHAPTER 8 A Social Code-Sharing Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
CHAPTER 9 Form Processing in the Code-Sharing Application ...............165
CHAPTER 10 Finishing the Code-Sharing Application .........................187
CHAPTER 11 Practical Development Techniques .............................205
CHAPTER 12 Writing Reusable Django Applications ..........................223
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
剩余273页未读,继续阅读
还有啥正能量
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0