File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Ajax are you using it? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Ajax are you using it?" Watch "Ajax are you using it?" New topic
Author

Ajax are you using it?

Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Well I thought I would start some topics. I am about to start a full time job implementing Ajax into the user interface to improve the user's experience. I also have done some freelance work for companies giving them the basic tools to perform Ajax tasks to eliminate post backs. I was wondering if anyone has implemented Ajax into their applications yet.

Eric
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

I wrote a sort of simple "virtual terminal" that lets the user talk to a remote command-line program from their browser. It's used here for a demo on the Jess web site:

http://herzberg.ca.sandia.gov/jessdemo/

I used to have an applet to do the same thing. More bandwidth, took much longer to start, didn't work for everyone. This is much nicer.


[Jess in Action][AskingGoodQuestions]
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18538
    
  40

One of my colleagues here wrote a "simulation" of another program using Ajax. Had to modify it to integrate with it. And to add some features to it. However, I never really learned enough to understand what I was doing though.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Kristin Stromberg
Ranch Hand

Joined: May 17, 2005
Posts: 91
Yes! My co-workers and I are now Ajax addicts. For example, I'm currently working on an app where the user has to enter a bunch of different records one at a time in a pop-up window. Saving the new record updates the list of records in the main window instantly, without having to refresh the whole screen. I don't think the user even realizes what is going on (and that's a good thing!).

One of my co-workers is using it to save changes to multiple records from a single page. All of us are re-thinking our current apps to see where we can apply Ajax to improve the user experience. One thing I have planned is a search feature that displays the number of records found as the user selects various search options. Hopefully, this will help avoid all those "0 records found" searches!
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

Not currently using Ajax. After reading your (Eric/Dave/Darren) book, I got a better feel for what it can do. We did recently get off NS 4.7 though


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Originally posted by Kristin Stromberg:
One thing I have planned is a search feature that displays the number of records found as the user selects various search options. Hopefully, this will help avoid all those "0 records found" searches!


That is a really cool idea, that never popped into my head!

Eric
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
wow!! I cant wait. In my next project I will use ajax.


Originally posted by Kristin Stromberg:
Yes! My co-workers and I are now Ajax addicts. For example, I'm currently working on an app where the user has to enter a bunch of different records one at a time in a pop-up window. Saving the new record updates the list of records in the main window instantly, without having to refresh the whole screen. I don't think the user even realizes what is going on (and that's a good thing!).

One of my co-workers is using it to save changes to multiple records from a single page. All of us are re-thinking our current apps to see where we can apply Ajax to improve the user experience. One thing I have planned is a search feature that displays the number of records found as the user selects various search options. Hopefully, this will help avoid all those "0 records found" searches!
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Originally posted by Jeanne Boyarsky:
Not currently using Ajax. After reading your (Eric/Dave/Darren) book, I got a better feel for what it can do. We did recently get off NS 4.7 though


For anything that has to support NN4.X, I would leave that company! We are talking about a browser that is how old? I do not think many of those computers are still running! LOL

Eric
Lane Liles
Greenhorn

Joined: Sep 17, 2005
Posts: 5
We've created prototypes and now have plans to implement a few AJAX features. We're a relatively small shop and don't have the resources to implement all the features we would like, but the benefits gained from two areas in particular really sold us on how AJAX can improve the user interface and experience.

We prompt for a mutli-part item code using a series of <select>'s, one for each part. The catch is that the value of each part of the code is dependant on the previous parts (i.e. part #4 of the code is dependant on the value of parts #1, #2, & #3), and each part can sometimes have up to 1000 possible values. This means that once a choice was made for part #1, a round trip was required to refresh the possible values in the remaining <select>'s, so choosing a 7 part code requires 6 refreshes. Using AJAX though, we can now update those <select>'s almost instantly (with no page refresh), which was a big, big hit with our customers.

The other area we saw a big benefit was in searching using a Google Suggest type feature where we do an auto-complete or suggestion based on the partial string entered in a textbox. Basically it helps the user in knowing what they're going to get before they even hit the "real" search button.

While we would love to go all the way and create an application that never requires a full page refresh (we can dream can't we?), we're focusing on what gives us the biggest bang for our buck.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Originally posted by Lane Liles:
While we would love to go all the way and create an application that never requires a full page refresh (we can dream can't we?), we're focusing on what gives us the biggest bang for our buck.


To me that is what Ajax is about. It is not the full blown application, but the little things we can do that change the user's experience.

Eric
Kevin Cornwell
Ranch Hand

Joined: Feb 01, 2005
Posts: 34
I made a inventory tracking web app that uses AJAX. It's fast and works better than it's VB6 predecessor. And simpler too.


<a href="http://www.kevincornwell.com" target="_blank" rel="nofollow">http://www.kevincornwell.com</A>
Stephen Cote
Greenhorn

Joined: Nov 11, 2005
Posts: 9
I created a framework for web applications (started on it in 2002; a lot of AJAX principles in it), and also have created a behavior monitor product that uses AJAX to send data.
[ November 11, 2005: Message edited by: Stephen Cote ]

Stephen W. Cote<br />wranlon@hotmail.com<br />http://www.imnmotion.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ajax are you using it?
 
Similar Threads
Ajax resources for the beginner?
AJAX with JSF
To the authors: best way to start learning Ajax?
Ajax and web frameworks
CDATA in html