I want to implement the functionality of Undo and Redo not only on the client side, but also on the server side. For insatnce, I have a div containing the image and I can rotate the size and rewrite it. All basic operations for generating images. And all operations update data and image. you can say that my image is being updated and the database is being updated after every action.
Now I need to implement the functionality of Undo and Redo. I also did some research. I need the best approach to accomplish the required task. I was thinking of supporting every action of a "log-type thing" or processing it using a database or with javascript arrays, including HTML or what else?
What is the best approach to achieve my goal.
Thank,
source
share