On Jan 22, 11:51 am, Slobodan Milnović <[email protected]>
wrote:

> I would like to use  http://openlayers.org/for drawing interactive
> maps, andhttp://code.google.com/p/flot/to draw interactive graphs.
> Openlayer will receive changes (tracking of wehicles on the map, for
> example) in as much of realtime as is possible, and flot will draw
> data for those wehicles (speed and stuff). Also, I would like to be
> able to use these javascript libraries to send the data back to
> weblocks. So I need two modes of communication:
> - realtime reception of the new data to be displayed
> - static display and modification of the data (for example, select
> date for data display, input stuff into forms).
>
> I understand the concepts of how javascript libraries display the data
> that is "currently loaded" (various arrays and similar), and I do
> understand a bit how weblocks views work (with the simple "display all
> objects", I'm still grasping the "display only this set of data"), but
> I don't quite understand what I have to do on the weblocks side to
> send and receive. Mostly, I have problems understanding CLOS and the
> way weblocks uses it. I guess that is my main problem that stops me
> using more advanced stuff in weblocks.

You don't need to use anything from Weblocks to do this (apart from
rendering the initialization code in a custom widget, which is
simple). No CLOS, no views.

The dynamic updates can be served simply by vanilla Hunchentoot
handlers (or Weblocks dispatchers if you want) as JSON or whatever
data format is required. I suggest you try it in a plain Hunchentoot
application and then transfer it to your Weblocks app.

  Leslie

-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" 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/weblocks?hl=en.

Reply via email to