GithubHelp home page GithubHelp logo

Comments (7)

NikolayIT avatar NikolayIT commented on June 14, 2024 1

I agree with you guys. I personally prefer JSON files.

from ratiomaster.net.

apiweb avatar apiweb commented on June 14, 2024

I agree, I think it would be better, and become the quickest and easiest upgrade. If you want I can try to implement this functionality. 👍
But before we would have to create a standard for XML, have any suggestions? :-D

from ratiomaster.net.

silverlays avatar silverlays commented on June 14, 2024

I have a suggestion (i don't made it, only taken from Ratio Master 1.9.1)

http://pastebin.com/5x0vcLWp

If it can help...

from ratiomaster.net.

apiweb avatar apiweb commented on June 14, 2024

I started working on this feature.
I'm using JSON, and for this I installed the Newtonsoft.JSON library.

from ratiomaster.net.

apiweb avatar apiweb commented on June 14, 2024

I am still in doubt, between using a JSON file for each software. (Ex: A BitComet.json file and all its versions in, another for uTorrent, etc ...) or use a single file for all clients.

For now, I'm using a single Json file, with all the clients inside.
Following this model:
http://www.jsoneditoronline.org/?id=d5aa3d7d5011b8c8091dcdba32fb8b90

from ratiomaster.net.

NikolayIT avatar NikolayIT commented on June 14, 2024

All clients in separate files will allow downloading new clients separately.
👍 for separate files.

from ratiomaster.net.

sywesk avatar sywesk commented on June 14, 2024

@apiweb I see that you took each client profile and put them in separate objects from their client name, and then in each one of them you have the name + versions. Isn't that a bit redundant ? I think you can just put the version as the member name like :

"BitComet": {
    "1.20": {...}
}

Original :

"BitComet":{
    "BitComet 1.20":{...}
}

What do you think ?

Aside from that, the whole file looks good to me :)


For the separate files, there's still the granularity to choose : client level, with all their versions, or version level ?

Also, couldn't the JSON be seen as a little database ? thus being updated by the software at runtime with an updater / package manager kind of (and the database could be edited by hand when needed, as it's json). I'm not advocating this approach, just bringing another way of seeing the problem

from ratiomaster.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.