Chapter 6

More Advanced Ajax Frameworks

IN THIS CHAPTER

  • Using the Majax framework
  • Using the Sack framework
  • Using the XHConn framework
  • Using the uniAjax framework
  • Using the AjaxGear framework
  • Using the AjaxRequest framework
  • Using the Http framework
  • Using the Interactive Website Framework

Many client-side Ajax frameworks are available free for the downloading, and this chapter takes a look at some of the most popular. The frameworks reviewed in this chapter are all JavaScript libraries. You use them by adding them to your Web page with a <script> element. When you've done so, you can call the functions in those libraries, which means you don't have to write any Ajax code for yourself.

JavaScript Ajax frameworks run the full spectrum from thin Ajax clients to complete online application “solutions” complete with rich client controls, such as database grids, ready for you to work with. These frameworks offer a varying degree of effort to install and use; you can read about them in this chapter, and you can judge for yourself.

Let's get started with an easy client-side Ajax framework: Majax.

Using the Majax Framework

What does Majax stand for? It stands for “Minimalistic Ajax,” and this package comes pretty close to implementing just that — an easy way of using Ajax. There are two primary Ajax-enabled functions here: majax_get, which uses the GET method to download Ajax content, and majax_post, which uses the POST method.

You can get Majax for free at http://sourceforge.net/projects/unips/ ...

Get Ajax Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.