i've done a few projects using Maverick and the Domify/XSLT pipeline now, and 
the other day i was struck by an idea:

an XSLT stylesheet consists of templates, often containing "match" parameters 
intended to react to the appearance of a particular tag (etc) in the XML that 
is being transformed.  this is, in essence, "event handling".

would it be insane to suggest that the HTTP requests be turned into XML and 
have the stylesheet actually contain the "controllers" (event handlers) in 
the scenario?  their job would be to "transform" the http request into an 
"answer" in the form of XML and eventually HTML (pipelined).  each template 
would be analogous to a controller.

any interesting stuff that had to happen in the background could easily be 
handled by using the Java extensions to XSLT, such as those pretty 
abbreviated Xalan extensions.  (ever played with those?)

i guess i'm suggesting pulling XSLT up to the front for use in the controller 
function of MVC as well as in the view process.  am i nuts?

-- 
Beautiful Code BV
Rotterdam, The Netherlands
http://www.beautifulcode.nl

_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user

Reply via email to