From: snacktime Date: 2007-07-14T14:37:59+09:00 Subject: Re: Real project -- general application structure On 7/13/07, Ricardo Jasinski wrote: > > So the data collection app stores it in the DB, and the web page just > > retrieves the latest data > > from the DB when a user navigates to the page. Piece of cake! 9^) > > Hi Chris, > > thanks for your input! Yes, it is really almost a piece of cake, > except that the data displayed on the page must be updated whenever > new information is sent by one of the sensors (without having to click > 'refresh' on the web browser). > > Of course a periodic page reload could take care of this issue, but I > believe we can do better than that... =) > > Have a status table that gets updated whenever an update comes in, and on the webpage use periodically_call_remote to check the table to see if there are new updates. Or you can just do an auto refresh of the page every so often also.