did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780321643407

Django Visual QuickPro Guide

by
  • ISBN13:

    9780321643407

  • ISBN10:

    0321643402

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2009-12-20
  • Publisher: Peachpit Press
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $29.99
  • Digital
    $31.04
    Add to Cart

    DURATION
    PRICE

Supplemental Materials

What is included with this book?

Summary

The only task-based tutorial on Django- Crammed with examples and step-by-step task-based lessons- We'll suited for Web designers wanting to make the jump to application development with Python and Django.- Award winning tech author and former faculty member at Cornell University and MIT. DJango is a open source web application framework written in Python. It follows the MVC (model view controller) design pattern; this software design pattern separates business logic from the user interface making it easier to make changes to the logic or interface without affecting the other. Django's primary goal is to ease the creation of complex, database-driven websites. The framework emphasizes reusability and 'pluggability' of components, rapid development, and the principle of DRY (Don't Repeat Yourself). Python is used throughout. Django: Visual QuickStart Guide starts at the beginning and moves web designers quickly along the path to developing Python Web applications with Django. After introducing readers the idea of Model/View/Controller applications and why Django is the right choice, the book walks a reader through creating their first Django Web site. It goes on to cover the ultra-cool things that can be done with Django to create robust Model/View/Controller applications.

Author Biography

Steven Holzner is an award-winning author who specializes in Web topics such as Ajax and JavaScript. He's written over 100 books, all on programming topics, selling well over three million copies. His books have been translated into 18 languages around the world and include a good number of industry bestsellers. He's a former contributing editor of PC Magazine, graduated from MIT, and received his Ph.D. at Cornell. He's been on the faculty of both MIT and Cornell, and also teaches corporate programming seminars around the country.

Table of Contents

Introductionp. ix
Getting Started: Installing Djangop. 1
Installing Python in Microsoft Windowsp. 3
Installing Python in Linux or UNIXp. 5
Installing Python in Mac OS Xp. 7
Testing Your Python Installationp. 9
Removing Any Old Versions of Djangop. 10
Installing Django in Windowsp. 12
Installing Django in Linux or UNIX and Mac OS Xp. 14
Installing a Database Systemp. 16
Creating an Empty Django Projectp. 18
Setting Up the Database and Seeing a Django Pagep. 20
Creating Your First Django Applicationp. 23
Creating the Projectp. 24
Setting Up the Database and Testing the Projectp. 26
Creating the Applicationp. 28
Creating the Main Viewp. 30
Linking the Views URL to the Applicationp. 31
Launching Your First Applicationp. 32
Defining a Template Directoryp. 34
Passing Data to the Templatep. 36
Creating the Templatep. 37
Launching the Improved Applicationp. 38
Storing Data in Your Modelp. 39
Creating the Projectp. 41
Setting Up the Databasep. 43
Creating the Favorites Applicationp. 45
Planning the Modelp. 46
Creating the Hyperlink Modelp. 48
Adding Hyperlink Datap. 50
Handling Data in the Shellp. 52
Creating the User Modelp. 54
Creating the Favorite Modelp. 57
Adding Favorite Datap. 59
Connecting the View to the Modelp. 61
Creating the Project and Applicationp. 63
Transferring the Databasep. 65
Creating the Viewp. 67
Displaying Data from the Viewp. 68
Accessing the First Favorite from the Modelp. 70
Accessing a Specific Userp. 72
Accessing a Specific User's Favorite74
Accessing All Favorites for a Userp. 76
Editing a Favoritep. 78
Creating a New Userp. 80
Creating Multi-page Web Applicationsp. 83
Creating the Project and Applicationp. 84
Installing the Databasep. 86
Creating the Main Viewp. 88
Setting Up the User URLsp. 90
Creating the User Viewsp. 91
Setting Up the Templatep. 93
Creating the User Templatep. 94
Making the View Call the Templatep. 95
Passing User Data to the Templatep. 97
Displaying a User's Favoritesp. 99
Styling Django Web Pagesp. 101
Creating the users Applicationp. 102
Creating the Databasep. 103
Creating the Viewp. 105
Creating the Templatep. 106
Creating the Style Sheetp. 108
Making Django Serve the Style Sheetp. 109
Connecting the Style Sheet to the Templatep. 110
Making Style Changes to the Templatep. 112
Styling by IDp. 113
inheriting Templatesp. 115
Creating the Project and Applicationp. 117
Transferring the Databasep. 118
Creating the Main Viewp. 120
Creating the Main Templatep. 122
Creating the User Viewp. 124
Creating the User Templatep. 126
Creating a Base Templatep. 128
Inheriting in the Main Templatep. 129
Inheriting in the User Templatep. 131
Changing the Base Templatep. 133
Getting User Input: Django Formsp. 137
Creating the Project and Applicationp. 139
Creating the Modelp. 140
Creating the Formp. 142
Creating the View That Displays the Formp. 143
Creating the Templatep. 145
Creating the View That Displays the Resultsp. 147
Displaying the Data Read from the Formp. 149
Testing the Formp. 150
Making Form Data Persistentp. 152
Verifying Persistent Datap. 154
Validating Form Datap. 157
Creating the Project and Applicationp. 160
Creating the Databasep. 161
Creating the Formp. 163
Creating the View That Displays the Formp. 164
Creating the Templatep. 166
Validating the Email Addressp. 167
Validating the Passwordp. 168
Validating the Usernamep. 169
Creating the View That Displays the Resultsp. 171
Verifying Validationp. 172
Logging Users In and Outp. 177
Creating the Project and Applicationp. 179
Creating the Databasep. 180
Connecting the URLsp. 182
Creating the Main Page Viewp. 184
Creating the Base Templatep. 185
Creating the Main Page Templatep. 187
Creating the Login Page Templatep. 188
Creating the Logout Viewp. 190
Logging In and Outp. 191
Indexp. 195
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program