Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Why I dislike the MVC implementations in Web

by perrin (Chancellor)
on Jun 07, 2005 at 23:27 UTC ( [id://464493]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://464493]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-25 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found