/customers/iconara.net/iconara.net/httpd.www/blog/wp-content/plugins/wp-super-cache/wp-cache-phase1.php Iconara » Ajax

Archive for the 'Ajax' Category

Wonderful closures, evil closures!

One of the things that makes JavaScript (and ActionScript, by association) a wonderful language to program in is it’s support for closures and higher order functions. It’s a powerful feature, and it can greatly simplify all the asynchronous programming that you do in web applications. It also makes it possible to do advanced but useful abstractions of things like iteration and transformations of datastructures.

However, there is a downside to this, and that is what the second half of the title refers to. It’s very easy to fall into a hidden trap: closures are a source for hidden memory leaks.

Read the rest of this entry →

Ajax vs. ActionScript

I’m currently researching Ajax for a seminar I’m going to hold for Java web application programmers. What strikes me is that there are so many sharp minds in the Ajax camp, and so few (if any) in the Flash and ActionScript ditto.

Read the rest of this entry →