Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: "Simon St.Laurent" <simonstl@--------.--->
To: Michael Kay <mike@--------.--->
Date: 12/1/2008 4:07:00 PM
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

_______________________________________________________________________

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