[Cartoweb-dev] [Bug 1252] New: Adding history functionality

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Thu Jan 19 10:44:32 EST 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1252

           Summary: Adding history functionality
           Product: CartoWeb
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Plugins
        AssignedTo: cartoweb-dev at lists.maptools.org
        ReportedBy: ml.dje at geocontent.de


As mentioned in the cartoweb-users list, I am working on some history
functionality for CartoWeb. The question is the level where this functionality
should be implemented. From discussions with several users I got the impression
that a history should just store the bbox and do not effect other settings, like
layers and outlines. Therefore, I thought about creating the history
functionality as an extension of the Location plugin. I would also keep it
completely on the client side, because the history is specific to one client.
Finally, in my opinion the history states should be deleted at the end of a session.

On the other hand, this approach has some drawbacks, e.g. the state of the
history is stored inside views (since they are part of the location plugin),
which is not desirable.

The other option, as mentioned by Sylvain Pasche, is to create a history on a
higher level. For example based on the View plugin. I cite that comment here:

"If you intend to add history capabitlity to CartoWeb, I think it would be more
useful to do it not only for the location plugin, but for the whole application.
This could be done at a higher level than the plugin level, a bit like Views are
handled.

Such a global history mechanism would then allow to go back to a previous state,
keeping not only the location, but also the state of other plugins like layers,
outline, ...
Such a system should offer an option to keep only history for some plugins like
location, which is what you want for instance. Doing so, it would solve the
problem with the views, because Views would still be snapshot of the current
state of the map, and will not store the previous state at the moment the view
is taken."

This would be nice and more general of course, but is much more difficult (I guess).

I would like to hear some more opinions about this issue. I.e. is it worth the
additional effort to create a complex history storing information from different
plugins in a history or would the storage of the bounding boxes be sufficient?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Cartoweb-dev mailing list