Synopses & Reviews
The Zope Book, written by the experts who developed Zope, is a guide to building dynamic Web applications using Zope. Authors Amos Latteier and Michel Pelletier teach you how to utilize Zope to write Web pages, program Web scripts, use databases, manage dynamic content, perform collaborative Web development tasks, plus much more. Whether you are new to Zope or are a skilled user, this current and comprehensive reference is designed to introduce you to Zope and its uses and teaches you how it differs from other Web application servers. From installation and advanced features, such as ZClasses, to using Zope with relational databases, or scripting with Perl and Python, The Zope Book provides the instruction you need.
The Zope Book
is a book for web developers and website administrators on how to use Zope.
Part I, Introducing Zope, gets you the reader up and running with Zope, teaches then what Zope can do, whom Zope is for, and how Zope is different from other web application servers.
Part II, Creating Web Applications with Zope, takes what readers learned in Part I to the next step. They learn how to integrate the Zope fundamentals to create robust applications.
Part III, Developing Advanced Web Applications with Zope, instructs readers on how to work with the advanced features of Zope.
About the Author
Amos Latteier is a software engineer with Zope Corporation, the company that publishes Zope. He started hacking Python in the 1.3 days. He was one of the first users of Bobo, Zope's precursor. Using Bobo, he wrote Web applications for Hewlett Packard and others. Later he joined Zope Corporation and helped usher Zope into existence. Amos wrote most of Zope's initial networking and XML support. More recently, he developed training materials, wrote the online Help system, and wrote officially documentation and magazine articles about Zope. He is currently planning Zope's future directions. Michel Pelletier has been a software developer for Zope Corporation since January of 1999, right about the same time Zope became Open Source. Michel likes to hike, fly, read, drink beer, play his horns, and of coarse, hack in his favorite language, Python. Michel lives and works in Portland, Oregon. Before working for the Zope Corporation, Michel was self-employed in a number of jobs including freelance network engineer, waiter, software consultant, beer taster, sales associate, pizza restaurant manager, starving musician, dish washer, bum, Appalachian Trail thru-hiker, and college drop-out.
Table of Contents
Who Should Read This Book? How This Book Is Organized. Conventions Used in This Book.
1. Introducing Zope.
What Is Zope? Zope History. Who Can Benefit from Zope? How Can You Benefit from Zope? What Zope Gives You. Zope Alternatives. Zope Community.
2. Using Zope.
Downloading Zope. Installing Zope. Starting Zope. Logging In. Controlling Zope with the Management Interface. Understanding Users in Zope. Understanding Objects in Zope. Undoing Mistakes. Administering and Monitoring Zope. Using the Help System. Starting with the Zope Tutorial.
3. Using Basic Zope Objects.
Using Zope Folders. Using Zope Documents. Using Zope Files. Using Zope Images. Using Object Properties. Coding Logic with Scripts. Using Methods. Using Versions. Cache Manager. Virtual Hosting Objects.
4. Dynamic Content with DTML.
Who Is DTML for? What Is DTML Good for? When Not to Use DTML. DTML Tag Syntax. Inserting Variables with DTML. Processing Input from Forms. Dynamically Acquiring Content. Using Python Expressions from DTML.The var Tag. The if Tag.The in Tag.
5. Creating Basic Zope Applications.
Building Applications with Folders. Building the Zope Zoo Web Site.
II. Creating Web Applications with Zope. 6. Users and Security.
Introducing Security. Authentication and Managing Users. Authorization and Managing Security. Security Usage Patterns. Performing Security Checks. Advanced Security Issues: Ownership and Executable Content. 7. Variables and Advanced DTML.
How Variables Are Looked Up. DTML Namespaces. Modifying the DTML Namespace. DTML Namespace Utility Functions DTML Security. Advanced DTML Tags. 8. Advanced Zope Scripting.
Zope Scripts. Calling Scripts. Script Security. The Zope API. Using Python-Based Scripts. Using External Methods. Using Perl-Based Scripts. DTML Versus Python Versus Perl. Remote Scripting and Network Services. 9. Searching and Categorizing Content.
Getting Started with Mass Cataloging. Configuring Catalogs. Searching Catalogs. Searching and Indexing Details. Concatenating Queries. Stored Queries. Automatic Cataloging. 10. Relational Database Connectivity.
Using Database Connections. Using Z SQL Methods. Dynamic SQL Queries. Advanced Techniques.
III. Developing Advanced Web Applications with Zope. 11. Scalability and ZEO.
What is ZEO? When You Should Use ZEO. Installing and Running ZEO. How to Run ZEO on Many Computers. How to Distribute Load. ZEO Caveats. 12. Extending Zope.
Creating Zope Products. Creating a Simple Product. Creating ZClasses. Using Python Base Classes. Distributing Products.
IV. Appendixes. Appendix A. DTML Reference.
call: Call a Method. comment: Comments DTML. Functions: DTML Functions. if: Tests Conditions. in: Loops Over Sequences. let: Defines DTML Variables. math: DTML Math Functions. mime: Formats Data with MIME. raise: Raises an Exception random: DTML Pseudo-Random Number Functions. return: Returns Data. sendmail: Sends Email with SMTP. sqlgroup: Formats Complex SQL Expressions. sqltest: Formats SQL Condition Tests. sqlvar: Inserts SQL Variables. string: DTML String Functions. tree: Inserts a Tree Widget. try: Handles Exceptions. unless: Tests a Condition. var: Inserts a Variable. with: Controls DTML Variable Look Up. Appendix B. API Reference.
Class AuthenticatedUser. Class DTMLDocument(ObjectManagerItem, PropertyManager). Class DTMLMethod(ObjectManagerItem). Class DateTime. Class ExternalMethod. Class File(ObjectManagerItem, PropertyManager). Class Folder(ObjectManagerItem, ObjectManager,PropertyManager). Class Image(File). Class MailHost. Class ObjectManager. Class ObjectManagerItem. Class PropertyManager. Class PropertySheet. Class PropertySheets. Class PythonScript(Script). Class REQUEST. Class Response. Class Script. Class Vocabulary. Class ZCatalog. Class ZSQLMethod. Appendix C. Zope Resources.
Zope Web Sites. Zope Documentation. Mailing Lists. Zope Extensions. Python Information. Appendix D. Open Publication License.
Requirements On Both Unmodified And Modified Versions. Copyright. Scope Of License.
Requirements On Modified Works. Good-Practice Recommendations. License Options. Open Publication Policy Appendix.