+612 9045 4394
Web Component Development with Zope - Philipp von Weitershausen

Web Component Development with Zope

Paperback Published: 3rd January 2008
ISBN: 9783540764472
Number Of Pages: 564

Share This Book:


RRP $147.02
or 4 easy payments of $35.31 with Learn more
Ships in 15 business days

Where Zope leads, Python follows. So it has been for a decade, and the trend doesn't show any signs of st- ping. Whatever the latest buzzword--be it RESTful web programming, st- dardized interfaces, pluggable components, or practical restricted-execution environments, Zope has quietly led the way, delivering the goods years ahead of anyone else. Not just as technology concepts, but shipped and working in paying clients' o?ces. And yet, strangely, Zope's role in the ongoing development of Python is little-known and little-appreciated among Python developers. It is f- quently the case that some new and much-touted development in the Python community--especiallyin the web application and object security arenas--is something that Zope has already been doing for many years. I'm somewhat ba?ed by this peculiar blind spot in the Python com- nity.Even when I tell people that Zope's already done something that they're working on, the response is usually a blank look, or no response at all. It's almost as if the innovations of Zope don't really exist until somebody else reinvents them. In fact, the pattern has led me coin this little saying: Those who do not study Zope, are condemned to reinvent it. It doesn't matter if you don't plan to actually use Zope. Frankly, I haven't used Zope in years. But the lessons I learned from Zope, I use constantly. Studying Zope--Zope 3 in particular--will make you a better programmer, without question.

Industry Reviews

"The book can be considered the definitive guide to Zope 3. If the reader is looking for a book containing a set of tutorials on creating and using Web applications, this is a great choice."

Pectu Dana, Timisoara, Romania; ACM Computing Reviews, September 2006

"This book is at once thorough, brief, and concise. This is by far the best technical books i've read on any subject.

I have been interested in Zope for almost a year now, but even as a seasoned programmer I was intimidated by its labrythian complexity. I struggled for weeks reading the free Zope material and learning almost nothing. This book presents the material in an accessable manner while shying away from the horrible puns and awful jokes present in so many technical books. This book would be a bargin at twice its price."

D. Morrione, Hemet, CA, amazon.com

Introductionp. 3
About this bookp. 3
What is Zope?p. 4
Zope's featuresp. 7
The history of Zopep. 9
The Python Programming Languagep. 11
Changes since Zope X3 3.0p. 12
Zope and the Component Architecturep. 15
How Zope works-an overviewp. 15
Introducing componentsp. 16
Interfacesp. 19
Content componentsp. 20
Adaptersp. 21
Utilitiesp. 23
Configuring componentsp. 24
Securityp. 25
Installing Zopep. 29
Requirementsp. 29
Download, compilation and installationp. 31
Setting up a Zope instancep. 33
The example applicationp. 42
Interfacesp. 47
Interface semanticsp. 47
Defining interfacesp. 48
Declaring that an object provides an interfacep. 52
Verifying implementationsp. 56
Schemasp. 57
Content Componentsp. 67
Schema-based contentp. 67
Configuration via ZCMLp. 72
Content typesp. 76
Factoriesp. 78
Persistencyp. 83
The problem of object storagep. 83
Making persistent objectsp. 86
Working with persistent objectsp. 88
BTreesp. 92
Simple Views and Browser Pagesp. 95
Introduction to viewsp. 95
Page Templatesp. 99
TALp. 100
TALESp. 101
Scopesp. 103
A simple view Page Templatep. 106
Enhanced browser pagesp. 110
Browser Formsp. 115
Schema-based formsp. 115
Adding objects and add formsp. 122
Custom widgetsp. 124
Internationalizationp. 139
Overviewp. 140
Messages and translation domainsp. 141
Internationalizing an applicationp. 145
Python codep. 146
Page Templatesp. 149
ZCMLp. 150
Message catalogsp. 156
Localizationp. 161
Customizing a Site's Layoutp. 167
Layers and skinsp. 167
Page Template macrosp. 173
Custom skinsp. 178
Content providers and viewletsp. 184
Adaptersp. 193
Sizep. 193
File representationp. 197
Customizing an existing adapterp. 204
Automated Testingp. 207
Introductionp. 207
Unit testsp. 209
Doctestsp. 212
Running testsp. 215
Integration testsp. 221
Advanced Viewsp. 233
Browser pages with non-HTML contentp. 233
Browser menusp. 242
Other HTTP protocolsp. 245
WebDAVp. 246
XML-RPCp. 248
Metadatap. 255
Annotationsp. 255
The Dublin Corep. 259
Custom metadatap. 267
Containersp. 279
Object hierarchies and traversalp. 279
Containment and locationp. 282
Containment constraintsp. 287
Names of contained objectsp. 292
File representationp. 297
Eventsp. 303
Introductionp. 303
Object eventsp. 306
Sending emails for event notificationp. 314
Sources and Vocabulariesp. 331
Sourcesp. 331
Vocabulariesp. 333
Using vocabulariesp. 338
Sitesp. 345
Introductionp. 345
Local utilitiesp. 349
Implementing sitesp. 353
Indexing and Searchingp. 359
Indexing and object referencesp. 359
The catalog and its indicesp. 362
Querying the catalog for searchingp. 367
Database generationsp. 372
Browser Sessionsp. 377
Identifying clientsp. 377
Storing session datap. 380
Using sessionsp. 383
Securityp. 389
Overviewp. 389
Permissionsp. 396
Rolesp. 400
Authentication and User Managementp. 405
The Pluggable Authentication Utilityp. 405
Login and logout with credential plug-insp. 407
Managing principals with authenticator plug-insp. 411
Principal metadatap. 424
Debugging Zopep. 431
Self-documenting code with APIDocp. 431
Online debugging toolsp. 435
Using the Python debuggerp. 438
Packaging and Deploymentp. 441
Packaging an applicationp. 441
Preparing a production instancep. 446
Virtual hostingp. 448
Improving scalabilityp. 454
API Referencep. 461
ZCML Referencep. 501
Referencesp. 547
Indexp. 557
Table of Contents provided by Ingram. All Rights Reserved.

ISBN: 9783540764472
ISBN-10: 354076447X
Audience: General
Format: Paperback
Language: English
Number Of Pages: 564
Published: 3rd January 2008
Publisher: Springer-Verlag Berlin and Heidelberg Gmbh & Co. Kg
Country of Publication: DE
Dimensions (cm): 23.32 x 17.15  x 2.95
Weight (kg): 0.99
Edition Number: 3
Edition Type: Revised