|
|
Registered tutorials: 501 Registered Users: 20305
|
|
Rating: 3 out of 1 votes cast
Category: Ajax and SOA
|
Services orchestration for AJAX
Abstract: his article proposes a new AJAX approach that executes the process definition on the client. It allows you to orchestrate services synchronously and apply the MVC (Model View Controller) pattern, so you will find coding similar to server-side programming
AJAX (Asynchronous JavaScript and XML) is now widely known as a technique used in client-side interactions. However, AJAX requires special coding for asynchronous requests and for server-side programming. This article proposes a new AJAX approach that executes the process definition on the client. It allows you to orchestrate services synchronously and apply the MVC (Model View Controller) pattern, so you will find coding similar to server-side programming. Before discussing the new approach, let's take a look at the problems with AJAX currently.
AJAX typically communicates with the Web server using asynchronous requests so that other tasks can be executed while waiting for a response. It enables the user to interact with the browser, rather than the standard Web application. But once you decide to use AJAX, you have to struggle with callback functions. Look at the following code that executes two functions:
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
111 |
| Unique Hits: |
92 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
0.1 |
0.1 |
0.7 |
0.8 |
2.6 |
2.9 |
| Current |
0 |
0 |
0 |
0 |
6 |
7 |
| Previous |
0 |
0 |
0 |
0 |
1 |
1 |
| May 24 |
1 |
1 |
2 |
2 |
1 |
1 |
| May 23 |
0 |
0 |
2 |
2 |
0 |
0 |
| May 22 |
0 |
0 |
1 |
2 |
3 |
4 |
| May 21 |
0 |
0 |
1 |
1 |
7 |
7 |
| May 20 |
0 |
0 |
1 |
1 |
4 |
4 |
| May 19 |
0 |
0 |
0 |
0 |
2 |
3 |
| May 18 |
0 |
0 |
0 |
0 |
2 |
2 |
| May 17 |
0 |
0 |
0 |
0 |
0 |
0 |
| Highest |
3 |
5 |
6 |
7 |
11 |
13 |
|
|
|
Script Execution Time: 8.70411 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|