Re: terra incognita
On Monday 17 December 2001 06:15 am, Leigh Dodds wrote: > > > The separation of content from presentation (or processing) in XML > > > seems to work okay with similar notions in relational databases, but > > > goes against much of the grain of object-oriented development. > > > > I don't know. MVC is a common pattern, and I think XML+XSL represents the > > M+V parts very well. > > I agree. I'm doing some investigation into various presentation > technologies, and have concluded that the best way to architect a web > interface is as an Model-View-Controller architecture, with the view > implemented using XSLT. It gives the strongest separation between the > developer and page builder roles. (Of course if the same people are > fulfilling both roles, then the distinction does become somewhat blurred). You might want to have a look at some (now somewhat dated) papers I wrote on this... I called the idea XSL Beans. Essentially, it takes the perspective that XSLT can be used to take a declaration/serialization of an object, and instantiate a new object from it. Looking at it that way, XML is used to instantiate a model, and XSLT is used to instantiate a new object heirarchy/graph from that (not necessarily just views). In that world, a "bean" is made up of an XML instance (the data), and one or more XSLT stylesheets that create views/applications.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format