05698nam 2200685Ia 450 991043810030332120250610110311.09781430258100143025810110.1007/978-1-4302-5810-0(OCoLC)858626294(MiFhGG)GVRL6VRU(CaSebORM)9781430258094(OCoLC)858036763(OCoLC)ocn858036763(CKB)3710000000015719(MiAaPQ)EBC1636338(MiFhGG)9781430258100(MiAaPQ)EBC6230045(MiAaPQ)EBC29081062(EXLCZ)99371000000001571920130416d2013 uy 0engurun|---uuuuatxtccrPro Django /Marty Alchin2nd ed.[Berkeley], CA. Apress ;New York Distributed to the book trade worldwide by Springer Science+Business Media New Yorkc20131 online resource (xxvi, 273 pages)The expert's voice in Web developmentIncludes index.9781430258094 1430258098 ""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)""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 can face and how to solve them. It provides in–depth information about advanced tools and techniques available in every Django installation, running the gamut from the theory of Django’s internal operations to actual code that solves real–world problems for high–volume environments. Pro Django, Second Edition goes above and beyond other books, leaving the basics far behind and showing how Django can do things even its core developers never expected. By drawing on the dynamic nature of Python, you can write Django applications that stretch the limits of what you thought possible!Expert's voice in Web development.Web site developmentPython (Computer program language)Web sitesAuthoring programsWeb site development.Python (Computer program language)Web sitesAuthoring programs.004006.7006.76Alchin Marty872340MiAaPQMiAaPQMiAaPQBOOK9910438100303321Pro Django1947602UNINA