how to Design a content management system with the following requirements (In Java) 1. provide the user the ability to "checkout" a resource 2. provide "checkin" function 3. detail how you perform "update" functionality 4. provide a way to "return" the latest version of a resource
-
1. provide the user the ability to "checkout" a resource 2. provide "checkin" function 3. detail how you perform "update" functionality 4. provide a way to "return" the latest version of a resource
-
Answer:
Use a Java API for Git to provide wrappers around git functionality. You've just described a version control system, of which Git is one. Don't reinvent the wheel.
Ben Hardy at Quora Visit the source
Other answers
Some commercial and OpenSource document and electronic content management systems support these features. I know for example Nuxeo which supports versionning you need (and lot of other features you might need). You can build your on top of it either customizing it or using the REST Web Services. see http://community.nuxeo.com/ or alfresco and others.
Omar Benhamid
As per Omar there are tons of open source implementations out there already. Like Alfresoc - http://www.alfresco.com Nuxeo - http://www.nuxeo.com Liferay - http://www.liferay.com You could also use http://jackrabbit.apache.org/ if you want to build one yourself. Most of the open source implementations use Jack Rabbit and Lucerne.
Mark Clarke
Related Q & A:
- How to design a content provider?Best solution by developer.android.com
- How to develop a mobile payment system?Best solution by itproportal.com
- How to design a secure network?Best solution by Information Security
- How to solve a really nasty system of nonlinear equations?Best solution by Yahoo! Answers
- How to design a cable?Best solution by pcworld.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.