Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #1872

Re: Using Git as "undo" engine/backend for web editors

From Ben Pfaff <blp@cs.stanford.edu>
Newsgroups comp.programming
Subject Re: Using Git as "undo" engine/backend for web editors
Date 2012-06-29 09:09 -0700
Message-ID <87mx3mqev3.fsf@blp.benpfaff.org> (permalink)
References <4c6ff8b8-f378-4a27-b7c7-1de63fcc982e@googlegroups.com>

Show all headers | View raw


badcat <bastibense@gmail.com> writes:

> We are developing a web based editor for page layouts. A lot of
> customers have requested a way to "undo" mistakes - and we are
> looking into the options we have.
>
> The whole system is built around the idea that a user can
> create a number of objects on a page; upload images and movies
> and create hyperlinks, etc. Data is submitted from time to time
> using an AJAX request. The server validates the data and saves
> it to the disk.
>
> The problem with this is, that a user can't go back (undo) any
> mistakes or even go back to an older revision. Each "document"
> is basically a folder on the disk and has a plain structure
> where all required data is stored.
>
> One of my ideas was to use Git for this purpose.

This idea has been used successfully for ikiwiki (see
http://ikiwiki.info/), for what it's worth, so I doubt that there
are any immediate pitfalls.

Back to comp.programming | Previous | NextPrevious in thread | Find similar


Thread

Using Git as "undo" engine/backend for web editors badcat <bastibense@gmail.com> - 2012-06-29 08:35 -0700
  Re: Using Git as "undo" engine/backend for web editors Ben Pfaff <blp@cs.stanford.edu> - 2012-06-29 09:09 -0700

csiph-web