Quantcast
Channel: How to code a simple versioning system? - Stack Overflow
Browsing latest articles
Browse All 11 View Live

Answer by Michael Dausmann for How to code a simple versioning system?

I recently built a simple versioning system for some static data entities. The requirement was to have an 'Active' version and 0 or 1 'pending' versions.In the end, my versioned entity had the...

View Article



Answer by maxwellb for How to code a simple versioning system?

As an alternative to my previous post, if you think a hierarchical structure would be best, you may want to use flat-file storage, and expose an API through a Web service.The server would have its data...

View Article

Answer by maxwellb for How to code a simple versioning system?

Start from an existing content management system, done in PHP and MySQL if those are your requirements, such as eZ Publish, or Knowledgetree. For rapid testing of these applications, Bitnami provides...

View Article

Answer by Michael Dorfman for How to code a simple versioning system?

For God's sake, don't. You really don't want to go down this road.Stop and think about the bigger picture for a moment. You want to keep earlier versions of documents, which means that at some point,...

View Article

Answer by Jamie Rumbelow for How to code a simple versioning system?

Creating a rich data structure in a traditional relational database such as MySQL can often be difficult, and there are much better ways of going about it. When working with a path based data structure...

View Article


Answer by David Thornley for How to code a simple versioning system?

Might an existing version-control solution work better than rolling your own? Subversion can be made to do most of what you want, and it's right there.

View Article

Answer by friol for How to code a simple versioning system?

Database schemaTo keep it exremely simple, I would choose the following database design. I'm separating the "file" (same as a filesystem file) concept from the "document" (the gerarchic group of...

View Article

Answer by Alexander Kosenkov for How to code a simple versioning system?

Uploading files is to 1990-ty =)Look at Google Wave! You can just build your entire application around their 'version control' framework.

View Article


Answer by gapple for How to code a simple versioning system?

For a database schema, you likely need two sets of information, files and file versions. When a new file is stored an initial version is created as well. The latest approved version would have to be...

View Article


Answer by glmxndr for How to code a simple versioning system?

You may get inspiration from there.Concerning your comment :As for a database structure, you may try this kind of structure (MySQL sql) :CREATE TABLE `Users` ( `UserID` INT NOT NULL AUTO_INCREMENT ,...

View Article

How to code a simple versioning system?

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:User logs inUser has two options when uploading a file:Submit a new...

View Article
Browsing latest articles
Browse All 11 View Live




Latest Images