On Feb 18, 11:53 pm, "Epictitus" <mikeNOSPAMster...@gmail.comwrote:
Quote:
web based appliance = industrial modem (data server)
* I can access the modem via a web interface to view communications data
* the data posted by the modem needs to be used for some calculations and
formatting
>
lightweight linux http server = router (client/server)
* I have a router I can program custom javascript and asp scripts
* I want to make a web page that summarizes data from the modem and other
devices
Unless I'm still missing the picture the only problem is to be able to
make GET request to your modem: directly or over the router's layer.
After all the data is retrieved for a fat client (full-scaled UA) so
all logic can be moved onto the client:
UA (browser) with ajaxoid and DOM scripting
| |
GET request for text/plain, text/xml or text/html
| |
router
| |
web-enabled device
So within your current network are you able to put such requests? If
yes than your router capabilities are irrelevant for the task, let's
talk about client-side scripting.
If you want to use your router as an intermediary server (a la "star"
network) like
device device
| |
router ... multiple HTTP clients
| |
device device
then really javascript has nothing to do with it. Theoretically you
may install some whitebeam-like engine for server-side javascript on
your router (??) but practically just make a conventional server-side
solution.