From: Joel VanderWerf Date: 2007-07-14T04:21:53+09:00 Subject: Re: Real project -- general application structure Ricardo Jasinski wrote: > Hi everyone, > > I'm supposed to build a test application where a PC would communicate > with many other devices (say, temperature sensors) via TCP/IP sockets, > and display their current status on a web page. Furthermore, all > gathered information should be stored on a database. Do you know about RRDTool? There are ruby bindings for it, too. http://oss.oetiker.ch/rrdtool/ I'm using it to do more or less what you say: remote systems measure temperature and other variables, and fire the data to a server (UDP, not TCP, though). The server collects it into RRDs (Round Robin Databases), and there are some simple CGI scripts (not ruby, but RRDTool's own mini scripting language) to display the data according to user inputs (time ranges etc). Of course, if you're doing this to learn Rails, maybe you want to do it the hard way :) .... -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407