I need to build a few 'dashboardy' web pages with pretty pictures/graphs that update periodically.
I found this cookbook recipe http://wiki.pylonshq.com/display/pylonscookbook/Adding+graphical+output, but what I am wondering is, has anyone done something like this where only diffs are updated, i.e. if the graph displays a 1 hour time period that is updated every minute, is there a way to do a diff on an image and just update the changed part (the 1st and last minute)? Sort of a diff on a binary (image) then updating/streaming only the new bits (but whole image gets replaced so is it achieving anything?). I realize I am explaining this poorly, partly because I don't know where to begin (never used PIL, not even sure it is right tool for job), but if anyone has any pointers/guidance would like to hear! Performance is not a problem so whole image updating will almost definitely be the way to go to get something done, but this is something I've often wondered about and figured as a Friday question it would be worth throwing out there. I could generate 60 1 minute images then drop last and shift over, not sure if that would work & seems hacky. Other ideas or just regen the whole image each time? -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
