[Jsdc-info] JSDC 1.2: Nested undo/redo (almost like real transactions)
Brought to you by:
zig007
From: JSDC u. information. <jsd...@li...> - 2007-02-24 21:51:54
|
Hi! So, the undo/redo history is now a tree-structure and supports nesting.=20 This is to allow for a better user experience and security,=20 since functionality that implicitly creates a number of actions for each = user action the functionality can group those actions and rollback in = case of failure. Also, when a user edits a tableview value, which in turn affects many = other values, the user do not expect having to click "undo" 200 times, = just because some triggered functionality updated 200 other values. It is not called transactions, which i probably could have and gotten = away with it, but histories is easier for people that have no database = experience to understand. So instead of begin transaction you write application.begin_history() to = branch a subhistory that can be rolled back in case of failure. The scope of the history will probably be expanded to encompass most = objects that are used in web applications. Not only = JSDC-database-connected ones, that is. Also, the project home page is now moved back to its original location: http://jsdc.sourceforge.net //Zig007 Homepage: http://jsdc.sourceforge.net Sourceforge project: http://sourceforge.net/projects/jsdc/ Download: http://sourceforge.net/project/showfiles.php?group_id=3D162613 |