Trying out Ogre 3

55 views
Skip to first unread message

Sunil Mishra

unread,
Dec 23, 2014, 1:25:43 AM12/23/14
to clojure-...@googlegroups.com
Hello,

I'm new to clojure and ogre, so please excuse my naive questions.

I've worked a little with tinkerpop 2 in the past, and thought I'd learn tp3 and clojure at the same time by implementing a few simple algorithms on top of ogre. I've read through the threads on tp3 migration, and my understanding is that archimedes is slated to be merged into ogre. It doesn't look like that's happened yet, as the tinkergraph namespace isn't yet defined in ogre. Have I understood the current state of the master branch correctly?

If I want to access basic functionality, such as adding and removing vertices, what's the best way for me to currently do so? I would prefer to not access the underlying tinkerpop functions directly if that might be repeating work that's already underway or done elsewhere. Previously that API used to be implemented in archimedes, correct? How would you advise me to proceed?

Thanks,

Sunil

Stephen Mallette

unread,
Dec 23, 2014, 8:11:53 AM12/23/14
to clojure-...@googlegroups.com
The Ogre TinkerPop3 integration is still under development in the master branch.  TinkerPop3 creates less clear lines as it pertains to where components begin and end.  In TinkerPop2, we had this clear separation between Blueprints, Gremlin, etc.  Now it's all "just Gremlin", which blurs the lines for libraries like Ogre which used to just be about graph traversal (i.e. the clojure flavor of gremlin).  imho, a first release of Ogre on TP3 should likely just focus on providing clojuresque functions for dealing with the Gremlin APIs for "structure" and "process":


The GitHub issue tracker shows what's left to be done with Ogre for it to be caught up to the TinkerPop3 API which is still seeing some change in its milestone releases:


Give the incomplete state of Ogre at this time and the major changes TP3 introduces since TP2, I would recommend learning TP3 natively first.  Once you have a reasonable feel for the TP3 API then take a look at the code for Ogre.  It isn't too hard to follow - i think even those new to clojure would find it easy to jump into.  

HTH,

Stephen



--
You received this message because you are subscribed to the Google Groups "Clojure Titanium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-titani...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages