15Nov/100
Grid with basic locking and history features for files
Yeah, lately we have developed a grid for one of our customers and as expected it is special for our customer

I think, this grid can be a very simple version of a kind of configuration management tools
and now let me tell some of the features of this grid.
- It reads all the files and directories recursively in a directory (specified by developer or in runtime) and saves them into a mysql table
- Actually it is developed for image files so it shows the thumbnails of the image in the row (thanks to phpthumb)
It provides locking mechanism in other words if thumbnail is double clicked then file opens and is locked by that user so other users can't open and change that file until user who locked the file, unlock it (but some users who have the privilege can unlock it via context menu)- If a file is locked then that row is turned into orange and checkboxes are enabled for that row to the user who locked it.
- If the user checks the one of the checkboxes, row is turned into normal color and that file is unlocked.
- Also every changes on a file is recorded into a table and it can be seen on history of that file
No related posts.




