LEADER 05698nam 2200685Ia 450 001 9910438100303321 005 20250610110311.0 010 $a9781430258100 010 $a1430258101 024 7 $a10.1007/978-1-4302-5810-0 035 $a(OCoLC)858626294 035 $a(MiFhGG)GVRL6VRU 035 $a(CaSebORM)9781430258094 035 $a(OCoLC)858036763 035 $a(OCoLC)ocn858036763 035 $a(CKB)3710000000015719 035 $a(MiAaPQ)EBC1636338 035 $a(MiFhGG)9781430258100 035 $a(MiAaPQ)EBC6230045 035 $a(MiAaPQ)EBC29081062 035 $a(EXLCZ)993710000000015719 100 $a20130416d2013 uy 0 101 0 $aeng 135 $aurun|---uuuua 181 $ctxt 182 $cc 183 $acr 200 10$aPro Django /$fMarty Alchin 205 $a2nd ed. 210 $a[Berkeley], CA. $cApress ;$aNew York $cDistributed to the book trade worldwide by Springer Science+Business Media New York$dc2013 215 $a1 online resource (xxvi, 273 pages) 225 1 $aThe expert's voice in Web development 300 $aIncludes index. 311 08$a9781430258094 311 08$a1430258098 327 $a""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewers""; ""Acknowledgments""; ""Preface""; ""Introduction""; ""Chapter 1: Understanding Django""; ""Philosophy""; ""Djangoa???s Interpretation of the MVC Pattern""; ""Model""; ""Template""; ""URL Configuration""; ""Loose Coupling""; ""Dona???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"" 327 $a""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[, a???])""; ""Dictionaries""; ""__contains__(self, key)""; ""__getitem__(self, key)"" 327 $a""__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"" 327 $a""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"" 327 $a""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"" 327 $a""get_internal_type(self)"" 330 $aLearn 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! 410 0$aExpert's voice in Web development. 606 $aWeb site development 606 $aPython (Computer program language) 606 $aWeb sites$xAuthoring programs 615 0$aWeb site development. 615 0$aPython (Computer program language) 615 0$aWeb sites$xAuthoring programs. 676 $a004 676 $a006.7 676 $a006.76 700 $aAlchin$b Marty$0872340 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910438100303321 996 $aPro Django$91947602 997 $aUNINA