WebUI and AJAX
Introduction
WebUI is a new approach to explore Web applications. The key technology is to apply
the XMLHttpRequest access XML data on the server asynchronously without refresh entire
web page.
WebUI engine is located on both client and server side such as FireFox and Apache.
JavaScripts run on the browser sent user's action through XMLHttpRequest to server.
Then web server feedbacks the XML data from the database to client.
The DOM explain and render the XML document. Because the behavior of asynchronization,
WebUI feels fast to users.
AJAX
Asynchronous JavaScript and XML (AJAX) is web development techniques for creating interactive web applications.
The kernel of the AJAX is the XMLHttpReguest that connects a web client and a server. The components of Ajax engine include Extensible / Hypertext Mark-up Language (XML/XHTML) for document, Cascading Style Sheets (CSS) for data presentation, Document Object Model (DOM) for structure, and JavaScript for client interactive.
On the server side the scripting language such as PHP and SQL database such as SQLite can be applied. New versions of web browsers now support AJAX technology.
Google’s GMail and Maps, RSS Feeds are examples of AJAX applications.
The main benefit of using Ajax technologies is that partial web page can be updated quickly. This makes Ajax to work as a GUI possible. Secondly, AJAX technologies are open - almost all web browsers support it. Finally, AJAX does not need plug-in, so it is platform independent.
Snaml
Neatware's approach for interactive web applications is based on AJAX techniques along with technologies of Snaml Generator, Scripting Languages, and SQL Databases.
Snaml for AJAX applications in the MyrmecoX Studio includes files:
- mypage.sml - generate script for presentation
- mycss.css - style control
- mylib.js - my javascript
- mysql.db - sql database
- web.css - common style control
- web.js - ajax engine with javascript
References
Introduction Web UI and XMLHttpRequest
|