GithubHelp home page GithubHelp logo

Comments (7)

barakmich avatar barakmich commented on July 17, 2024

Adding myself to this as well.

Clearly we agree a more helpful high-level API is worth doing. Thoughts on this are wide open!

I'm not sure breaking the repository apart is necessary/wise. You can already go get the necessary components. I'm not sure if dependencies are thus transitive, but go get still covers you. Either way, though, you'll need some store one way or another.

from cayley.

kortschak avatar kortschak commented on July 17, 2024

Importing store packages would be necessary in such a system anyway, even if only as a blank import for registration. I don't see that any significant restructuring is necessary to achieve what is being asked for here; once a Go query API is written, you import that and the relevant store package and use the code, go get will pull all the necessary dependencies transitively.

from cayley.

bsr203 avatar bsr203 commented on July 17, 2024

Thanks. I agree it is go gettable now, and can just get the sub component needed.
Current design is well abstracted and I could run REPL after removing UI/appengine/mongo/leveldb/http/.. . I was more concerned with importing 3rd party driver libraries (mgo, levelgo,) which may grow in the future with additional supported backends. If I don't use REPL / Gremlin / MQL, bust just core and memstore, I may import the core (graph + GO API), and a store. Is it possible to do that? thanks again

from cayley.

kortschak avatar kortschak commented on July 17, 2024

We have discussed extending store registration. In the long term this would allow decoupling of stores from logic and would give you the behaviour you want.

from cayley.

pbnjay avatar pbnjay commented on July 17, 2024

In thinking about attacking #74, I think it may be useful to build a graph.Query object to wrap much of this. Then the gremlin and MQL parsers/output can share more code at least.

from cayley.

barakmich avatar barakmich commented on July 17, 2024

Actually, @pbnjay, I'm going to merge this issue into #64 -- which is where I think something like graph.Query may come in (as the original bit about separate packages and go gettable components is now done, also thanks to you)

from cayley.

barakmich avatar barakmich commented on July 17, 2024

Merging into #64

from cayley.

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.