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

DOM's javascript roots (was Re: Have JDOM / XOM / etc. failed?

  • To: xml-dev@l...
  • Subject: DOM's javascript roots (was Re: Have JDOM / XOM / etc. failed?)
  • From: Tatu Saloranta <cowtowncoder@y...>
  • Date: Fri, 31 Mar 2006 10:15:15 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4FrsRgyUtZMWd5zGwzoOymZCoRXLRO67eNsoG7lIHxp14yMZz2ginkQ1vBsPULv/EL3kw5LG/Q8BthHNlMN++r6+j/JOQp9l8ZfXn5e4Q6l+OfGKgIfBGgf5Tb+qdXZKFyD8Mre+CzY9l/GXgEHbwt5L9iBWG0RbFXzz/CuAySo= ;
  • In-reply-to: <804E31FE-9CB0-49FA-9590-C674172A84A5@h...>

javascript jdom
--- Chris Burdess <d09@h...> wrote:

> Henri Sivonen wrote:
> > ... However, DOM was poison I already knew from
> JavaScript.

This used to be one of main selling points for DOM
(raison d'etre, even) -- no matter the language, you
know the API. I thought it was an urban legend (portal
theory for coders), but I guess it isn't. ;-)

> I think it's worth pointing out at this stage that
> JavaScript  
> programmers don't appear to seek or design
> alternatives to DOM at all.

Part of the reason of which probably is that, since
DOM  was created FOR Javascript (standardized what
Netscape had built for its needs), essentially, it's
not quite as painful with it than it is with
statically typed languages like Java or C#.
Also, JS programmers are at the mercy of browser
platform, so they can't really switch very easily,
compared to other platforms (yes, there is at least
one xml-parser-in-js, and no, it's not very viable to
write complex parsers like conformat xml-parser in
language like js).

So all in all it's not much of a surprise that they
won't be looking for other XML processing APIs (but
will try to use simpler approaches, if anything,
simple key/value pairs, or JSON).

Most Java alternatives (with the exception of XOM)
were created to make better use of natural bindings
the language has, and same probably holds true for
other language-specific alternatives.

-+ Tatu +-


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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.