Slashdot Mirror


So How Do You Code an AJAX Web Page?

PetManimal writes "Computerworld has a long excerpt from a book by Edmond Woychowsky about how to code Web pages in AJAX. It gives a good explanation of how the technology works, and also has some visuals and code snippets that you can play with. From the article: 'Beyond the XMLHTTP Request object, which has been around for several years as a solution looking for a problem, there is nothing weird needed. Basically, it is how the individual pieces are put together. When they're put together in one way, it is nothing more than a pile of parts; however, when put together in another way, the monster essentially rises from its slab.'"

6 of 231 comments (clear)

  1. So How Do You Code an AJAX Web Page? by Anonymous Coward · · Score: 5, Informative

    1. Open Visual Studio
    2. Download and install the ATLAS framework
    3. Wrap your webpage in an update panel
    4. Add a script manager
    5. Lather, rinse, and repeat

    Seriously...one drag-and-drop and you'll never see another page refresh.

    1. Re:So How Do You Code an AJAX Web Page? by naoursla · · Score: 4, Informative

      I would never describe myself as a graphic artist so I will neither agree nor disagree with you.

      However, for the web impaired here is a direct link for the web developer version only (which you can get to by clicking the big download picture on the right hand side of each product specific page and then clicking "Download" in step 2).

      And as long as I am providing overly simple instructions to trolls, I guess I'll point out that ATLAS does not come installed with Visual Studio. You have to download it from atlas.asp.net (hint: there is a big download icon at the top of the screen).

      And if you would like a demo of how easy it is to create ajax applications with atlas, there is current a video on the front page of someone creating a database backed todo-list application in 18 minutes (the express version of Visual Studio comes with a lightweight database and web server for development. I think you can probably repeat this demo with the free tools).

  2. Printer Friendly by neonprimetime · · Score: 4, Informative

    Instead of wading thru 7+ pages of clicking and ads ... Printer Friendly version. You can thank me later.

  3. There are much better intros to Ajax by njdj · · Score: 5, Informative

    The article is very verbose. It has some value, I suppose - it helped me to decide I didn't want to buy the book. There are more concise introductions to Ajax here and here

    There is also an interesting library of Javascript/ECMAscript functions to perform common Ajax chores here

  4. Use Echo2 by Mock · · Score: 4, Informative

    1. Download Echo2 http://nextapp.com/platform/echo2/echo/
    2. Write AJAX applications like you would a Swing app, never touching HTML or Javascript.
    3. Go outside and play.

    'nuff said.

  5. Re:Speaking of AJAX... by spencer1 · · Score: 5, Informative

    Slashdot is currently testing just that among a small group over users. http://slashdot.org/faq/com-mod.shtml#cm120