Tuesday, March 20, 2012

Ajax programming using Digi's Advanced Web Server

Ajax programming using Digi's Advanced Web ServerAjax programming using Digi’s Advanced Web Server AWS and Ajax Copyright 2009 Digi International Page | 2 1 Document History Date Version Change Description 3/12/09 V1.0 Initial entry 3/13/09 V1.1 Additional content and edits AWS and Ajax Copyright 2009 Digi International Page | 3 2 Table of Contents Contents 1 Document History ....................................................................................................... 2 2 Table of Contents ........................................................................................................ 3 3 Introduction ................................................................................................................. 4 3.1 Problem Solved .................................................................................................... 4 3.2 Audience ............................................................................................................... 4 3.3 Assumptions ......................................................................................................... 4 3.4 Scope ....................................................................................................................

5 3.5 Theory of Operation ............................................................................................. 6 4 Using Ajax Techniques in AWS ................................................................................. 6 4.1 Introduction .......................................................................................................... 6 4.2 The HTML file ..................................................................................................... 7 4.2.1 HTML code ................................................................................................... 7 4.2.2 JavaScript code ............................................................................................. 8 4.3 The “stub” functions (*_v.c file) ........................................................................ 10 4.3.1 Introduction ................................................................................................. 10 4.3.2 Operations ................................................................................................... 10 5 Application specific information .............................................................................. 11 6 Conclusion ................................................................................................................ 11 7 Glossary .................................................................................................................... 12 AWS and Ajax Copyright 2009 Digi International Page | 4 3 Introduction 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...

Website: ftp1.digi.com | Filesize: 234kb
No of Page(s): 12
Download Ajax programming using Digi's Advanced Web Server.pdf

No comments:

Post a Comment