« February 2006 | Main | April 2006 »

March 20, 2006

Microsoft Atlas and Mozilla Compat

Microsoft's DHTML (ne AJAX) toolkit, Atlas, uses a interesting way to gain Mozilla compatability.

The main Atlas files are all written for IE, with all the non-standard stuff like attachEvent. But before it is included, they include a compat layer, which adds all the IE-isms to Mozilla. Safari gets the same treatment - I believe Opera is already a total IE API whore these days.

They use all the advanced JS features like the __defineGetter__/__proto__ magic we have to achieve this.

Cause writing to standards is, like, so 2005.

Posted by doron at 6:40 PM | Comments (8)