First AJAX script

Well, I finally got around to giving Ajax (Asynchronous JavaScript and XML) a whirl. I wasn’t trying to do anything spectacular, just something functional to wet my appetite. I started out just wanting to allow people to send me text messages via the side bar. I got it all set up using PHP in about 2 minutes, and I thought… “It works, but I hate reloading the page for something so simple.” And then Ajax popped in my head and thought it would be a great first script.

So off I went to grab the latest version of SAJAX (Simple Ajax), and boy were they right about the “simple” part. Within about 30 minutes, I had a functional script that you can now find on the side bar. Before you try it out, please use the demo page, as I don’t need everyone sending me text messages just to see how it works.

Next step, getting my responses to show up. =)

Edit: At first that last comment was a joke, but two hours later…, that was shockingly easy. I’d like to get it integrated into the side bar, but out of time tonight. I’ll post the code when I have a bit more time to work on it. So feel free to send a message or two, as I can respond rather easily. If you get annoying, I can turn it off via my cell phone too. ;-)

This entry was posted in Web Development and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">