Comments (7)
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.
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.
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.
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.
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.
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.
Merging into #64
from cayley.
Related Issues (20)
- 'go build ./cmd/cayley' breaks: missing go.sum entry for module providing package github.com/golang/protobuf/proto HOT 3
- Move cayley.io to Github Pages or Netlify or similar HOT 1
- Aggregations
- Code quality: NameOf and ValueOf should return errors HOT 2
- Relationships not displaying correctly in new cayley version HOT 1
- Cayley.io is down again HOT 10
- Seeking for a new maintainer HOT 13
- hidalgo: interfaces changed a bit in newer versions HOT 2
- Security issue with github.com/gogo/protobuf version < 1.3.2 HOT 2
- Repl Allows One Command to Execute and Subsequent Commands Fail HOT 1
- request a new release HOT 1
- Filter path by Label field of quads HOT 1
- Filter path by empty label field (FilterContext) HOT 1
- Plans for a new release? HOT 2
- Build Issue using cayley 0.7.7 HOT 1
- q InternalQuad ==> q *InternalQuad
- gio gui HOT 1
- Plans for a new release?
- Discourse forum down
- Is this project dead? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cayley.