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

Re: the challenges of 'extensible'

  • From: "Simon St.Laurent" <simonstl@simonstl.com>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Fri, 11 Apr 2014 09:16:11 -0400

Re:  the challenges of 'extensible'
On 04/11/2014 08:37 AM, Rushforth, Peter wrote:
  Isn't the DOM the backbone of interoperability in browsers, isn't it the thing that allows
(many) frameworks to exist?
Yes. My first (1997) book, winner of the coveted Amazon 1-star award, was on its emergence. It's done everything I hoped and then some.

If Web Components works, won't it be because of the DOM?  The DOM being what
can be produced by virtue of the browser understanding the document type,
Yes and no.

Web Components is built on the DOM, though in some ways it's fragmenting the DOM. We now have Shadow DOM, light DOM, and a lot of frameworks (most notably React.js) that are creating their own lighter-weight object models to avoid the overhead of the DOM. Famo.us, as noted at the end of my piece, is basically trying to dodge the DOM to the extent possible while building its apps.

(Also, at this point I think most search engines are still treating HTML as annotated text, though I hear rumors of DOM-building.)

The questions are getting harder because the DOM is carrying pretty much everything. The HTML document structure, the CSS annotations, JavaScript event handlers, and hooks to many other invisible parts inside of the browser. Exposing those invisible parts likely means extending the DOM.

Manipulating the DOM and further extending what it can carry is getting more challenging as that load increases. Spend some time in the debugger of a browser working with a complex web app, and you'll get a sense of it.

The DOM has other fundamental problems. Some of those were visible early, and are among the reasons XML folks quickly developed alternatives. Others have only emerged as things like multiprocessing and ever-growing expectations for animation rendering speed push the boundaries of classic models for doing things.

per
REST / media types.  In fact, isn't the DOM the original "REST API"?
There's nothing obligating a browser (or other tool) to use a DOM to process a media type, and I don't think it ties directly to REST. I've certainly seen RESTful projects using SAX and similar APIs, XSLT, or XQuery.

Thanks,
Simon


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