AW: [zms-developers] "getObjProperty" in connection with Postgres

"Dr. Frank Hoffmann" <[email protected]> Mon, 18 Jan 2010 16:07:24 +0100
Newsgroups gmane.comp.cms.zms.devel
Message-ID <B56693D80A5A4E6EAE901B4A9231780E@hal1>
Hello,
1. getObjProperty() gets language conformant an attribute value of a _ZMS_
object
2. usually you iterate through a database object an get a field name by
using it's name as a variable - without any function call.

Hint-1:
If you have to rebuild a complex presentation layer like a calendar, it
might be efficient to recycle most of the existing code by adding a ZMSSQLDB
Object to the calender and modify the template vars/objects on which you are
iterating. These objects might a generated by a ZSQL method.

Hint-2:
Here the ZMS concept of automatic GUI generation is explained
http://www.zms-publishing.com/news/06_09_sql_db/
Here you will find all about Relational Database Connectivity
http://docs.zope.org/zope2/zope2book/RelationalDatabases.html

Good luck
fh, moderator