Python Web Development with Django 1st Edition
by: Jeff Forcier
Print Length 页数: 402 pages
Publisher finelybook 出版社: Addison-Wesley Professional; 1 edition (November 3,2008)
Language 语言: English
ISBN-10: 9780132356138
ISBN-13: 9780132356138
ASIN: 0132356139
Book Description
By finelybook
From the Back Cover
Using the simple,robust,Python-based Django framework,you can build powerful Web solutions with remarkably few lines of code. In “Python Web Development with Django(R)”,three experienced Django and Python developers cover all the techniques,tools,and concepts you need to make the most of Django 1.0,including all the major features of the new release. The authors teach Django through in-depth explanations,plus provide extensive sample code supported with images and line-by: -line explanations. You’ll discover how Django leverages Python’s development speed and flexibility to help you solve a wide spectrum of Web development problems and learn Django best practices covered nowhere else. You’ll build your first Django application in just minutes and deepen your real-world skills through start-to-finish application projects including
Simple Web log (blog)
Online photo gallery
Simple content management system
Ajax-powered live blogger
Online source code sharing/syntax highlighting tool
How to run your Django applications on the Google App Engine
This complete guide starts by: introducing Python,Django,and Web development concepts,then dives into the Django framework,providing a deep understanding of its major components (models,views,templates),and how they come together to form complete Web applications. After a discussion of four independent working Django applications,coverage turns to advanced topics,such as caching,extending the template system,syndication,admin customization,and testing. Valuable reference appendices cover using the command-line,installing and configuring Django,development tools,exploring existing Django applications,the Google App Engine,and how to get more involved with the Django community. Introduction 1 Part I: Getting StartedChapter 1: Practical Python for Django 7Chapter 2: Django for the Impatient: Building a Blog 57Chapter 3: Starting Out 77 Part II: Django in DepthChapter 4: Defining and Using Models 89Chapter 5: URLs,HTTP Mechanisms,and Views 117Chapter 6: Templates and Form Processing 135 Part III: Django Applications by: ExampleChapter 7: Photo Gallery 159Chapter 8: Content Management System 181Chapter 9: Liveblog 205Chapter 10: Pastebin 221 Part IV: Advanced Django Techniques and FeaturesChapter 11: Advanced Django Programming 235Chapter 12: Advanced Django Deployment 261 Part V: AppendicesAppendix A: Command Line Basics 285Appendix B: Installing and Running Django 295Appendix C: Tools for Practical Django Development 313Appendix D: Finding,Evaluating,and Using Django Applications 321Appendix E: Django on the Google App Engine 325Appendix F: Getting Involved in the Django Project 337 Index 339Colophon 375
Read less
About the Author
Jeffrey E. Forcier currently works as a systems administrator and backend Web developer at Digital Pulp,Inc.,a New York-based interactive agency and Web development company. He has 7 years experience in Web development with PHP and Python,including professional and personal use of the Django framework since its public release in 2005. He holds a degree in Computer Science from the University of Massachusetts.
Paul Bissex has worked as a graphic designer,writer,teacher,baby: sitter,and software developer. He was an early adopter of Django and is the creator and maintainer of dpaste.com,the Django community pastebin site. From September to June,he can be found at the Hallmark Institute of Photography (hallmark.edu),teaching Web development and using Python and Django to build everything from attendance systems to housing databases to image processing utilities. His writings on technology have appeared in Wired,Salon.com,and the Chicago Tribune. Since 1996,he has served as a conference host for The Well (well.com),which Wired magazine called “the world’s most influential online community,” and currently hosts the Web conference there. He lives in Northampton,Massachusetts,with his wife Kathleen.
Wesley J. Chun is author of Prentice Hall’s bestselling “Core Python” series (corepython.com),the Python Fundamentals companion video lectures,co-author of Python Web Development with Django (withdjango.com),and has written for Linux Journal,CNET,and InformIT. In addition to being an architect and Developer Advocate at Google,he runs CyberWeb (cyberwebconsulting.com),a consultancy specializing in Python training. He has over 25 years of programming,teaching,and writing experience,including more than a decade of Python. While at Yahoo!,he helped create Yahoo! Mail and Yahoo! People Search using Python. He holds degrees in Computer Science,Mathematics,and Music from the University of California.
Excerpt. © Reprinted by: permission. All rights reserved
相关文件下载地址