Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    16
  • comments
    21
  • views
    14295

AJAX web apps

Sign in to follow this  
markr

369 views

So I've been trying out these so-called "AJAX" (I hate the name) web applications.

Basically the idea is that you make a web application which uses a richer client layer and the server does a lot less than conventional apps.

Pros:
- Much better user responsiveness
- Much lower bandwidth usage (for some apps anyway)
- Forces you to adopt a "3 tiered" approach

Cons:
- Many different conflicting techniques at the moment (and likely to be for the forseeable future)
- Conventional web technologies don't "fit"
- Possible incompatibility with some web browsers, software firewalls / corporate AV systems etc

So I've been making a simple web forum, using
- HTML - a static HTML page
- javascript - various JS files which contain the client-side code
- PHP - I'm using PHP5.1.0 RC4 (not too out of date then)
- Sqlite

I've almost got it to the working state. It's certainly showing some promise. Responsiveness is very good.

As far as I'm aware, nobody else has yet made a "AJAX-based" web forum application (please let me know if you know of someone who has). That's discounting google groups, of course.

This technique could certainly be applied to turn-based web games, or possibly even slowish realtime ones.

A demo will be forthcoming as soon as it's usable.

Mark
Sign in to follow this  


3 Comments


Recommended Comments

vbulletin does use "AJAX" in its coding, for at least some parts. Check out devmaster's forum.

Share this comment


Link to comment
As much as I love new technology, I don't think AJAX is a good idea. What they're basically doing is recreating applications with tools which are not up to it. Why put up with writing an E-Mail client in javascript (!) and on top of that wasting your time by inventing the wheel again and again. What they want is to recreate the look and feel of a thick client, why not go all the way?

Because of easy deployment? No, a webstartable Java application works just as good (or even better).
Because it runs everywhere? Wrong, you still need a webbrowser which can handle it.

Heck, even using XUL would be a better idea since you'd have at least have a standard way of building somewhat native GUIs.

Share this comment


Link to comment
I as well, just started getting into AJAX, my first app, or page, or whatever you would call it was pretty much exactly the Google Suggest Box. When you type letters into the textbox, it sends a request to a server side script..the script uses asp.net to look into a database, and then get the terms that match what you are typing. I don't know any other technology that could do this. I think AJAX is a great idea, and it's rather easy too.

I'm awaiting your demo markr, i'd love to take a look ;-)

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!