I want to do a simple versioning system but i don\'t have ideas on how to structure my datas, and my code.
Here is a short example:
It's not as simple as it looks. Read this article by Eric Sink on the implications of storage of storing these files.
Perhaps a better question would be what sort of files are being loaded, and do they lend themselves well to versioning (like text files)