Monday, October 31, 2005

Ajax

If you have ever used Google Suggest you will appreciate why AJAX looks so promising.

The functionality do do this has actually been around a long time, since Internet Explorer 6 I believe. What it enables you to do is make HTTP requests to the server in the background using Javascript. As it uses Javascript, the request can be invoked by any event on the page.Once the request has been made, the Javascript can pick up the response as either plain text or XML.

This enables you to update only the areas of the page which require updating and doesn't require that the user reload the entire page and all its content. In my opinion, a web site implementing AJAX in their pages will not only save a lot of bandwidth, but also create sleeker
experience for their users.

I did some playing around with AJAX today, creating a simple form with a PHP back end. It is very simple and just asks questions, but you'll notice it is HTML and the page never loads. I hope that once I get the current phase of my works website done, I can have a go at using AJAX
there. Anyway, this is my little test:

http://adam.codedv.com/examples/ajax_form/ajax_form.html

The age of true event driven client server apps which run in the browser are upon us.

More than just a Blog

The idea of a Blog isn't that unique. This site alone must host millions - you have probably arrived here from VBForums, because I posted a link in my signature. Don't be fooled, this blog doesn't exist for any purpose other than to help me.

The idea here: I am programmer, buy many peoples standards, probably not a very good one. I have knowledge of over 5 languages and regularly use 4. I also spend a lot of time configuring web servers, mail servers and well just PC's. I often find myself confronted with a problem I have seen and know I have solved before, but at the time was too lazy to write down how I did it.

So I created this blog to help document a few of the problems and solutions I have come up against in my personal experience. In contradiction to my previous comment, I am probably wasting my time, because I have up until now been too lazy to write things down in the past.

Should this blog be of any use to you, that is great, if not, and you need help solving a problem, please don't post here, post on VBForums - there are people there so much more knowlegable than me.