Some interesting comments on E4X. I agree with some of the points, at least the ones I understand. And of the ones I do understand, some can be implemented this way.
Results tagged “e4x” from manAmplified
Since I seem to deal with a lot more XML documents than I would like, using JavaScript + E4X as a command line scripting language is a godsend. Below is an example on how to build a quick and dirty command line arguments parser.
I've put together a simple NetKernel module that tends to greatly simplify service and application development. mod-e4x provides helper functions allowing for rapid construction of services using the ECMAScript for XML syntax provided in the Rhino JavaScript interpreter. With mod-e4x, JavaScript becomes a viable alternative to the NetKernel DPML language.
If you are observant, you might have noticed that the latest ECMA Script for XML (aka JavaScript) specification defines, and the latest Rhino release includes, support for literal XML manipulation. If you are inquisitive, you would have discovered that the latest NetKernel release supports E4X on the server-side.