Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Feasibility of "do all application coding in the XML

From: Oliver Hallam <oliver@-------.--->
To: xml-dev@-----.---.---
Date: 12/1/2008 6:31:00 PM
> Game programming and GUI programming are a different question because your
> choice of language is heavily dictated by the data you are working with. XML
> languages are good at manipulating XML, they are not so good at manipulating
> images. 
>   
It is not impossible to do some heavy image processing in XQuery/XSLT as 
is evidenced by our XQuery raytracer at 
http://www.xqsharp.com/xqsharp/samples/raytracer/index.htm . Admittedly 
XQuery is not the best choice of language for this task, but the 
implementation is suprisingly readable.

A lot of the pain comes from the attempting to interface with non-XML 
endpoints.  If the endpoints of your application are XML then this pain 
is removed.  XQuery/XSLT is a very good option for producing graphs in 
SVG format for example.

In order to make the ray-tracer more efficient (and less of a toy), it 
would be required to use data structures like octrees.  Currently can 
only be done (in pure XQuery) by generating XML on the fly which (with 
today's processors) is not going to be anywhere near as efficient as 
data structures written in other (functional or imperative) languages.  
Since this sort of processing is not the target domain of XQuery it is 
not going to be a high priority for implementors.  The declarative 
nature of XQuery / XSLT means that an XQuery describes what information 
is required, not how to calculate it, but it leaves performance very 
much in the hands of the optimizer.

XQuery/XSLT are easily capable of performing most of the tasks required 
by today's data-driven web applications, and the declarative nature of 
the language means that you mostly only need to spend time describing 
what data you want, not how it should be computed.

Oliver Hallam
http://www.xqsharp.com

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent