Django design patterns and best practices : easily build maintainable websites with powerful and relevant Django design patterns /: easily build maintainable websites with powerful and relevant Django design patterns. (2015)
- Record Type:
- Book
- Title:
- Django design patterns and best practices : easily build maintainable websites with powerful and relevant Django design patterns /: easily build maintainable websites with powerful and relevant Django design patterns. (2015)
- Main Title:
- Django design patterns and best practices : easily build maintainable websites with powerful and relevant Django design patterns
- Further Information:
- Note: Arun Ravindran.
- Authors:
- Ravindran, Arun
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Django and Patterns; Why Django?; The story of Django; A framework is born; Removing the magic; Django keeps getting better; How does Django work?; What is a Pattern?; Gang of Four Patterns; Is Django MVC?; Fowler's Patterns; Are there more patterns?; Patterns in this book; Criticism of Patterns; How to use Patterns; Best practices; Python Zen and Django's design philosophy; Summary; Chapter 2: Application Design; How to gather requirements; Are you a story teller? HTML mockupsDesigning the application; Dividing a project into Apps; Reuse or roll-your-own?; My app sandbox; Which packages made it?; Before starting the project; SuperBook Problem detailsSolution details; Retrieval patterns; Pattern: Property field; Problem details; Solution details; Pattern: Custom model managers; Problem details; Solution details; Migrations; Summary; Chapter 4: Views and URLs; A view from the top; Views got classier; Class-based generic views; View mixins; Order of mixins; Decorators; View patterns; Pattern: Access controlled views; Problem details; Solution details; Pattern: Context enhancers; Problem details; Solution details; Pattern: Services; Problem details; Solution details; Designing URLs; URL anatomy; What happens in urls.py? The URL pattern syntaxNames and namespaces; Pattern order; URL pattern styles; Summary; Chapter 5: Templates; Understanding Django'sCover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Django and Patterns; Why Django?; The story of Django; A framework is born; Removing the magic; Django keeps getting better; How does Django work?; What is a Pattern?; Gang of Four Patterns; Is Django MVC?; Fowler's Patterns; Are there more patterns?; Patterns in this book; Criticism of Patterns; How to use Patterns; Best practices; Python Zen and Django's design philosophy; Summary; Chapter 2: Application Design; How to gather requirements; Are you a story teller? HTML mockupsDesigning the application; Dividing a project into Apps; Reuse or roll-your-own?; My app sandbox; Which packages made it?; Before starting the project; SuperBook Problem detailsSolution details; Retrieval patterns; Pattern: Property field; Problem details; Solution details; Pattern: Custom model managers; Problem details; Solution details; Migrations; Summary; Chapter 4: Views and URLs; A view from the top; Views got classier; Class-based generic views; View mixins; Order of mixins; Decorators; View patterns; Pattern: Access controlled views; Problem details; Solution details; Pattern: Context enhancers; Problem details; Solution details; Pattern: Services; Problem details; Solution details; Designing URLs; URL anatomy; What happens in urls.py? The URL pattern syntaxNames and namespaces; Pattern order; URL pattern styles; Summary; Chapter 5: Templates; Understanding Django's template language features; Variables; Attributes; Filters; Tags; Philosophy: Don't invent a programming language; Organizing templates; Support for other template languages; Using Bootstrap; But they all look the same!; Template patterns; Pattern: Template inheritance tree; Problem details; Solution details; Pattern: The active link; Problem details; Solution details; Summary; Chapter 6: Admin Interface; Using the admin interface; Enhancing models for the admin Not everyone should be an adminAdmin interface customizations; Changing the heading; Changing the base and stylesheets; Adding a Rich Text Editor for WYSIWYG editing; Bootstrap-themed admin; Complete overhauls; Protecting the admin; Pattern: Feature flags; Problem details; Solution details; Summary; Chapter 7: Forms; How forms work; Forms in Django; Why does data need cleaning?; Displaying forms; Time to be crisp; Understanding CSRF; Form processing with Class-based views; Form patterns; Pattern: Dynamic form generation; Problem details; Solution details; Pattern: User-based forms … (more)
- Publisher Details:
- Birmingham, UK : Packt Publishing
- Publication Date:
- 2015
- Extent:
- 1 online resource (1 volume), illustrations
- Subjects:
- 006.76
COMPUTERS -- Web -- General
Web sites -- Authoring programs
Web site development -- Computer programs
COMPUTERS / General
Web site development -- Computer programs
Web sites -- Authoring programs
COMPUTERS -- Web -- Design
Electronic books - Languages:
- English
- ISBNs:
- 9781783986651
1783986654 - Related ISBNs:
- 1783986646
9781783986644 - Notes:
- Note: Description based on online resource; title from cover page (Safari, viewed April 14, 2015).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.88013
- Ingest File:
- 01_005.xml