I definitely do take code contributions and I'm interested in seeing different ideas on doing CRUD.
I'm not personally keen on from_database, but I don't know what the general consensus is on that one. Are you using code generation or is it more like library routines to create the forns? Kevin On 10/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > My demo app can basically do simple CRUD with the following steps : > > 1. create a new table(I use from_database = True, so this must be > created outside python) > > 2. create a new template(don't even need to name the input fields, just > the page title and other page specific things etc.) > > 3. create the necessary @exposed class to handle the 4 actions > > Of course, the form is plain and dull(with a list of text fields from > top to bottom and the label being the field name). But for simple CRUD, > it should work and I use a formencode Schema to validate the returned > fields in kwargs. > > So everything is basically declarative, mainly the SQLObject and the > Schema. If you take code contribution, I can send you a tarball but I > have re-arrange the structure a bit as I don't want the project name > appears in my codes(the wiki20.templates.whatever thing I have > mentioned before). This also mean your admin tools won't work. But it > is otherwise just a drop in and run self contained tarball(the creation > of SQL table is the old fashion .sql script).

