Friday, August 24, 2007

Why is JavaScript hard to write?

In part, it is because every browser handles JavaScript just a little differently. Any web browser thatwants to support JavaScript must provide its own engine to parse JavaScript commands and performthe correct browser actions.
Firefox uses the open source JavaScript engine called SpiderMonkey,
Safari uses an engine called JavaScriptCore, and
Opera uses its own proprietary engine.
IE’s engineactually processes “JScript", Microsoft’s own brand (Iiteraly) of JavaScript created (in part) to avoidcopyright issues with JavaScript trademark holder Sun. Even though “JavaScript” is standardized byEcma, each engine does things a little differently. That means solid JavaScript or Ajax programmingmust be done in a way that accounts for these differences. Aren’t you glad you use the Telerik magicnow?

No comments: