by Zvi Boshernitzan
RequirementsYou should already be familiar with html, and have programmed in a scripting language.
ObjectivesBy doing this problem set you will learn
Zope runs on Linux, Unix, Windows, and MacOS X. Zope comes with everything you need to get up and running including a built-in web server and search engine.
Exercise 0: Get Zope (2.5.1)
Start by downloading the appropriate version for your platform, and follow the installation instructions referenced on the download page. Use a username and password that you can remember. Also, the default port of 8080 should be fine. Install zope in an appropriately named directory that you will remember is a test installation for learning purposes.
Double-check that you can access http://localhost:8080 on your development machine. You should now be at Zope Quick Start. Also double-check that you can log in to the Zope Management Interface (ZMI) using the link on the start page. If all went well, then you are now running Zope. Congratulations.
Exercise 1: Static Content
Read the Using Zope and the Using Basic Zope Objects chapters of the Zope Book. You might find the PDF version of the book to be the most easily navigable.
Log into the ZMI, and create a folder using the "Select type to add..." pull-down menu and subsequent form. Give it an id of ps1, and a title of "Problem Set 1". Leave the checkmarks unchecked. This is where you will store your solutions for this problem set. Click on the newly created folder. You should see that "There are currently no items in Problem Set 1". You have created a folder object using the ZMI.
Now create a DTML Document with id solutions and title "Problem Set 1 Solutions", using the "Add and Edit" submit button. In the text area, remove the text "This is the <dtml-var id> Document", and replace it with the string "Hello World from Zope". Now visit http://localhost:8080/ps1/solutions . You have created your first Zope page. You can record your answers to any rhetorical questions in this solutions page.
Exercise 2: Installing Zope Products
Suppose you have a directory of images, and you would like to view them as an image gallery that automatically stays up to date.
Structured text uses indentation and simple symbology to indicate the structure of a document.
A simple sample Table
Text enclosed in brackets [footnote] is treated as hyperlinks within the document.
Unordered lists with '-',
Ordered lists with digits
--is treated as a descriptive list element.
Sub-paragraphs of a paragraph that ends in
:: is treated as
[footnote] Here is the footnoote.