Presentation made by individuals from http://www.ajaxian.com. At ajaxian.com, they were able to create an Ajax form that you submit to display comments. However, new comments from other users will automatically refresh without forcing a browser refresh.
Ajax is really just DHTML rebranded. Some innovators of Ajax are Google Maps, housingmaps.com (doesn't use a backend server), Google suggest, tadalist.com as a few examples.
A number of JavaScript Frameworks exist to write Ajax (a sampling):
- Prototype
- Dojo (popular and trying to become the standard)
- Scriptaculo.us (not sure on spelling)
- DWR
- GWT
- jQuery
- Rico
- Yahoo! UI
- ExtJs
A mentioning of Dojo databindings sounded interesting. This allows a UI component to be bound to a backend data source, such as XML, a web service, CSV file, etc. Some discussions revolved around using Ajax for offline content by utilizing the Dojo off-line toolkit. However, this isn't ready for prime time, yet.
A mention of using canvases in html to create fancy browsers graphics (example, Yahoo Pipes) was presented. Canvas is available in Firefox, Opera, Safari browsers, and Google created a compatibility library for IE. Although this may be cool, it seems like too much work for an enterprise.
It will be interesting how many of these features discussed will end-up in the HTML 5 specification, which is in recommendation/draft state, I think.
In terms of a practical enterprise use of Ajax, one example of Ajax demonstrated entering an email address during a registration. After the email address was entered in the form, an Ajax call validated the address while other fields were completed. This type of validation could be used during a registration process to check unique user id's or email addresses.
Some other demo that played sound looked interesting. Don't know how they did it as I missed the library. Maybe it's in the samples?ß
Source code for this class is available at http://www.ajaxian.com/j107 The samples were run in IntelliJ and Tomcat.
Subscribe to:
Post Comments (Atom)
2 comments:
The Ajaxian guys put on a good presentation. The presentation they did when I was at JavaOne was one of my favorites.
I made a comment about using AJAX to check a user id or email address. However, this is probably not a good idea. After further thinking, this could definetly expose a security issue as you are really exposing a service to check existing user id's/email addresses. It's easy to get caught-up in the "cool" stuff, but security must be factored.
Post a Comment