Ajax programming using Digi’s Advanced Web Server

Thursday, March 18, 2010

Asynchronous JavaScript and XML (Ajax) is an new and exciting use of existing technologies that make web-based application act more like workstation-based applications. This white paper discussed the use of Ajax with Digi’s NET+OS-based Advanced Web Server (AWS). Example code can be found at this link: http://ftp1.digi.com/support/documentation/aws_and_ajax.zip 3.1 Problem Solved In the normal web-based, form-based application today, a user fills in a form. The problem is that the user must completely fill in the form before the data is sent to the device. In many circles today, this is considered slow and backwards. To give a web- based application a more workstation-based feel, developers want their applications to update fields as the data is entered by the user. Additionally they would like this to happen without the user really being aware that it is happening. This paper discusses how to do this in a NET+OS AWS-based environment. Additionally, up until now, there has been no documentation available to describe how to take advantage of this technology in an NET+OS AWS environment. This paper addresses this deficit. 3.2 Audience This document is intended for users with experience developing applications using either of Digi International’s NET+OS development environments. This includes the Green Hills IDE-based development environment, the gnu-based command line interface (CLI) development environment and the gnu-based ESP (GUI)-based development environments. In order to get the most out of this document, the user should have experience developing web-based NET+OS applications using the advanced web server (AWS) and its pbuilder utility. The user should also have some knowledge of HTML and JavaScript development. In addition, as part of JavaScript knowledge, the user should have some understanding of object oriented programming terms as they are used in the description of the JavaScript code examples. 3.3 Assumptions This document assumes that the user has access to a Digi International NET+OS-based development environment and an embedded development board for trying out the recommendations described in this document. You will be able to get some knowledge from reading this document only, but actually developing a test application and deploying that application to an embedded device will afford the reader a deeper understanding of the material presented herein…

Download Ajax programming using Digi’s Advanced Web Server.Pdf

0 comments:

Post a Comment

 
 
 

locate all visitor site