On Sunday 18 March 2007 4:40 am, Erik Beeson wrote: > Perhaps fun as an exercise, but it looks like a lot of overhead for > relatively little gain. Also, it doesn't really fit my idea of MVC. In > this, the Controller is pushing information from the Model into the View. > To me, the View is supposed to pull information from the Model, and the > Model is mapped to the View by way of the Controller, which also handles > interactions and responds to events. > > It looks like a creative pairing of buzzwords to me :) But it's a clever > exercise. > > --Erik
Oh bless you, someone who gets it. :-) Yes, most web apps that claim to be MVC are actually PAC (Presentation-Abstraction-Control). In MVC, the Controller is used only for updates and the View has direct read access to the Model. In PAC, the Controller does everything and simply pushes it through the Presentation layer, using it as just an output channel and theming layer. There's nothing wrong with PAC, especially on the web, but people really need to stop confusing the two. :-) I blame Sun for calling anything with JSP "MVC" just to sound cool. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
