PDA

View Full Version : Good way to stop edited files on websites being overwritten?



peteyt
10-04-2011, 06:01 PM
I'm not sure if Habbox has this issue but I have a few technical people, coders and web designers.

One issue I get from this is that if someone works on a page and uploads it, someone else may be testing something out on that same page and may upload the page, not knowing someone had done anything.

Is there an easy way to prevent this? The easiest way I can think of is probably a folder with updated files, which the users can check before doing any work on their files.

Chippiewill
10-04-2011, 11:25 PM
Not sure how well it'd work but subversion allows for this, you checkout the latest repo before editing, then when finished you checkout the latest repo again to check if anyone has changed it and then you submit the changes if no one has (If a file you've edited as already been edited on the repo it'll inform you and you can work to merge the files).

Not entirely sure how you'd make this mesh with a web server but I'm sure it's possible to make work.

LMS16
11-04-2011, 01:56 PM
Use dreamweaver to upload the files automatically via ftp on save. Get them to use "check out" & "check in" to lock and open files when they're using them etc...

Lew.

Invent
11-04-2011, 03:12 PM
Use source control (e.g. Git).

peteyt
15-04-2011, 11:46 AM
cheers will have a look

Want to hide these adverts? Register an account for free!