RIA News Desk

Subscribe to RIA News Desk: eMailAlertsEmail Alerts
Get RIA News Desk via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Related Topics: RIA Developer's Journal, Java EE Journal, Sun Developer Journal, Java Developer Magazine


First Major Update to JavaScript Since 1999

JSON will be safer, getters and setters will be standard in ECMAScript, Fifth Edition

JSON will be safer and "getters and setters" will be standard in ECMAScript, Fifth Edition. That's what the creator of JavaScript, Brdendan Eich, has been telling a reporter this week. JavaScript, called 'The world's most underated programming language' by JSON creator Douglad Crockford, has not been updated in any significant way since 1999.

Ecma International finalized its major revision of ECMAScript by publishing a Final draft of ECMA-262 – the ECMAScript language standard.

Here it is in full:

Geneva, Switzerland, 9 April 2009

This is the final development milestone for the revised standard. The candidate specification will now undergo interoperability and web compatibility testing. It is anticipated that the candidate specification will be submitted to the Ecma General Assembly for ratification as an Ecma standard before the end of 2009.

ECMAScript, Fifth Edition

This revision of ECMA-262 will be known as ECMAScript, Fifth Edition. It was previously developed under the working name ECMAScript 3.1, which will no longer be used. ECMAScript is the scripting language that is used to create web pages with dynamic behavior. ECMAScript, which is more commonly known by the name JavaScript™, is an essential component of every web browser and the ECMAScript standard is one of the core standards that enable the existence of interoperable web applications on the World Wide Web.

The Fifth Edition codifies de facto interpretations of the language specification that have become common among browser implementations and adds support for new features that have emerged since the publication of the Third Edition. Such features include accessor properties, reflective creation and inspection of objects, program control of property attributes, additional array manipulation functions, support for the JSON object encoding format, and a strict mode that provides enhanced error checking and program security.

The last major revision of the ECMAScript standard was the Third Edition, published in 1999. After completion of the Third Edition, significant work was done to develop a Fourth Edition. Although development of a Fourth Edition was not completed, that work influenced ECMAScript, Fifth Edition and is continuing to influence the ongoing development of ECMAScript. Work on future ECMAScript editions continues as part of the previously announced ECMAScript Harmony project.

The Candidate Specification

The ECMAScript, Fifth Edition candidate specification has been developed by Ecma TC39 whose membership includes all major browser vendors. The Candidate milestone designates that the authoring process is complete. This now begins a testing and validation phase of the project where TC39 members will create and test implementations of the candidate specification to verify its correctness and the feasibility of creating interoperable implementations. The test implementations will also be used for web compatibility testing to ensure that the revised specification remains compatible with existing web applications. TC39 members Opera, Mozilla, and Microsoft have each committed to participating in this testing process. Testing is expected to be complete by mid-July 2009. It is anticipated that any technical errors and ambiguities will be resolved during this process, and that a final draft of the specification can be agreed upon in September for submission to the Ecma General Assembly for final approval in December 2009. It is anticipated that this will result in a fast-track submission to ISO/IEC JTC 1 for revision of ISO/IEC 16262.

The ECMAScript, Fifth Edition Candidate Specification is now publicly available from the Ecma International web site (direct link here). Technical experts are invited to review the candidate specification and submit feedback by July 15, 2009 to ES5-feedback@Ecma-International.org.

More Stories By RIA News Desk

Ever since Google popularized a smarter, more responsive and interactive Web experience by using AJAX (Asynchronous JavaScript + XML) for its Google Maps & Gmail applications, SYS-CON's RIA News Desk has been covering every aspect of Rich Internet Applications and those creating and deploying them. If you have breaking RIA news, please send it to RIA@sys-con.com to share your product and company news coverage with AJAXWorld readers.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.