[Zope3-Users] documentation on Field types

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Nov 12 08:12:34 EST 2005


On Friday 04 November 2005 00:07, Ross Boylan wrote:
> Where should I look for documentation on Field types?  By this, I mean
> a current, exhaustive list of allowed Field types and their arguments.

There is none.

> I suspect when I go to the API documentation and enter zope.schema I'm
> getting the values, with some translation.  But since those entries
> are in terms of interfaces and not the actual names to use (e.g.,
> IText, not Text), I'd like to know more about how they relate.

Well, all data fields defined in those interfaces are keyword arguments in the 
constructor.

> The "Programming with Zope 3" Tutorial and Richter's Developer's
> Handbook both discuss and list various options, but they have several
> limitations:
> * they aren't current
> * they aren't exhaustive
> * they aren't in the online help system.
>
> I'm looking for something that meets those requirements.

Look at zope.schema._field and zope.schema._bootstrapfields

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list