[EMAIL PROTECTED] wrote:
> That can be done easily in TurboGears too. Though there is a few things
> I don't like about subway, just seeing this blog, that is nothing but
> style and preference though.
> 
> I don't like tying logic into presentation. The choice of Cheetah and
> this form mechanism makes me feel that. This approach makes initial
> development very quick but refactoring and enhancement a nightmare,
> IMO.

FYI, the attributes that Subway is using (form:validate, etc) are parsed
out into a FormEncode schema (using formencode.htmlfill_schemabuilder).
 The schemas you can represent inline in the form like this aren't
nearly as general or flexible as schemas written in Python code, but
they aren't too bad.  Anyway, the result is that there is a pretty clear
path from these schemas to something more formalized and separated from
presentation.

-- 
Ian Bicking  |  [EMAIL PROTECTED]  |  http://blog.ianbicking.org

Reply via email to