Date: Thu, 27 Jul 2000 06:42:39 -0400 (EDT) From: Firestar <theebh@mail.com> To: zope@zope.org Subject: [Zope] How to start developing in zope
Hi, I have read through(and tried out) the tutorials and Guides at Zope.org, and now eager to port my company's website over to Zope. (The website was originally programmed in PHP)
In my original design, I used OOP mainly. I defined each section(e.g. News, Events, Products) as a class by itself, inheriting from a "main" superclass. Each class would contain their own set of attributes(such as font-color, title) and methods(e.g. display news headline, or display events schedule). Common attributes & method that are widely used are placed(shared) in the "main" class(e.g. talking to MySQL database).
So, if there's any changes or updates, inheritance will propagate the changes to the rest of the subclasses. (As usual, management will require extra features such as personalised page, membership or web-based email to be added in future. Hopefully, this kind of structure would make adding new features a breeze.)
I believe Zope is based on a similar way (and much more powerful). I was wondering how shld i start something like this in Zope - i read abt ZClasses(where you can define your own Folders), Products(for defining yr business logic) and DTML(for dynamic data display). Your opinions will be much appreciated.
regards, firestar
also, use properties which can be used as global variables... by the way, zclasses are a very good way using object-oriented tasks.... cheers, nico