[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Interactive XSLT [was RE: James Clark: XML versus theWeb]

  • From: Michael Kay <mike@saxonica.com>
  • To: xml-dev@lists.xml.org
  • Date: Thu, 02 Dec 2010 09:37:13 +0000

Re:  Interactive XSLT [was RE: James Clark: XML versus theWeb]
On 02/12/2010 04:53, Peter Hunsberger wrote:
> On Wed, Dec 1, 2010 at 6:19 PM, Michael Kay<mike@saxonica.com>  wrote:
>> What I'm trying to imagine is some kind of way of associating XSLT
>> templates with user interface events so the dialog structure is
>> user-controlled. Of course this raises question about how state is
>> maintained; I don't have any well-formulated thoughts on this.
> This is why I mentioned continuations... Basically, you use a model
> where a call path from the server to the client browser returns back
> to the same spot in the template after the client does a submit. State
> is maintained on the server in a call tree.

Reminds me that in ICL in the 1980s we had a 4GL called 
ApplicationMaster in which the application was written conversationally 
- that is, it called read() when it wanted user input - but was compiled 
to an event-driven inversion so it could run in a transaction processing 
monitor where the actual run-time code checkpointed session state 
automatically when waiting for input, to be restored when the user got 
around to responding. Like continuations, except that the programmer 
doesn't have to know about it. I think that's a great way to implement 
an application that wants to control the dialog structure (and I know 
there's something a bit similar in Cocoon).  I'm not quite sure how well 
it translates to an event-driven dialog structure that's under the 
control of the user. But certainly, the advantage of a language like 
XSLT is that such compilation tricks really should be possible, because 
the state isn't too complicated. Indeed, it ought to be possible to 
compile a single stylesheet into a server-side component and a 
client-side component so the application developer doesn't have to worry 
about the low-level AJAX protocols.

Michael Kay
Saxonica


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.