Webpage Programming
 

Building a webpage on the ARMweb is much like any other web server.  An HTML webpage is ftp'ed to the ARMweb, and it can communicate to a BASIC program running on the ARMweb.  The BASIC program can be controlling attached devices.  Control or data can be fed back through the webpage interface.  All sources for this example are at www.coridiumcorp.com/files/WebBASIC.zip

Use standard HTML and JavaScript

Build your web page in standard HTML and JavaScript. Include text and graphics in the webpage, here the webpage includes an image of a logo. In this example user actions on the webpage are fed back with a CGI script using JavaScript button action.  It also can display a state of the ARMweb, here an LED by running a small BASIC program (included into the HTML).

simple html page

Upload to ARMweb using FTP

No special tools to compile your page, just upload it to the ARMweb. Here the 2 files used for the webpage, the main HTML and the banner image.

ftp page

Interact with a BASIC program running on the ARMweb

The webpage can send data to the ARMweb using CGI that can be read in your BASIC program. It can parse these requests and perform various actions.  This allows you to control an ARMweb across the room or anywhere on the internet.

BASIC page

Your Web application running on an ARMweb

This is what will appear on the web, served by the ARMweb.


dump page


See also