Re: [Zope] znolk wizard

2009-04-04 Thread robert rottermann
Chris Withers schrieb:
 Carsten Senger wrote:
 Times are fast moving. Interesting to see such interests in something 
 ancient to start an excavation ;-)

 Znolk 0.1.9 is hidden on zope.org.

 http://www.zope.org/Members/zwork/Znolk_SQL_Wizard/default

 I think 0.2 was developed at bluedynamics and never released.

 http://svn.bluedynamics.net/svn/public/ZnolkSQLWizard/
 
 Maybe whoever wants to use it could pick it up and do a public, 
 prominent release of the latest fixed version somewhere?
 
 Chris
 
I thought this could be a nice idea and had a look at the code.
Might be that it would not be hard. However this code is so crufty that I really
would not want to touch it.
Although not ttw and with the need of some coding, you can achieve a similar
result with buildout and collective.mercury.
I used this combination to create the needed forms for a postgres db with some
140 tables.

robert
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] znolk wizard

2009-04-03 Thread Chris Withers
Carsten Senger wrote:
 Times are fast moving. Interesting to see such interests in something 
 ancient to start an excavation ;-)
 
 Znolk 0.1.9 is hidden on zope.org.
 
 http://www.zope.org/Members/zwork/Znolk_SQL_Wizard/default
 
 I think 0.2 was developed at bluedynamics and never released.
 
 http://svn.bluedynamics.net/svn/public/ZnolkSQLWizard/

Maybe whoever wants to use it could pick it up and do a public, 
prominent release of the latest fixed version somewhere?

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] znolk wizard

2009-04-02 Thread Chris Withers
ga...@schoolteachers.co.uk wrote:
 Does anybody have a recent-ish copy of Znolk wizard product or know where I
 could get hold of a copy. The original source no longer has it and the one on
 the zope.org site is very old. In particular I would like it to function with
 SQLite.

Doesn't think generate SQL methods or something similarly old and crufty?
I seem to remember this thing spitting out dtml...

Any reason you couldn't do what you want it to do as a seperate wsgi app?

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] znolk wizard

2009-04-02 Thread garry
Quoting Chris Withers ch...@simplistix.co.uk:

 ga...@schoolteachers.co.uk wrote:
 Does anybody have a recent-ish copy of Znolk wizard product or know where I
 could get hold of a copy. The original source no longer has it and 
 the one on
 the zope.org site is very old. In particular I would like it to 
 function with
 SQLite.

 Doesn't think generate SQL methods or something similarly old and crufty?

Yes it is old, but it is the only reliable thing I've found to rapidly 
generate
database edit forms and csv up/download methods.

 I seem to remember this thing spitting out dtml...

It generates dtml and ZSQLmethods reliably.


 Any reason you couldn't do what you want it to do as a seperate wsgi app?

Yes, it is not used to generate finished apps, only prototypes and initial
templates.
Like my Ducati it's old, but like my Ducati it still works, and I'm not 
going to
throw the Ducati away just because it's old.


Regards
Garry

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] znolk wizard

2009-04-02 Thread Chris Withers
ga...@schoolteachers.co.uk wrote:
 Yes it is old, but it is the only reliable thing I've found to rapidly 
 generate
 database edit forms and csv up/download methods.

You should really give Django a go for this sort of thing, from what I 
understand, it's one of its main sweetspots...

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] znolk wizard

2009-04-02 Thread robert rottermann
take collective.mercury this generates intterfaces from every table.
with such an interface yaou need only a couple of lines to build an edit form
for every table.
somethings like:

class DeclarationKLView(formbase.PageForm):
form_fields = form.Fields(ItblDeclaration_klTable)
ignoreContext = True # don't use context to get widget data

#def __init__(self, *args, **kw):
#ItemAddForm.__init__(self, *args, **kw)

@form.action(_(uSend))
def action_send(self, action, data):
Send the email to the site administrator and redirect to the
front page, showing a status message to say the message was received.

self.ToWhatIsNeededToBeDone(..)

robert
ga...@schoolteachers.co.uk schrieb:
 Quoting Chris Withers ch...@simplistix.co.uk:
 
 ga...@schoolteachers.co.uk wrote:
 Does anybody have a recent-ish copy of Znolk wizard product or know where I
 could get hold of a copy. The original source no longer has it and 
 the one on
 the zope.org site is very old. In particular I would like it to 
 function with
 SQLite.
 Doesn't think generate SQL methods or something similarly old and crufty?
 
 Yes it is old, but it is the only reliable thing I've found to rapidly 
 generate
 database edit forms and csv up/download methods.
 
 I seem to remember this thing spitting out dtml...
 
 It generates dtml and ZSQLmethods reliably.
 
 Any reason you couldn't do what you want it to do as a seperate wsgi app?
 
 Yes, it is not used to generate finished apps, only prototypes and initial
 templates.
 Like my Ducati it's old, but like my Ducati it still works, and I'm not 
 going to
 throw the Ducati away just because it's old.
 
 
 Regards
 Garry
 
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )
 
 

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )