Practical Django Projects
✍ Scribed by James Bennett
- Publisher
- Apress
- Year
- 2009
- Tongue
- English
- Leaves
- 274
- Series
- Expert's Voice in Web Development
- Edition
- 2
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
Build a django content management system, blog, and social networking site with James Bennett as he introduces version 1.1 of the popular Django framework.
You’ll work through the development of each project, implementing and running the applications while learning new features along the way.
Web frameworks are playing a major role in the creation of today’s most compelling web applications, because they automate many of the tedious tasks, allowing developers to instead focus on providing users with creative and powerful features. Python developers have been particularly fortunate in this area, having been able to take advantage of Django, a very popular open source web framework whose stated goal is to ''make it easier to build better web applications more quickly with less code''.
Practical Django Projects introduces this popular framework by way of a series of real–world projects. Readers follow along with the development of each project, implementing and running each application while learning new features along the way. This edition is updated for Django 1.1 and includes an all-new chapter covering practical development tools and techniques you'll be able to apply to your own development workflow.
What you’ll learn
- Capitalize upon the well–defined and stable framework architecture of Django 1.1 to build web applications faster than ever before.
- Learn by doing by working through the creation of three real–world projects, including a content management system, blog, and social networking site.
- Build user–friendly web sites with well–structured URLs, session tracking, and syndication options.
- Let Django handle tedious tasks such as database interaction while you focus on building compelling applications.
Who this book is for
Web developers seeking to use the powerful Django framework to build powerful web sites.
Table of Contents
- Welcome to Django
- You're First Django Site: A Simple CMS
- Customizing the Simple CMS
- A Django-Powered Weblog
- Expanding the Weblog
- Templates for the Weblog
- Finishing the Weblog
- A Social Code-Sharing Site
- Form Processing in the Code-Sharing Application
- Finishing the Code-Sharing Applications
- Practical Development Techniques
- Writing Reusable Django Applications
✦ Table of Contents
Prelims
......Page 1
Contents at a Glance......Page 5
Contents......Page 7
About the Author......Page 13
About the Technical Reviewer......Page 15
Introduction......Page 17
What’s a Web Framework and Why Should I Want One?......Page 19
Saying Hello to Django......Page 20
Saying Hello to Python......Page 21
Installing Django......Page 22
taking your First Steps with Django......Page 23
exploring your Django Project......Page 25
Looking Ahead......Page 26
Configuring Your First Django Project......Page 27
Putting together the Cms......Page 30
introducing the Django template system......Page 36
Looking Ahead......Page 40
Adding Rich-Text Editing......Page 41
Adding a search system to the cms......Page 44
improving the search view......Page 49
improving the search Function with keywords......Page 51
looking Ahead......Page 58
Compiling a Feature Checklist......Page 61
Writing a Django Application......Page 62
Creating the Weblog Application......Page 63
Designing the models......Page 65
Building the entry model......Page 70
The Weblog models So Far......Page 80
Writing the First views......Page 83
using Django’s generic views......Page 87
Decoupling the urls......Page 90
looking Ahead......Page 93
Model......Page 95
Model......Page 101
Setting up Views for categories......Page 102
using generic Views (Again)......Page 104
Views for tags......Page 105
cleaning up the urlconf Module......Page 106
handling live entries......Page 111
looking Ahead......Page 113
Dealing with Repetitive Elements: The Power of Inheritance......Page 115
Defining the Base Template for the Blog......Page 118
Setting Up Section Templates......Page 121
Displaying Archives of Entries......Page 122
Defining Templates for Other Types of Content......Page 128
Extending the Template System with Custom Tags......Page 129
looking Ahead......Page 140
Implementing Model Inheritance and Abstract Models......Page 141
Moderating Comments......Page 147
Adding feeds......Page 158
looking Ahead......Page 165
Compiling a Feature Checklist......Page 167
Building the Initial Models......Page 168
Building Initial Views for Snippets and Languages......Page 174
Looking Ahead......Page 181
A Brief Tour of Django’s Form System......Page 183
Writing a Form for Adding code Snippets......Page 192
Automatically generating the Form from a model Definition......Page 197
Simplifying Templates That Display Forms......Page 200
editing Snippets......Page 201
looking Ahead......Page 204
Bookmarking Snippets......Page 205
Adding Basic Bookmark Views......Page 206
creating a new template tag:......Page 209
to Automatically populate template Variables......Page 214
Adding the user rating System......Page 216
Looking Ahead......Page 220
Using Version-Control Systems to Track Your Code......Page 223
Using Isolated Python Environments to Manage Software......Page 227
Using Build Tools......Page 230
Using a Deployment Tool......Page 232
Simplifying Your Django Development Process......Page 233
Looking Ahead......Page 240
Writing reusable Django applications......Page 241
One Thing at a Time......Page 242
Developing Multiple Applications......Page 244
Building for Flexibility......Page 246
Distributing Django Applications......Page 252
looking Ahead......Page 259
Index......Page 261
📜 SIMILAR VOLUMES
In my experience, the purpose of this book is extremely unusual in programming books. Most of them are either an introduction to the topic, or a reference book like a 'cookbook' or what basically amounts to a printed version of the online documentation. Those books get the job done for people with a
<p>Build a Django content management system, blog, and social networking site with <strong>James Bennett</strong> as he introduces the popular Django framework. You’ll work through the development of each project, implementing and running the applications while learning new features along the way. <
Build a Django content management system, blog, and social networking site with James Bennett as he introduces the popular Django framework. You'll work through the development of each project, implementing and running the applications while learning new features along the way.<br /><br />Web framew
<p> Build a django content management system, blog, and social networking site with <strong>James Bennett</strong> as he introduces version 1.1 of the popular Django framework. </p> <p> You’ll work through the development of each project, implementing and running the applications while learning n
<p>Build a django content management system, blog, and social networking site with <strong>James Bennett</strong> as he introduces the popular Django framework. You’ll work through the development of each project, implementing and running the applications while learning new features along the way. <