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

Re: Feasibility of "do all application coding in the XMLlangua

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: Michael Kay <mike@s...>
  • Date: Mon, 01 Dec 2008 11:06:52 -0500

Re:  Feasibility of "do all application coding in the XMLlangua
Michael Kay wrote:
>>> I am exploring the idea of "do all application coding in 
>> the XML languages."
>>
>> Basic question: why?
> 
> Writing your application in a single language, if you can do it, will always
> give you a substantial reduction in complexity versus using multiple
> languages.

Why does this feel like a dreadful case of premature optimization coming 
on?

I mean, yes, I enjoy working in Rails, which lets Ruby hide most of the 
XML and SQL processing going on, but I also recognize that much of the 
virtue there lies in Ruby's flexibility, not its tight binding to a 
particular data format or model.

> And writing in a language that is well adapted to the data it is required to
> process will save you a lot of effort (human and machine effort) in doing
> data conversion.

A lot depends here on what kind of data you have and what kind of 
conversion you need.

If, for instance, you're swapping data around using XML, but the data 
really represents 'square' relational data, the fact that the incoming 
format is XML probably shouldn't determine your choice of language for 
processing it.  Dropping it back into tables and using SQL may indeed 
make a lot more sense.  Ditto if the data is "really" objects, or graphs.

>> But again, why would anyone sane want to do all of their 
>> application coding in specifically XML-oriented languages?
> 
> If all the inputs and outputs of the application are in XML, and if the
> processing is within the capabilities of those languages, then why would you
> want to do anything else?

Because I think this situation genuinely applies in about 5-10% of 
actual applications...

Please, certainly, promote your excellent tools for those applications - 
but let's not all get drunk on the prospect of XML data needing XML 
processing.

Thanks,
Simon St.Laurent
Now definitely an XML refugee


[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.