You can avoid building and delivering a complete page using Ajax as  
you describe. Another delivery solution is flex. You can create an xqy  
controller that handles asynchronous requests from the various data  
driven ui components.

Frank Rubino

On Oct 8, 2009, at 10:29 AM, "McBeath, Darin W (ELS-STL)" 
<[email protected] 
 > wrote:

> One thing which I’ve noticed as I’ve written customer facing apps  
> in XQuery is the inability to stream a dynamically constructed XHTML 
>  page, RSS feed, etc. from the MarkLogic server.  In other words, th 
> e entire page/response must be built in memory before the first byte 
>  can be shipped to the client.  In some situations, this can be reso 
> lved by better page design, AJAX, etc. but this is always not practi 
> cal.  I’m not really talking about the ability to support ‘byte  
> serving’ for binary content (such as PDFs) … that is a completely  
> different scenario (which of course others might find beneficial if  
> it were addressed).   I also understand this might be attributed to  
> the XQuery specification and how things need to operate (well-formed 
> ness, etc.);  but, on the other hand proprietary extensions are freq 
> uently added by vendors.   So, I’m curious whether others have encou 
> ntered this situation and perceive it as an issue for developing cus 
> tomer facing apps in XQuery.
>
>
>
> Darin.
>
> _______________________________________________
> General mailing list
> [email protected]
> http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to