WEBDEV SUPPORTS THE AJAX (WEB 2.0) TECHNOLOGY IN NATIVE MODE
What are the benefits of AJAX?
In traditional Web development, when a page from your application is displayed and you want to modify a single element (a price, a list of vehicles, and so on), the server needs to resend the entire page to the user’s browser.
This has several down sides:
- it overloads the server since it has to resend the entire page;
- it slows down the server since it has to rebuild the page;
- it eats up some bandwidth (the entire page’s contents need to be sent, which usually amounts to several dozens KB or hundreds of KB);
- it usually creates a “redraw” effect on the user’s browser;
- the display on the user’s machine may be slow since the browser has to reinterpret and redisplay the entire page.
With the AJAX technology
– key concept in Web 2.0 – you
can now send only the modified data to the user’s machine, without refreshing
the entire page. There are many benefits:
- the server is less taxed, which allows for a larger number of connections to a physical server;
- the amount of information exchanged is reduced;
- the transmission time is shorter;
- the display is instantaneous without any visual impact for the Web user.
How to implement AJAX using WEBDEV?
You don’t need to code anything.
You automatically benefit from AJAX.
You keep programming in a 5GL (WLanguage). WEBDEV takes care of everything.
A new “AJAX” choice appears in the code editor’s title
bar. By default, the word “AJAX” is crossed out, which means that
the operations will be performed using traditional Web programming.
If you want to turn AJAX on for the process, simply click the “AJAX” button. The label becomes “AJAX enabled”
This is that simple!
Because of its technology, AJAX lets procedures and server processes be started from a browser call.
To secure sites, by default, WEBDEV procedures and processes are protected from all illegal calls (attempt to hijack a session, etc.)
If you wish to authorize the free calling of some procedures, simply click the authorization button and the “red light” (non-secure access forbidden) turns into a “green light” (free access authorized).
The following controls can be refreshed through AJAX:
- edit control
- formatted display control
- combo box
- list box
- check box
- radio button
Can an existing site be migrated to AJAX in just a few clicks?
Yes, the AjaxExecute and AjaxExecuteAsynchronous functions allow you to totally customize your code.
Where does the name AJAX come from?
Is AJAX a new technology?
We are using this term, but in fact AJAX is a combination of existing, optimized Web technologies.
Since when is AJAX available in WEBDEV?
AJAX is available since WEBDEV 10.