CReese wrote
> If you want something that automatically updates in the page without a
> refresh, you're going to need something on the client side to request and
> process the data in the DOM, or get even more advanced with push
> techniques. Jquery/ajax is in my opinion the easiest and most readable way
> to do this, and it works on a vanilla apache server. 
> 
> If you don't need continuous updates, you can use any number of tools to
> dynamically generate content when the browser requests page content. Perl,
> python, anything that can generate a text file will work if you configure
> your web server to call it via cgi, or with a little shell php script to
> put it together. This will make your life easy at first, but really limit
> your capability down the line. 
> 
> I'm cleaning up the aforementioned libraries based on python, jquery,ajax,
> and sqlite and will update when it's public. You can poke around and see
> if anything is of interest. 
> 
> Colin

The reason I wanted the refresh to be automatic is that at the moment I'm
running owserver and owhttp and owpython from the owserver. The problem is
that I'm constantly going to be removing/adding a whole lot of DS2431 chips
at random (docking station type application) and a call to
ow.Sensor("/").sensorList() does not return the most recent devices. The
only way to get the most recent devices is to refresh the owhttp browser tab
i.e. <ip address>:3001/uncached/ and only then the
ow.Sensor("/").sensorList() call returns the most recent devices. 

If there is a way around this problem without refreshing the browser all the
time that would be great. I'm sure in my earlier stages of development this
wasn't a problem i.e. the files system refreshed properly.




--
View this message in context: 
http://owfs-developers.1086194.n5.nabble.com/Modifying-owhttpd-tp10099p10177.html
Sent from the OWFS Developers mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to