|
Just keep in mind that the "A" in AJAX stands for "asynchronous", and adding records to a file and refreshing the list on the screen doesn't require an asynchronous request / response. The general idea of AJAX is making a request to the server and processing a response, in the background, without interrupting the current activity on the screen. One of the best uses I've seen for AJAX was having the "onblur" event of a Zip Code field trigger an asynchronous request to automatically fill in City and State fields, while the user continues filling in other form data. This isn't to say that I'd be against using AJAX to post database changes and update the list, but it's not clear to me how the added complexity would improve the user interface. I just started using Yahoo's Mail BETA, which evidently is Yahoo's answer to Google's Gmail client, and I like the user interface, but when I.E. prompts me to debug JavaScript errors, a 680K Javascript file is presented in the debugger. It's interesting to see that Yahoo Mail BETA uses AJAX extensively. But I ask myself, is all this JavaScript necessary? Nathan. ----- Original Message ---- From: "Wilt, Charles" <CWilt@xxxxxxxxxxxx> To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx> Sent: Wednesday, April 5, 2006 12:51:31 PM Subject: Re: [WEB400] RPG and AJAX was->RE: How do I create a web pagethat.... Joe, Good points, however in this case I do want the server to validate the input and in fact return a few extra fields from the server. Ajax seems to be a possible solution, or perhaps JSF and Java beans. Thanks, Charles Wilt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.