[OSGeo-Discuss] any ideas on how to Monitor and Review 'random' files?
troelsgaard53c at live.dk
Fri Feb 17 12:27:05 PST 2012
> My take is that the major item not readily available is a notification
> mechanism, to be triggered when something changes, with users
> registering themselves with some kind of call-back function.
> I dunno what's avaiable in desktop software libraries for this, but I
> see html5 providing such a mechanism in its 'local storage' feature.
> Like see http://www.quirksmode.org/blog/archives/2009/06/html5_storage_t.html
> and http://html5demos.com/storage-events.
Yes. LocalStorage is handy and easy to work with -but- though it's available storage on user's pc's, it's only makes sense in the scoop of a visited page. (does that make sense?).. I'll elaborate: Unless you are managing a html-page that a user ownloads, you cannot access the localStorage of that pc [in my understanding]. The access happens through scripts on the page.About events .. administering the erection of a html-page with it's scripts, on a server, does not really provide server-side events - except for the return response of a xmlhttprequest or similar, send from the client. But, this could be enough. (look up AJAX for the xmlhttprequest ) The ping-ing back and forth takes simple code .. it won't be cluttered up until you want to use it for something sensible ;o)
> BTW, I believe the OP is looking for handling not a random file
> (hardly that!) but an 'arbitrary' user-selected one.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Discuss