Re: [Zope] Choosing between ZODB and relational database/filesystem storage
Casey Duncan wrote:
magnus/Websys@websys.no wrote:
.. 'use ZODB' campaign
Actually my main motivation for using a separate database in many of our applications is that it forces me to have a well-documented data structure.
-Magnus
If you use ZClasses or external Python classes, the same is true for the ZODB. Granted if you just throw standard objects all over the place, it isn't self-documenting at all.
However, I think this is a weak argument for more complexity. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>
However, I think this is a weak argument for more complexity.
Actually we have even more complexity. We use Java servlets (over xml-rpc) as a middle layer between Zope and the database (Oracle). Only transient presentation-level data is stored in Zope. We chose this structure for several reasons: o It allows use to leverage all our existing competence, and we can work on different layers in parallel without conflicts. o The data structures and the inter-layer protocols are only changed through a clear and defined process. They form important and 'automatic' documentation. o Every layer is relatively easily replaced or even collapsed into another. We can also have horizontal separation in each layer - for example using an application written in C to provide some of the functions in the business logic (Java) layer. o Even though I love Python I feel more comfortable doing heavy computing in Java. The JDBC interface to Oracle also works better for us than the Oracle adapter(s) for Zope. o We are buzzword-compliant. -Magnus
participants (2)
-
Casey Duncan -
magnus/Websys@websys.no