Of course, the decoupling would require an entire re-write of how
validation/forms/filters are written...

See you explain this system that each part relies on another part
working a certain way... when I analyze this through my
programming filter to solve this problem this is what I see...

A class for filtering (parsing html values into python values)
A class for validation (validating already parsed data), this could be
used anywhere within web2py, even import_from_csv_file!
A class for data structure (just the data of a form, like a rows
object, and the types of data)
A class for representation (this will take a data structure, and parse
it into a representable format... like a form, or a table)

Each of these classes could use the others, but they don't rely on the
others.... you could use the filtering without validating the data...
or create a form that can validate, but doesn't represent itself.

-Thadeus





On Tue, Jan 5, 2010 at 7:18 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:
> way, I do think the current system can be improved and made more
> general. I do not see how this decoup

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to