Pro Django
Learn how to leverage Django, the leading Python web application development framework, to its full potential in this advanced tutorial and reference. Updated for Django 1.5 and Python 3, Pro Django, Second Edition examines in great detail the complex problems that Python web application developers...
Main Author: | |
---|---|
Format: | eBook |
Language: | Inglés |
Published: |
[Berkeley], CA. : New York :
Apress ; Distributed to the book trade worldwide by Springer Science+Business Media New York
c2013.
|
Edition: | 2nd ed |
Series: | Expert's voice in Web development.
|
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629409006719 |
Table of Contents:
- ""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewers""; ""Acknowledgments""; ""Preface""; ""Introduction""; ""Chapter 1: Understanding Django""; ""Philosophy""; ""Django�s Interpretation of the MVC Pattern""; ""Model""; ""Template""; ""URL Configuration""; ""Loose Coupling""; ""Don�t Repeat Yourself (DRY)""; ""A Focus on Readability""; ""Failing Loudly""; ""Documenting Rules""; ""Community""; ""Management of the Framework""; ""News and Resources""; ""Reusable Applications""; ""Getting Help""; ""Read the Documentation""; ""Check Your Version""
- ""Frequently Asked Questions (FAQ)""""Mailing Lists""; ""Internet Relay Chat (IRC)""; ""Now What?""; ""Chapter 2: Django Is Python""; ""How Python Builds Classes""; ""Building a Class Programmatically""; ""Metaclasses Change It Up""; ""Using a Base Class with a Metaclass""; ""Declarative Syntax""; ""Centralized Access""; ""The Base Class""; ""Attribute Classes""; ""Ordering Class Attributes""; ""Class Declaration""; ""Common Duck Typing Protocols""; ""Callables""; ""__call__(self[, �])""; ""Dictionaries""; ""__contains__(self, key)""; ""__getitem__(self, key)""
- ""__setitem__(self, key, value)""""Files""; ""read(self, [size])""; ""write(self, str)""; ""close(self)""; ""Iterables""; ""__iter__(self)""; ""Iterators""; ""next(self)""; ""Generators""; ""Sequences""; ""__len__(self)""; ""__getitem__(self) and __setitem__(self, value)""; ""Augmenting Functions""; ""Excess Arguments""; ""Positional Arguments""; ""Keyword Arguments""; ""Mixing Argument Types""; ""Passing Argument Collections""; ""Decorators""; ""Decorating with Extra Arguments""; ""Partial Application of Functions""; ""Back to the Decorator Problem""
- ""A Decorator with or without Arguments""""Descriptors""; ""__get__(self, instance, owner)""; ""__set__(self, instance, value)""; ""Keeping Track of Instance Data""; ""Introspection""; ""Common Class and Function Attributes""; ""Identifying Object Types""; ""Getting Arbitrary Object Types""; ""Checking for Specific Types""; ""Function Signatures""; ""Handling Default Values""; ""Docstrings""; ""Applied Techniques""; ""Tracking Subclasses""; ""A Simple Plugin Architecture""; ""Now What?""; ""Chapter 3: Models""; ""How Django Processes Model Classes""; ""Setting Attributes on Models""
- ""Getting Information About Models""""Class Information""; ""Field Definitions""; ""Primary Key Fields""; ""Configuration Options""; ""Accessing the Model Cache""; ""Retrieving All Applications""; ""Retrieving a Single Application""; ""Dealing with Individual Models""; ""Using Model Fields""; ""Common Field Attributes""; ""Common Field Methods""; ""Subclassing Fields""; ""Deciding Whether to Invent or Extend""; ""Performing Actions During Model Registration""; ""contribute_to_class(self, cls, name)""; ""contribute_to_related_class(self, cls, related)""; ""Altering Data Behavior""
- ""get_internal_type(self)""