Microsoft AJAX Library Cheat Sheets: Adjusted for RTM, DomEvent and DomElement Added

Posted on January 24, 2007  |  

Posted in Development

10 comments

Now that the Microsoft AJAX Library has shipped, I’ve updated the cheat sheets and added two more.

Debugging

Tracing now lives in its own class, Sys.Debug, and is the same as in RC1 (see my earlier post). I think renaming debug was a good move. Opera’s wimpy error console is now supported, too.

Minor RTM Adjustments

Since I couldn’t find a what-changed-since-RTM document, I ran RC1 and RTM code through Beyond Compare (which rocks!) and fished for changes.

Date and Number classes had their parse methods renamed to parseLocale and parseInvariant, even though their counterparts are named format and formatLocale. Strange.

Two new cheat sheets: DomElement and DomEvent

These two took as much time as the other four. The reason is that DomElement is an essential, often-used class, and has several gotchas. DomEvent has a lot of nuances of its own. MS AJAX documentation is too broad at times, so I tried to clarify as much, yet stay as concise as possible to keep the one-pager format.

I’ll try to highlight those nuances in a post or two.

Download

Grab the new batch in PDF (360K) or XPS (3.9M). Yes, Foxit Reader–compliant.

Being a stickler for accuracy, I’ve been proof-reading them till I was blue in the face, but… If you see something, say something.

Enjoy!

10 comments

Eddy Young
on January 25, 2007

Hello,

Thanks for making these cheat sheets available.

I have read about XPS only summarily. Looking at the two links above, I wonder why the XPS version weighs so much more than the PDF version? Is it because all the graphics assets required by the document are included in the XPS file?

Eddy


Julian Birch
on January 25, 2007

I'm afraid the String.Format example doesn't compile. There's a stray close bracket. "user.DOB));" should read "user.DOB);".

Needless to say, I appreciate the phenomenal effort involved in developing these, and they're fabulously useful. Thanks.


Millan Negovan
on January 25, 2007

Eddy, I'm not sure why they are so huge. And the quality is still not as good as that of PDFs. But, as with all things new, we'll give MS folks time to iron out the kinks.


Elijah Manor
on January 30, 2007

What a handy resource! Thanks for putting those together. Keep up the great work.


Okan Safi
on January 31, 2007

Hello Milan,

Thank you so much for providing these great ASP.NET AJAX PDF Cheat Sheets. This is indeed an outstanding effort.

Regards,

Okan Safi


soufyen
on April 16, 2007

thank you..................


Seth
on August 29, 2007

Thanks!

Any cheat sheets coming for the ASP.NET AJAX Toolkit?


Milan Negovan
on August 30, 2007

Seth, no plans yet, but I do plan on writing a post or two about the "common" JavaScript library (common.js) they use there.


Faisal
on January 21, 2008

Thanks very much for this cheat sheet.


sun
on January 21, 2008

thank yo for everything