Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Ravindran, Arun, author.

Title Django design patterns and best practices : easily build maintainable websites with powerful and relevant Django design patterns / Arun Ravindran. [O'Reilly electronic resource]

Publication Info. Birmingham, UK : Packt Publishing, 2015.
QR Code
Description 1 online resource (1 volume) : illustrations.
text file
Series Community experience distilled
Community experience distilled.
Note Includes index.
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 your mission, should you choose to accept it; Why Python 3?; Starting the project; Summary; Chapter 3: Models; M is bigger than V and C; The model hunt; Splitting models.py into multiple files; Structural patterns; Patterns: normalized models; Problem details; Solution details; Pattern: Model mixins; Problem details; Solution details; Pattern: User profiles; Problem details; Solution details; Pattern: Service objects
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
Summary If you want to learn how best to utilize commonly found patterns and learn best practices in developing applications with Django, this is the book for you. This book, like Django itself, is accessible to amateur and professional developers alike and assumes little in the way of prior experience. Although written for Python 3, the majority of the code in this book works in Python 2 or can be easily translated.
Language English.
Subject Django (Electronic resource)
Django (Electronic resource)
Web sites -- Authoring programs.
Web site development -- Computer programs.
Sites Web -- Systèmes-auteur.
Web site development -- Computer programs
Web sites -- Authoring programs
Other Form: Print version: Ravindran, Arun. Django design patterns and best practices : easily build maintainable websites with powerful and relevant Django design patterns. Birmingham, England ; Mumbai, [India] : Packt Publishing, c2015 xii, 198 pages Community experience distilled. 9781783986644
ISBN 9781783986651 electronic bk.
1783986654 electronic bk.
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information