简体   繁体   English

如何使用版本控制来存储数据并使其易于在应用程序中进行编辑和使用

[英]How to store data with version controll and make it easy to edit and use in applications

I want to store a set of data (like drop tables for a game) that can be edited and "forked" (like a open source project, just data, so if I stop updating it, someone can continue with it) like a coding project. 我想存储一组可以编辑和“分叉”的数据(例如游戏的掉落表)(例如开放源代码项目,只是数据,因此,如果我停止更新它,则有人可以继续使用),就像编码一样项目。 I also want that data to be easy to implement in code (for example, the same way you can use a database in code to get your values) for people that makes companion apps for said game. 我还希望这些数据易于在代码中实现(例如,您可以在代码中使用数据库来获取您的值的相同方式),以便为该游戏制作配套应用的用户。

What type of data storage would be the best for this scenario? 哪种类型的数据存储最适合这种情况?

EDIT: By type of data storage I mean something Like XML or JSON or a database like Access or SQL as well as noSQL 编辑:通过数据存储的类型,我的意思是像XML或JSON或Access或SQL之类的数据库以及noSQL

It is a very general question, but I'm getting the feeling that you're looking for something like GitHub. 这是一个非常普遍的问题,但是我感觉到您正在寻找类似GitHub的东西。 If you don't know what that is, then you should probably look into it. 如果您不知道那是什么,那么您可能应该调查一下。 GitHub supports svn and allows you to edit your code quite easily and let you look back to previous versions of your code. GitHub支持svn,并允许您轻松地编辑代码,并让您回顾代码的先前版本。 Hope this helps! 希望这可以帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM