[OSM-dev] "Deep History" App

Tom Hughes tom at compton.nu
Wed Sep 16 13:19:30 BST 2009


On 16/09/09 12:51, Richard Fairhurst wrote:

> I've never understood, though I'm an utter n00b at all of this, why there's
> so much XML-specific code in our controllers. Shouldn't the controller send
> the data out to the view, and the view render it as XML (or AMF, or JSON, or
> the HTML data browser)? But doubtless you fancy 21st century programming
> guys are laughing at my naivety here. :)

Ideally that is how it would work, but the current XML rendering code is 
much faster than having a view do it.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list