Professional Documents
Culture Documents
Details Covered:
What is AJAX?
Advantages
Where does it fit in to CWS Bureau Holding Area application?
Context Sensitive Help
Search Filter
Very Responsive Solution with Ajax - "Auto-Complete".
Popular Example from Google.
Locking
Nice to have feature with AJAX
Hands On
Sample Application
Details:
1. What is AJAX?
AJAX, short for Asynchronous JavaScript And XML, isn't a technology but rather
a grouping of technologies. AJAX uses a communication technology (typically
SOAP and XML) to send and receive an asynchronous request/response to the
server, and then leverages presentation technologies (JavaScript, DOM, HTML,
and CSS) to process the response.
Advantages
Please go through the Google implementation of AJAX for the above feature at
the following link for better clarity.
http://www.google.com/webhp?complete=1&hl=en
A.50.20.35
A.50.20.40
A Nice to have feature easily possible for the above requirements with
AJAX.
When the user selects a record in the Summary page that is being viewed by
another user we display a message to the user saying that it is locked. This
message could be displayed in the Context Sensitive Help section or by using a
DIV tag. All the records that are requested by the current user, but being used
by other users will be queued for the current user. We could use a polling
system to see if any queued documents are available. Basically, this means
we'll keep calling the server-side method through AJAX, with a delay, and
display the results. The whole logic for implementing this could be placed in a
User Control and this could be placed in all the required pages.
3. Hands On
Sample Application