Vai al contenuto principale della pagina

Learning website development with Django : a beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework / / Ayman Hourieh



(Visualizza in formato marc)    (Visualizza in BIBFRAME)

Autore: Hourieh Ayman Visualizza persona
Titolo: Learning website development with Django : a beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework / / Ayman Hourieh Visualizza cluster
Pubblicazione: Birmingham, U.K., : Packt, c2008
Edizione: 1st ed.
Descrizione fisica: 1 online resource (11 p.)
Disciplina: 006.78
Soggetto topico: Python (Computer program language)
Web sites - Authoring programs
Note generali: Includes index.
Nota di contenuto: Intro -- Learning Website Development with Django -- Table of Contents -- Learning Website Development with Django -- Credits -- About the Author -- About the Reviewers -- Preface -- What This Book Covers -- Conventions -- Reader Feedback -- Customer Support -- Downloading the Example Code for the Book -- Errata -- Questions -- 1. Introduction to Django -- The MVC Pattern in Web Development -- Why Python? -- Why Django? -- Tight Integration between Components -- Object-Relational Mapper -- Clean URL Design -- Automatic Administration Interface -- Advanced Development Environment -- Multi-Lingual Support -- History of Django -- Summary -- 2. Getting Started -- Installing the Required Software -- Installing Python -- Installing Python on Windows -- Installing Python on UNIX/Linux -- Installing Python on Mac OS X -- Installing Django -- Installing Django on Windows -- Installing Django on UNIX/Linux and Mac OS X -- Installing a Database System -- Creating Your First Project -- Creating an Empty Project -- Setting up the Database -- Launching the Development Server -- Summary -- 3. Building a Social Bookmarking Application -- A Word about Django Terminology -- URLs and Views: Creating the Main Page -- Creating the Main Page View -- Creating the Main Page URL -- Models: Designing an Initial Database Schema -- The Link Data Model -- The User Data Model -- The Bookmark Data Model -- Templates: Creating a Template for the Main Page -- Putting It All Together: Generating User Pages -- Creating the URL -- Writing the View -- Designing the Template -- Populating the Model with Data -- Summary -- 4. User Registration and Management -- Session Authentication -- Creating the Login Page -- Enabling Logout Functionality -- Improving Template Structure -- User Registration -- Django Forms -- Designing the User Registration Form -- Account Management -- Summary.
5. Introducing Tags -- The Tag Data Model -- Creating the Bookmark Submission Form -- Restricting Access to Logged-in Users -- Methods for Browsing Bookmarks -- Improving the User Page -- Creating a Tag Page -- Building a Tag Cloud -- A Word on Security -- SQL Injection -- Cross-Site Scripting (XSS) -- Summary -- 6. Enhancing the User Interface with Ajax -- Ajax and Its Advantages -- Using an Ajax Framework in Django -- Downloading and Installing jQuery -- The jQuery JavaScript Framework -- Element Selectors -- jQuery Methods -- Hiding and Showing Elements -- Accessing CSS Properties and HTML Attributes -- Manipulating HTML Documents -- Traversing the Document Tree -- Handling Events -- Sending Ajax Requests -- What Next? -- Implementing Live Searching of Bookmarks -- Implementing Searching -- Implementing Live Searching -- Editing Bookmarks in Place -- Implementing Bookmark Editing -- Implementing In-Place Editing of Bookmarks -- Auto-Completion of Tags -- Summary -- 7. Voting and Commenting -- Sharing Bookmarks on the Main Page -- The SharedBookmark Data Model -- Modifying the Bookmark Submission Form -- Browsing and Voting for Shared Bookmarks -- The Popular Bookmarks Page -- Commenting on Bookmarks -- Enabling the Comments Application -- Creating a View for Comments -- Displaying Comments and a Comment Form -- Creating Comment Templates -- Summary -- 8. Creating an Administration Interface -- Activating the Administration Interface -- Customizing the Administration Interface -- Customizing Listing Pages -- Overriding Administration Templates -- Users, Groups and Permissions -- User Permissions -- Group Permissions -- Using Permissions in Views -- Summary -- 9. Advanced Browsing and Searching -- Adding RSS Feeds -- Creating the Recent Bookmarks Feed -- Customizing Item Fields -- Creating the User Bookmarks Feed -- Linking Feeds to HTML Pages.
Advanced Searching -- Retrieving Objects with the Database API -- Advanced Queries with Q Objects -- Improving the Search Feature -- Organizing Content into Pages (Pagination) -- Summary -- 10. Building User Networks -- Building Friend Networks -- Creating the Friendship Data Model -- Writing Views to Manage Friends -- The Friends List View -- Creating the "Add Friend" View -- Inviting Friends Via Email -- The Invitation Data Model -- The "Invite a Friend" Form and View -- Handling Activation Links -- Improving the Interface with Messages -- Summary -- 11. Extending and Deploying -- Internationalization (i18n) -- Marking Strings as Translatable -- Creating Translation Files -- Enabling and Configuring the i18n System -- Improving Performance with Caching -- Enabling Caching -- Simple Caching -- Database Caching -- File System Caching -- Memcached -- Configuring Caching -- Caching the Whole Site -- Caching Specific Views -- Unit Testing -- The Test Client -- Testing the Registration View -- Testing the "Save Bookmark" View -- Deploying Django -- The Production Web Server -- The Production Database -- Turning Off Debug Mode -- Changing Configuration Variables -- Setting Error Pages -- Summary -- 12. What Next? -- Custom Template Tags and Filters -- Model Managers and Custom SQL -- Generic Views -- Contributed Sub-Frameworks -- Flatpages -- Sites -- Markup Filters -- Humanize -- Sitemaps -- Cross-site Request Forgery Protection -- Message System -- Subscription System -- User Scores -- Summary -- Index.
Sommario/riassunto: Being a beginner's guide this book has a very simple and clear approach. It is a practical guide that will help you learn the features of Django and help you build a dynamic website using those features. This book is for web developers who want to see how to build a complete site with Web 2.0 features, using the power of a proven and popular development system, but do not necessarily want to learn how a complete framework functions in order to do this. Basic knowledge of Python development is required for this book, but no knowledge of Django is expected.
Titolo autorizzato: Learning website development with Django  Visualizza cluster
ISBN: 1-281-27085-7
9786611270858
1-84719-336-6
Formato: Materiale a stampa
Livello bibliografico Monografia
Lingua di pubblicazione: Inglese
Record Nr.: 9910821092603321
Lo trovi qui: Univ. Federico II
Opac: Controlla la disponibilità qui
Serie: From technologies to solutions.