Cargando…

Django 1.0 web site development : build powerful web applications, quickly and cleanly, with the Django application framework /

Annotation Django is a high-level Python web framework that was developed by a fast-moving online-news operation to meet the stringent twin challenges of newsroom deadlines and the needs of web developers. It is designed to promote rapid development and clean, pragmatic design and lets you build hig...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Hourieh, Ayman
Otros Autores: Chan, Patrick, 1961-
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, U.K. : Packt Pub., 2009.
Colección:IT Pro.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Machine generated contents note: ch. 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
  • ch. 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
  • ch. 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.
  • Note continued: 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
  • ch. 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
  • ch. 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
  • SQI injection
  • Cross-Site Scripting (XSS)
  • Summary
  • ch. 6 Enhancing the User Interface with AJAX.
  • Note continued: 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 bookmarks
  • Auto-completion of tags
  • Summary
  • ch. 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.
  • Note continued: Displaying comments and a comment form
  • Creating comment templates
  • Summary
  • ch. 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
  • ch. 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
  • ch. 10 Building User Networks
  • Building friend networks
  • Creating the friendship data model
  • Writing views to manage friends
  • The friends list view.
  • Note continued: 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
  • ch. 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
  • Local memory 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
  • Deploying Django
  • The production web server
  • The production database
  • Turning off debug mode
  • Changing configuration variables
  • Setting error pages
  • Summary
  • ch. 12 What Next?
  • Custom template tags and filters
  • Model managers and custom SQL
  • Generic views.
  • Note continued: Contributed sub-frameworks
  • Flatpages
  • Sites
  • Markup filters
  • Humanize
  • Sitemaps
  • Cross-Site Request Forgery protection (CSRF)
  • Message system
  • Subscription system
  • User scores
  • Summary.