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.'"

4 of 231 comments (clear)

  1. Re:HTTP, time to update? by suggsjc · · Score: 3, Interesting

    I can see both sides of the argument, but do you really want a two-way connection through your browser?

    --
    When I have a kid, I want to put him in one of those strollers for twins and then run around the mall looking frantic.
  2. Speaking of AJAX... by Chabil+Ha' · · Score: 5, Interesting

    Why doesn't Slashdot implement it? This would be especially nice for expanding/collapsing in the discussions.

    --
    We're all hypocrites. We all have hidden parts, it's the contrast between them that make us more a hypocrite than others
  3. Re:So How Do You Code an AJAX Web Page? by CastrTroy · · Score: 3, Interesting

    Light Tools? What are you talking about. My current copy of Visual Studio is eating up 290 Megs for RAM. I will go with you on your opinion though. VS.Net is a great tool, and probably one of the best editors I've ever seen. The bad part is that it's hidden behind the drag and drop interface that it presents. MS tools get you to focus on the GUI, and don't make you get underneath to understand what's going on. This leads to a lot of programmers who can get their way around VS easily enough, and even write some good programs, but as soon as they need to do something that visual studio didn't expect, they have a really hard time.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  4. Ajax + Risk = Grand Strategy by bryanbrunton · · Score: 3, Interesting

    I recently published my first Ajax application. It is an online game called Grand Strategy, a close of the well known board game Risk.

    It is by far the most advanced Ajax based implementation of a board game to have ever been written!

    I used Direct Web Remoting (DWR) and the Dojo Toolkit. My javascript talks to my server side java beans directly. It's really the easiest web programming model I have ever seen. I hurts to go back to doing ASPX and PHP pages after this.

    Check it out here:

    http://denizengames.com/grandstrategy/