Disappointingly unimpressive
I’ve spent the last day getting my head around Ajax, and in particular Ajax.NET.
You see I was writing a web application, and one form involved the user specifying a value which was stored within a database. I could have used a select (drop down list), but I could be dealing with potentially hundreds or even thousands of ‘correct’ values.
My solution?
Use Ajax to validate the value the user types without a postback, and do you know what? It works, but it works so well that it’s unimpressive.
Seems strange doesn’t it.
Such a neat piece of technology but because it works so seamlessly it can easily be taken for granted. Admittedly it’s fairly unobtrusive – it simply colours the value typed depending on its state (black = unchecked, green = valid, red = invalid) and it’s double-checked on postback, but from initial tests it makes the form much easier to use.
I’ve never really bothered with Javascript before – I figured it was too much hassle, plus there were all the cross browser issues to worry about – but now I can really see the power of Ajax, and it makes me wonder what else I can improve by using it. I can also see where it could cause problems, implementing features for features sake. Next on my list is to learn more about it (and Javascript in general) and in particular investigate the Prototype library.
About this entry
You’re currently reading “ Disappointingly unimpressive ,” an entry on schwuk.com
- Published:
- 5.20.05 / 7pm
- Category:
- Uncategorized
Comments are closed
Comments are currently closed on this entry.