Topics
Dates
200902 · 05 · 06
2008
01 · 02 · 03 · 04 · 07 · 08 · 09 · 11
2007
06 · 07 · 08 · 09 · 10 · 11 · 12
Also check out FishoftheBay.com for more thoughts about design and life.
Javascript
Viewing 4 Posts
An AJAX Restaurant
I was putting together a little presentation talking about what AJAX is and why it's useful and I was trying to think of some kind of real-world analogy to explain the benefits. I came up with the interactions you have at a restaurant between the customer and the chef.
Press Enter to Submit
This is just a quick entry to mention that forms should always be allowed to be submitted using the Enter key. Sometimes when you want the form to do something special (i.e. some special Javascript/AJAX function), users will have to click the button because using Enter will still submit the form. The way around this is to write: <form onSubmit="return false;"> ... <input type="submit" value="Submit" onclick="doSomething(); return false;">
Improving User Experience Through Client-Side Scripting
I feel pretty comfortable with AJAX and Javascript nowadays, which is great because I just started playing around intensely with these two languages in late April. Being that I'm interested in user-interface design and how people interact with technology, I'm almost sorry that I wasn't as familiar with these ideas earlier. But then again, not knowing it at first has made me appreciate it all the more. As far as user experience is concerned, AJAX and Javascript really improve it.
AJAX solutions
For a neat collection of AJAX articles, visit Smashing Magazine. So yeah, I've gotten really comfortable with using Javascript and AJAX everywhere. It really makes things both easier and cooler, mostly because all updates are in real time, and there's no need to refresh the page.