Sorry, I guess this went to the wrong group - my bad, but thanks for replying.
On Tue, Apr 15, 2008 at 2:28 PM, thebigdog <[EMAIL PROTECTED]> wrote: > Nathan Lane wrote: > > > Would you prefer to write puts statements in controllers or at the view > > level? How much HTML should be written using puts, i.e. puts "<div > > class='whatever'>...", and how much should be created by an XML > > generator > > like Rexml? > > > > views are where that type of data should be placed at. controllers are > used to hand the process of control between objects and work flow. your > model is where you would store the object data or page data. > > If you are talking strictly in the xml sense then the model would be > compariable to xml and the view would be your xsl(t) [+ css]. Your > controller helps with the work flow to bring the model and view together. > > > -- > thebigdog > -- Nathan Lane Home, http://www.nathandelane.com Blog, http://nathandelane.blogspot.com _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
