You are not logged in Log in Join
You are here: Home » Members » rossl » External method to create dtml/sql for zclass properties » dc_view

Log in
Name

Password

 
 


Dublin Core Elements

The Dublin Core metadata element set is a standard for cross-domain information resource description.
Element Description Value
Identifier resource ID http://old.zope.org/Members/rossl/ZClassExtender
Title resource name External method to create dtml/sql for zclass properties
Description resource summary This is an extremely experimental work in progress. It is recommended only for serious head-banging zope experimenters. <hr> <p>I use it to save myself some typing when I'm building zclass based apps - particularly when I want to be able to switch over to ZSQL methods after finishing the design and user testing - it generates dtml forms and methods for the ZODB and methods for ZSQL - you still need to do lots of gluing to make any of these work, but it sure gets you off to a head start! <p>This is potentially of interest for a much more sophisticated kind of zclass...but it may be some time before I get around to working on it. <p> If you want to discuss this code and concept, please <a href = "extendzclasswiki">whack the wiki here.</a><p> It is currently in the form of a relatively crude external method. To use it, you must be able to make a new external method in a zclass and then try it. (if you don't know how to do that, this is definitely not for you yet). <p> It generates some skeleton dtml and zsql methods using the variables defined on the your zclass Basic property sheet (note - could be extended to others but as is, only the one called Basic is examined).<p> <p> To install: <ul> <li>Copy it into your Extensions subdirectory as extendzclass.py <li>Open an existing zclass <li>Add a new external method <li>Type extendzclass as the id <li>Type makemethods as the function name <li>Type extendzclass as the python module file </ul> <p> View and "try" the new external method. <p> A bunch of zsql and dtml methods will appear. <p> Some of these may be useful as skeletons to which you can add your business logic. <p> Saves a bit of tedious typing and might be useful as part of a future extension of zclasses... <hr>
Creator resource creator ZopeOrgSite
Date default date 2000-07-20 10:14:47
Format resource format text/html
Type resource type Software Package
Subject resource keywords Examples
Contributors resource collaborators
Language resource language
Publisher resource publisher No publisher
Rights resource copyright


Additional Zope Elements

Element Description Value
CreationDate date resource created 2000-07-20 10:14:47
ModificationDate date resource last modified 2000-07-20 10:14:47
EffectiveDate date resource becomes effective None
ExpirationDate date resource expires None

Backlinks: via Google / Technorati