Well done ! Neo4j.rb actually has 3 different API:s 1. Neo4j::Node and Neo4j::Relationship - basic wrapper around java node, property and relationship. This API could use the rest server. 2. Neo4j::NodeMixin a mapper to Ruby classes with some additions like lucene indexing and rules. 3. Neo4j::Model - a Rails ActiveRecord like API, includes things like validation and support for creating in memory a graph before saving it to the database ( object initialization matches ActiveRecord-style two-step Model.new + Model#save creation).
I'm currently looking at using the Neo4j remote RMI component (http://components.neo4j.org/neo4j-remote-graphdb/) which will be used as a debug and console tool. For example. currently it's not possible to open the rails console while the rails application is running. This might solve that problem. /Andreas On 11/24/10, Craig Taverner <cr...@amanzi.com> wrote: > Hi, > > With all the discussions going on right now around Neography and using Ruby > to access the REST API, I decided to add a new wiki page on the Neo4j wiki > called 'Using the Neo4j Server with > Ruby<http://wiki.neo4j.org/content/Using_the_Neo4j_Server_with_Ruby>'. > The name parallels the related 'Using the Neo4j Server with > Java<http://wiki.neo4j.org/content/Using_the_Neo4j_Server_with_Java>' > where Jim runs users through some REST calls from Java, but I actually > modeled the use cases on the cURL examples in the main 'Getting Started With > Neo4j > Server<http://wiki.neo4j.org/content/Getting_Started_With_Neo4j_Server>' > wiki page. I repeat the cURL examples using two approaches: > > - RestClient (plain REST client for Ruby) > - Neography (neo4j-specific REST client) > > I also took a little time to try and cleanup the related pages so they all > link to each other in a sensible way. Please can anyone interested take a > look at the pages and let us know if they read well, make sense, and are > easy to find from the main page. > > In summary the new page is 'Using the Neo4j Server with > Ruby<http://wiki.neo4j.org/content/Using_the_Neo4j_Server_with_Ruby>'. > If you start at one of the expected main entry point pages, you should be > able to find this page easily if you are looking for Ruby and accessing > through the REST API (or Neo4j Server). Main entry point I'm thinking of > are: > > - http://neo4j.org > - http://neo4j.org/download > - http://wiki.neo4j.org > - http://wiki.neo4j.org/content/Getting_Started > > Feedback welcome :-) > > Cheers, Craig > > -- > You received this message because you are subscribed to the Google Groups > "neo4jrb" group. > To post to this group, send email to neo4...@googlegroups.com. > To unsubscribe from this group, send email to > neo4jrb+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/neo4jrb?hl=en. > > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user