in reply to Re^2: Why I dislike the MVC implementations in Web
in thread Why I dislike the MVC implementations in Web

Of course you can reuse them. There is a certain amount of coordination required between the HTML and the code that parses the input. Your component model will not change that.
  • Comment on Re^3: Why I dislike the MVC implementations in Web

Replies are listed 'Best First'.
Re^4: Why I dislike the MVC implementations in Web
by ruoso (Curate) on Jun 08, 2005 at 00:20 UTC

    Actually, I didn't understand. The component model is just about creating a Class (called component here for following a bigger pattern) that puts together both the rendering and the processing of the input.

    An example of the version 1 of the Perl Oak (which doesn't use template yet, but it just could use) demonstrates that. The following component just encapsulates the render and the processing together....

    Code for Oak::Web::HTML::Input