alt ZopeBook

The first and best free Zope book. Has a reputation for uneven difficulty level, but essential reading for all zope users and developers. You can find it in various formats, below. See also the ZopeDevelopersGuide.

Zope 2.7 (in progress)

Zope 2.6 - Backtalk - PDF - HTML, debian package

Zope 2.5 - Backtalk - HTML, German translation

Zope book mirror, 2.7 edition, last updated 2004/04/27

Zope Book Preface

Zope Book Chapter 02: Introducing Zope
This chapter explains what Zope is and what it can do for you. You also learn about the differences between Zope and other web application servers.
Zope Book Chapter 03: Zope Concepts and Architecture
This chapter explains fundamental Zope concepts and describes some of Zope's architecture.
Zope Book Chapter 04: Installing and Starting Zope
This chapter explains how to install and start Zope for the first time. By the end of this chapter, you should have Zope installed and working.
Zope Book Chapter 05: Object Orientation
This chapter explains the concept of object orientation, which is the development methodology most often used to create Zope applications.
Zope Book Chapter 06: Using The Zope Management Interface
This chapter explains how to use Zope's web-based management interface. By the end of this chapter you should be able to navigate around the Zope object space, copy and move objects, and use other basic Zope features.
Zope Book Chapter 07: Using Basic Zope Objects
This chapter introduces objects, which are the most important elements of Zope. We introduce the basic Zope objects: content objects, presentation objects, and logic objects, and we build a simple application using these objects.
Zope Book Chapter 08: Acquisition
This chapter introduces acquisition, which is Zope's mechanism for sharing site behavior and content via "containment".
Zope Book Chapter 09: Basic DTML
This chapter introduces DTML, Zope's tag-based scripting language. We describe how to use DTML's templating and scripting facilities. We cover DTML syntax and the three most basic tags, var, if and in. After reading this chapter you'll be able to create dynamic web pages.
Zope Book Chapter 10: Using Zope Page Templates
This chapter introduces Zope Page Templates, another Zope tool used to create dynamic web pages. This chapter shows you how to create and edit page templates. It also introduces basic template statements that let you insert dynamic content.
Zope Book Chapter 11: Creating Basic Zope Applications
This chapter walks the reader through several real-world examples of building a Zope application. It explains how to use basic Zope objects and how they can work together to form basic applications.
Zope Book Chapter 12: Users and Security
This chapter looks at how Zope handles users, authentication, authorization, and other security-related matters.
Zope Book Chapter 13: Advanced DTML
This chapter takes a closer look at DTML. It covers DTML security and the tricky issue of how variables are looked up in DTML. It also covers advanced uses of the basic tags covered in Chapter 3 and the myriad special purpose tags. This chapter will turn you into a DTML wizard.
Zope Book Chapter 14: Advanced Page Templates
This chapter goes into more depth with templates. This chapter teaches you all the template statements and expression types. It also covers macros which let you reuse presentation elements.
Zope Book Chapter 15: Advanced Zope Scripting
This chapter covers scripting Zope with Python and Perl. It explains how to write business logic in Zope using tools more powerful than DTML. It discusses the idea of scripts in Zope, and focuses on Python and Perl-based Scripts. This chapter shows you how to add industrial-strength scripting to your site.
Zope Book Chapter 16: Zope Services
This chapter covers Zope objects which are "services" that don't readily fit into any of the basic "content", "presentation" or "logic" object groups.
Zope Book Chapter 17: Searching and Categorizing Content
This chapter shows you how to index and search objects with Zope's built-in search engine, the Catalog. It introduces indexing concepts and discusses different patterns for indexing and searching. Finally it discusses metadata and search results.
Zope Book Chapter 18: Relational Database Connectivity
This chapter describes how Zope connects to external relational databases. It also covers features which allow you to treat relational data as though it were Zope objects. Finally, the chapter covers security and performance considerations.
Zope Book Chapter 19: Virtual Hosting Services
This chapter explains how to set up Zope in a "virtual-hosted" environment where Zope subfolders can be served as "top-level" hostnames. It includes examples that allow virtual hosting to be performed "natively" or using Apache's mod_rewrite facility.
Zope Book Chapter 20: Sessions
This chapter describes Zope's "sessioning" services, which allow Zope developers to "keep state" between HTTP requests.
Zope Book Chapter 21: Scalability and ZEO
This chapter covers issues and solutions for building and maintaining large web applications, and focuses on issues of management and scalability. In particular, the Zope Enterprise Option (ZEO) is covered in detail. This chapter shows you the tools and techniques you need to turn a small site into a large-scale site, servicing many simultaneous visitors.
Zope Book Chapter 22: Managing Zope Objects Using External Tools
This chapter explains how to use tools other than your web browser to manipulate Zope objects.
Zope Book Chapter 23: Extending Zope
This chapter covers extending Zope by creating your own classes of objects. It discusses ZClasses, and how instances are built from classes. It describes how to build a ZClass? and its attendant security and design issues. Finally, it discusses creating Python base classes for ZClasses and describes the base classes that ship with Zope.
Zope Book Chapter 24: Maintaining Zope
This chapter covers Zope maintenance and administration tasks such as database "packing" and Product installation.
Zope Book Appendix A: DTML Reference
Reference of DTML syntax and commands.
Zope Book Appendix B: API Reference
Reference of Zope object APIs?.
Zope Book Appendix C: Zope Page Templates Reference
Reference of Zope Page Template syntax and commands.
Zope Book Appendix D: Zope Resources
Reference of "resources" which can be used to further enhance your Zope learning experience.
Zope Book Appendix E: DTML Name Lookup Rules
Describes DTML's name lookup rules.



page (or pages) for corrections --FlorianKonnertz, Wed, 14 Apr 2004 06:49:56 -0700 reply
Should there be a page (or pages) for corrections, comments etc. to the book? I suggest to mention that here.

page (or pages) for corrections -- Fri, 23 Apr 2004 12:32:23 -0700 reply
This would section would be a good candidate for simon's blog work which displays comments from multiple pages

zope book on wiki --simon, Fri, 23 Apr 2004 13:05:21 -0700 reply
I have been chit-chatting with Chris about this, the maintenance procedure, etc. See also the recent zope-dev thread. The book will be maintained in backtalk for the time being. Obviously we are keen to minimize maintenance effort and avoid duplication and confusion.

I am inclined to remove the mirrored 2.5 edition, for a start, being out of date. Chris has made the latest book source available to me, and it is probably worth mirroring that at some point, for convenience/findability/fiendish wiki experiments. But this doesn't feel super-urgent to me right at this moment. Your thoughts ?

fleeb -- Sat, 24 Apr 2004 20:17:08 -0700 reply
Here's my $.02. I'm +1 for a copy of the book to be mirrored here. But I'm -0 on presenting this as a resource which allows edits and comments that diverge from the BackTalk copy unless somebody signs up to try to feed the improvements back into the BackTalk version. I can't do it and keep my sanity, but if someone else could volunteer to do it, my -0 would change to a +1.

BTW, Simon, I dunno if you got my last IRC message, but you can now successfully snarf the images from the 2.7 edition on over DAV.

fleeb --simon, Sun, 25 Apr 2004 00:33:59 -0700 reply
Right then I'll do a mirror of the 2.7 stuff (still getting permission errors copying images btw..). If we start to get any useful edits I or someone will make sure to feed them to you. This was the case before, but we didn't get any edits so I didn't have to think too hard about this. We might get more input on this site though. To keep things simple I think I'll make these pages comments only for now.

feedback to date --simon, Sun, 25 Apr 2004 00:39:08 -0700 reply
In fact there have been three comments on the mirror, one of them substantial: Here , here and here . Since we don't have these pages sending mail yet I'm not sure if you'll see this. If I don't hear I'll forward these before deleting the 2.5 mirror.

fleeb --simon, Sun, 25 Apr 2004 00:47:10 -0700 reply

unless somebody signs up to try to feed the improvements back into the BackTalk version.

Re-reading I guess you mean not just feed changes to you, but put them into the master backtalk version. Well we'll either do this or I'll make these pages read-only.

right... -- Sun, 25 Apr 2004 16:02:54 -0700 reply
Right, please don't send the changes to me in email.. I'll never be able to keep up with that. ;-) Thanks!

oh, also... -- Sun, 25 Apr 2004 16:04:23 -0700 reply
The 2.5 edition is very old, so it's possible (and even likely) that the comments people have made to the book pages here might not be salient anymore.

done --simon, Tue, 27 Apr 2004 13:45:55 -0700 reply
Updated to 2.7. Read-only for now. This includes the backtalk comments. I'd move these to a margin beside the main text if I could.


Add quotes here for display in the footer/front page. BeBold, etc. *

page rating: 3 from 1 votes

click to rate (voting as: