Index: ossp-pkg/tabea/tabea-brainstorming RCS File: /v/ossp/cvs/ossp-pkg/tabea/tabea-brainstorming,v rcsdiff -q -kk '-r1.6' '-r1.7' -u '/v/ossp/cvs/ossp-pkg/tabea/tabea-brainstorming,v' 2>/dev/null --- tabea-brainstorming 2002/07/04 06:40:45 1.6 +++ tabea-brainstorming 2002/07/04 06:54:48 1.7 @@ -376,6 +376,19 @@ $rc = $handle->destroy(); + Issues: + - [rse] $type should be not on constructor, but on render() IMHO + - [rse] $prefix should be not on constructor, but on render() IMHO + - [rse] if thinking about programming a CGI, it is not clear to me + how one has to process the POST data and inject it again + into the $handle object for re-rendering. I would expect + the reverse of render() for loading in the POST results. + I recommend: $rc = $handle->parse($type, $post_data); + $rc = $handle->render($type, $html_data); + This way we get - load/save for internal/backend I/O + - parse/render for input-device-specific I/O + - import/export for output-device-specific I/O + Example: Generic RAID configuration -----------------------------------