Giter Club home page Giter Club logo

Comments (9)

boudewijn-tribler avatar boudewijn-tribler commented on June 5, 2024

Last time I talked with Johan about this it seemed like we didn't want to put time into ORM anymore. If this is still the case I suggest we close this issue. Johan?

from dispersy.

NielsZeilemaker avatar NielsZeilemaker commented on June 5, 2024

Let's see if we can get an orm to work in Dispersy. Looking at this sqlobject, it seems pretty trivial:
http://code.saghul.net/index.php/tag/sqlobject/

from dispersy.

LipuFei avatar LipuFei commented on June 5, 2024

@NielsZeilemaker I have a branch on Tribler that changes some database to use an ORM called Axiom. I converted all tables expect the Channel-related ones to use Axiom and it worked. So this would also be an option.

from dispersy.

NielsZeilemaker avatar NielsZeilemaker commented on June 5, 2024

Could you give me a pointer to this branch?

from dispersy.

LipuFei avatar LipuFei commented on June 5, 2024

https://github.com/LipuFei/tribler/tree/refactory_axiom_db

from dispersy.

NielsZeilemaker avatar NielsZeilemaker commented on June 5, 2024

Axiom seems to be something else, its an object store. I'd rather use an ORM if possible, and SQLObject seems a bit more mature.

from dispersy.

whirm avatar whirm commented on June 5, 2024

@NielsZeilemaker it can be used as an ORM just fine: https://github.com/twisted/axiom/blob/master/README.txt
Also, sqlobject doesn't seem to have a working schema upgrade system...

from dispersy.

NielsZeilemaker avatar NielsZeilemaker commented on June 5, 2024

If we're not using it as an object database, but as orm then ok.
But let's start with Dispersy, it's smaller.

from dispersy.

whirm avatar whirm commented on June 5, 2024

Yeah, that's what we where talking about with @LipuFei right now.

from dispersy.

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.