Results tagged “e4x” from manAmplified

Yeah, E4X Can Do (Some Of) That

|

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.

Deciphering E4X

|
Having been using E4X on the server side and on the command line to manipulate XML documents for some months now, I went back to see if I could learn a couple things from my older code that would result in a few best practices and idioms for using E4X.

JavaScript Command Line Parsing

|

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.

NetKernel + E4X

|

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.

Rapid Services with E4X

|

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.