ZClasses can indeed be brains.
-----Original Message----- From: R. David Murray [mailto:bitz@bitdance.com] Sent: Wednesday, June 28, 2000 12:52 PM To: Alexander Chelnokov Cc: Dieter Maurer; zope Subject: Re: [Zope] Re[2]: [Zope] CASE tools and Zope
On Wed, 28 Jun 2000, Alexander Chelnokov wrote:
As i realize, ZSQL methods are merely SQL statements for data manipulation - select, insert, delete and so on. But some application logic and data integrity rules may be IMHO wrapped into ZClasses instead of triggers and stored procedures. It looks promising for
I think what you are looking for here is the concept called "pluggable brains". As I understand it (never having used it myself), it allows you to wrap the returned results up as instances of a python class, thus supplying object logic to your rdbms data. Whether or not ZClasses can play the role of pluggable brains I don't know, but I have a feeling they would be overkill for that.
--RDM
_______________________________________________ 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 )
participants (1)
-
Chris McDonough