[Zope] can I move my zope site off zope?

Ricardo L. A. Bánffy rbanffy@utopia.com.br
Tue, 27 Nov 2001 17:12:05 -0200


If you are considering using RDBMSs for storing content, I suppose your
content is tabular (lots of similar objects). These kind of data maps nicely
to folders with special objects inside, for instance.

Having done that (placed your tasks on, say, instances of the "Task" class),
it is easy to add a "SomeML" method to the class and have it exporting
itself neatly in an almost database-import-ready form. You can make them
catalog-aware and build some catalogs to help you query your data (this is
the most difficult aspect for "relationalists" in Zope - it is for me)

You don't even need to add the method to the class: just let it be acquired
by placing it in some container above it.

If you really wanted to, you could also add a "SQL" method that would
generate the proper "INSERT INTO" statements for all objects of a specific
type in your folder.

As for getting to the data INSIDE Zope, you can do it in the ways I said.
You can also use XML-RPC to access the data (there is a fun example in the
Zope Book) or you can access the data using HTTP and getting the data by the
afore mentioned XML method.

There may be better ways, but I have to educate myself on XML-RPC, SOAP and
other stuff like that

Isn't Zope great or what?

----- Original Message -----
From: "Jacob Singh" <jacob@prisonbooks.org>
To: <zope@zope.org>
Sent: terça-feira, 27 de novembro de 2001 13:35
Subject: [Zope] can I move my zope site off zope?


> So I'm considering doing a major product with zope, and I'd like to hea=
r
> what people think about taking a site off of zope.  I know it's a great
> framework to build in, but I'm really used to Database programming and
> ma inclined to use that.  I know you can have SQL adapters in Zope, but
> for two reasons I don't want to use them,

1. They can be a hassle to set
> up and since this is a distributed app, this might be a problem.

2.  It
> doesn't really take advantage of the object oriented nature of zope's
> content management.  It basically then is just an excuse for a good
> templating engine.  What I am worried about though is if I build my
> product without SQL(it is a task management/portal suite),  it will
> forever live on Zope, and getting to that data from other programs will
> be next to impossible.  Does anybody have any experience/advice on this=
,
> please let's hear from the zealots AND the skeptics. I know Zope is
> awesome, I just want to make sure it doesn't get me in a proprietary
> bind.
> Thanx
> J
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>