I'm both a novice at Zope as well as Python. I'm learning both concurrently, and I'm impressed with everything I've learned so far. I see myself becoming a true-blue Zope/Python fan. I'm also new to OOP, so I'm studying the principles of OOP as well. I have 2 questions: 1. Is ZODB a true object-oriented database? If so, does this mean that all web items like pages, images, css files, etc. are stored only as objects in the ZODB? 2. I don't see any web file structure in the Zope program at all. Nothing like a wwwroot directory exists anywhere on my PC under Zope. Does that mean that ALL objects created in Zope ONLY exist in the ZODB? And does that also mean the only place I see the web file structure is when I log on to Zope on port 8080? Just wanted to make sure I understand the underlying principles of Zope. Thanks in advance for your help. Sincerely, Russ Chaffin
On Sat, Jul 06, 2002 at 08:53:04PM -0400, Russ wrote:
2. I don't see any web file structure in the Zope program at all. Nothing like a wwwroot directory exists anywhere on my PC under Zope. Does that mean that ALL objects created in Zope ONLY exist in the ZODB?
Yes, with a few exceptions: some products such as ExtFile that give Zope access to data on the filesystem; also, you can add python code that lives on the filesystem, either in Zope Products or External Methods; and there are Products that can make use of DTML or ZPT files that actually are files on the filesytem. CMF is one such product. Otherwise, you're correct. DTML Documents & Methods, Python Scripts, ZPT pages, Images, etc. are all objects that live in the ZODB. And does that also mean the only place I see
the web file structure is when I log on to Zope on port 8080?
almost... you can also see it via FTP using port 8021... but you've got the right idea. -- Paul Winkler home: http://www.slinkp.com "Muppet Labs, where the future is made - today!"
And does that also mean the only place I see the web file structure is when I log on to Zope on port 8080?
almost... you can also see it via FTP using port 8021...
also, install ZEO and you can connect to the object database from other python processes.
participants (3)
-
Paul Winkler -
Russ -
Toby Dickenson