Admittedly there has not been much documentation
of connecting Zope 3 to a relational database
like MySQL. - Personally I don't have
much experience either. Some hints anyway:
The preferred way is to use an ORM
* either SQLObject - then use sqlos http://codespeak.net/z3/sqlos/
* or sqlalchemy -
I've read examples from Zope 2 where they used a DTML
page that called a ZSQL method such as the following:
dtml-in river_info
dtml-var river_id
dtml-var river_name
/dtml-in
ZSQL method would then contain:
SELECT river_id, river_name FROM river_info
In Zope 3, I only see an
Am Samstag, 31. März 2007 00:32 schrieb Rich C:
Hello all,
I've just started using Zope 3 and am having some
difficulty finding examples on a good way to access a
MySQL database. For the moment, I'd just like to be
able to read from the database and display it in a web
page with decent
On Sat, Mar 31, 2007 at 08:51:44AM +0300, Shaar Gabriel wrote:
hi
using zope3.3.0 on gentoo
zope.app.component.vocabulary.UtilityNameTerm is marked as implementing
ITokenizedTerm, but in fact tries to implement ITitledTokenizedTerm, and
fails at that, because token and title are
On Saturday 31 March 2007 19:41:35 Marius Gedminas wrote:
On Sat, Mar 31, 2007 at 08:51:44AM +0300, Shaar Gabriel wrote:
hi
using zope3.3.0 on gentoo
zope.app.component.vocabulary.UtilityNameTerm is marked as implementing
ITokenizedTerm, but in fact tries to implement