I sure am behind the times …

Things go fast and sometimes unnoticed. I try to follow the news, but only now did I see this : E4X !
Follow the link, download the Ecma PDF and try the examples from IBM. Basically your Javascript will look as simple as this :


var x = 
<people>
   <person gender="male">
      <name>Ant</name>
      <hair>Shaggy</hair>
      <eyes>Blue</eyes>
      <height measure="metric">176</height>
</people>;
print(x.person[0].name);

It is a revolution in the code, for thoses who had to write var peopleElem = doc.createElement("people"); root.appendChild(peopleElem ); ... !

And there are more : Firefox has support for WebService and New Transports and Local Services that could be helpfull for Selenium too, as well as the new security model.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: