Playing with Ajax

Tuesday Sep 13 2005

I started playing around with for a change. A friend of mine told me about prototype.js, a pretty cool Javascript library for dead easy cross-browser Ajax development. I gave it a swirl last night and came up with the following calculator demo. It works like a normal calculator. Calculations are done server side with a small PHP script. It took less than an hour do both understand and produce a working example with it. Pretty nifty! UPDATED...

Dark Matter Pro: a premium photoblog template.

Affiliate program available

The result of my experiments so far look like this:
0

Update (again)

I have implemented an Ajax 'instant preview' in the comment form. If you've finished your comment you can check what it looks like before submitting it. I guess it's official now: prototype.js kicks ass!

As soon as I've done some more with this library I'll write some more articles explaining how it works. Very exciting, very easy and very . In case your hands are itching to give it a try as well, read this developer notes page and you'll be Ajax-ing away in a jiffy!

bookmarking

Commentary

Join the discussion! Leave a comment through the comment form below!

Got something to add to this?

Feel free to leave a comment on this site. You can use Textile and Emoticons. Your email address is only used to show a gravatar. Please stay on-topic and use common decency. Spammers will be shot in front of a live studio audience.

If you plan on posting code, use pastebin please and post a URL to the code. The comment processing doesn't deal very well with code. Sorry for the inconvenience.

Human comment spammers: don't bother posting your crap here. Comments are moderated and I won't let any of your shit through.

Remember personal info?
Yes
No

Trackbacks

If you have an interesting related post on your own site you can leave a trackback. As they say: 'a little AJAX a day keeps the spammers away' which is why you'll have to click below to generate a trackback key. The key will be valid for 15 minutes and can be used only once.

 

  • Featured Links
RockySomewhere near the Orion NebulaBookalicio.usGolden Gate BridgeThames River BankJackie and mePimpin' it