[Zope3-Users] recommendations for porting sqlmethod based z2 app to z3

2006-05-06 Thread Michel Pelletier
Hello friends, I'm in discussion with a customer about advancing their existing Z2 application, which is driven by ZSQLMethods (they use ZODB only to store presentation templates). They want to make their site more of a web service with various protocols, starting possibly with JSON-RPC and

[Zope3-Users] Re: folder list in a vocabulary

2005-10-19 Thread Michel Pelletier
Stephan Richter wrote: Note that I would strongly suggest using a relationship framework for this sort of use case. A good API is provided by ``schooltool.relationship`` and is heavily used in the SchoolTool code, so you have many examples. I've spent some time recently studying

[Zope3-Users] Re: Interface tests: NotImplemented or NotImplementedError

2005-10-18 Thread Michel Pelletier
In the Zope 3 book the method is like this: def makeTestObject(self): raise NotImplemented() ... Looking in some real zope3 tests I saw another version of the method: def makeTestObject(self): raise NotImplementedError() NotImplemented is a singleton object, introduced in 2.1 (I