ajax lessons
I ran across this post recently. I especially like the tip of returning data via AJAX as JavaScript expressions (that can be passed to eval()) rather than as XML strings that must be parsed. That makes a great deal of sense when you think about it.
- You don't need to spend browser cycles parsing textual data.
- Data will end up being parsed using JavaScript anyway... might as well nest the data in a JavaScript data structure initially.
- JavaScript eval() is fast!
If you're messing around with AJAX, I would highly recommend taking a closer look at this post (and the articles linked from this post) before you go too far down the path.
1 Comments:
Shep ... Your Sun server-naming skills were years ahead of their time!
http://news.com.com/Galaxy+remakes+Suns+server+strategy/2100-1010_3-5857550.html?tag=nefd.lede
Post a Comment
<< Home