Max Kiesler - Responsive Designer

Encapsulating Ajax XMLHTTPRequest Calls within JavaScript classes


Posted on 2nd February, by max in Code. Comments Off

This post describes a simple technique for encapsulating XMLHTTPRequest calls within JavaScript classes. In general, this makes code more maintainable, allows for the creation of easier to use APIs, and makes it much easier to create components / widgets that load data from the server.

Website: http://weblogs.macromedia.com/mesh/archives/2006/01/encapsulating_a.cfm





Comments are closed.