3 options
Django 1.0 web site development : build powerful web applications, quickly and cleanly, with the Django application framework / Ayman Hourieh.
- Format:
- Book
- Author/Creator:
- Hourieh, Ayman.
- Series:
- From Technologies to Solutions
- Language:
- English
- Subjects (All):
- Django (Electronic resource).
- Web sites--Authoring programs.
- Web sites.
- Physical Description:
- 1 online resource (272 p.)
- Edition:
- 1st ed.
- Place of Publication:
- Birmingham, U.K. : Packt Pub., 2009.
- Language Note:
- English
- System Details:
- Mode of access: World Wide Web.
- Summary:
- Build powerful web applications, quickly and cleanly, with the Django application framework
- Contents:
- Cover; Table of Contents; Preface; Chapter 1: Introduction to Django; 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; Multilingual support; History of Django; Summary; Chapter 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 systemCreating your first project; Creating an empty project; Setting up the database; Launching the development server; Summary; Chapter 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 templatePopulating the model with data; Summary; Chapter 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; Chapter 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; Chapter 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 basic searching; Implementing live searching; Editing bookmarks in place; Implementing basic bookmark editing
- Implementing in-place editing of bookmarksAuto-completion of tags; Summary; Chapter 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; Chapter 8: Creating an Administration Interface; Activating the administration interface; Customizing the administration interface
- Customizing listing pages
- Notes:
- Includes index.
- Includes bibliographical references and index.
- ISBN:
- 1-282-06324-3
- 9786612063244
- 1-84719-679-9
- OCLC:
- 798536283
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.