E4X is an extension of JavaScript that adds direct support for XML to the language. So what is direct support and why is it valuable? Get an introduction to ECMAScript for XML (E4X), a simple extension to JavaScript that makes XML scripting very simple.
When will firefox support this extension?
Firefox 1.5 already supports e4x
it’s javascript, but you have have Java (Rhino?) in order to run it?
what’s that all about?
E4X is an extension to Javascript. That extension is currently implemented by two Javascript engines, the C-based one in Firefox 1.5, and Rhino, an engine written in Java. You need Java to run Rhino because that’s what it’s written in. This does not mean that they are claiming the language Java is related to the language Javascript.
So, will this be avaliable in Firefox 1.5? Just f*cking great. It looks like ElementTree for python. If they had a tool like Stan to create XML then that would be perfect, for now you can use mochikit for it.
firefox bloat?
just like OOo 2 : even if you don’t want to hear of Java anymore, they shove it up your arse
Well, java and javascript is two very different beasts.
And I consider both beasts to be really good.
There is nothing wrong with either, however some coders seem to know less about coding efficiently than they should. Or they don’t have time to optimize the code… (probably the latter one).