Re: [Neo4j] Will there ever be a native SDK for Node.js?
> Have been reading through the Java documentation. Having a native SDK seems > to be a big win when interacting with Neo4j. What exactly do you mean by that? With REST API you have number of advantages too. > I wonder if you have any plans on making a native SDK for Node.js since apps > on Heroku could run on Node.js as well. I don't think the native SDK for non-Java platform will ever be released. It would be totally different product then. So your best bet is the REST API. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Will there ever be a native SDK for Node.js?
What are the advantages of using HTTP directly over native SDK like the Java one? Don't they have a native SDK for Python and Ruby as well (although I think they are just wrappers for tje HTTP API?) Johnny -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Will-there-ever-be-a-native-SDK-for-Node-js-tp3550518p3550633.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Will there ever be a native SDK for Node.js?
On 01/12/2011, at 4:32 PM, yobi wrote: > What are the advantages of using HTTP directly over native SDK like the Java > one? You have to understand that "native" runs as as part of the same process. And that's why it's supposed to be faster. Running as part of the app means that you lock the database to one single app (you can't just go and fix production data). With REST, you have a separate server. Thus multiple applications can use. Or you can access it directly through normal web browser to fix your data. Or even run background jobs against that server. All that is not possible with native. > Don't they have a native SDK for Python and Ruby as well (although I think > they are just wrappers for tje HTTP API?) No. Saying "native" it means that it is native to Java only. So as long as you are on JVM, you can use the native SDK. There are versions of Ruby (JRuby) and Python (Jypthon) that are built specifically to target JVM. And that's why you can use it. But if you want to use "normal" Ruby or Python, your only option is REST. Same applies to your case with Nodejs. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Will there ever be a native SDK for Node.js?
if you just want to use javascript you can look into rhino. for the REST APO there neo4j,js and juggledb or using the http calls directly hth michael mobile mail please excuse brevity and typos Am 01.12.2011 um 07:06 schrieb Dmytrii Nagirniak : > > On 01/12/2011, at 4:32 PM, yobi wrote: > >> What are the advantages of using HTTP directly over native SDK like the Java >> one? > You have to understand that "native" runs as as part of the same process. And > that's why it's supposed to be faster. > Running as part of the app means that you lock the database to one single app > (you can't just go and fix production data). > > With REST, you have a separate server. Thus multiple applications can use. Or > you can access it directly through normal web browser to fix your data. > Or even run background jobs against that server. All that is not possible > with native. > > >> Don't they have a native SDK for Python and Ruby as well (although I think >> they are just wrappers for tje HTTP API?) > No. Saying "native" it means that it is native to Java only. > So as long as you are on JVM, you can use the native SDK. > > There are versions of Ruby (JRuby) and Python (Jypthon) that are built > specifically to target JVM. And that's why you can use it. > But if you want to use "normal" Ruby or Python, your only option is REST. > > Same applies to your case with Nodejs. > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Will there ever be a native SDK for Node.js?
> With REST, you have a separate server. Thus multiple applications > can use. Or you can access it directly through normal web browser > to fix your data. > Or even run background jobs against that server. All that is > not possible with native. I wouldn't say that. It's not possible using Neo4J APIs directly, but with Spring Data for Neo4J and the rest of the Spring framework (as an example) it's pretty damn easy to provide remote access to a Neo4J data store. -TPP ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Will there ever be a native SDK for Node.js?
Actually that is true with many technologies. to provide a REST-Endpoint Neo4j-Servers you can use: * jruby with sinatra/rails * python * as you said SDN * playframework and scala * clojure (and whatever rest-framework on top) * or even pure netty based high performance servers * or other java REST API's on top of the core-API IMHO more important is the protocol between your frontend and the neo4j-rest-endpoints, those should speak domain language and protocol and not necessarily nodes and relationships :) Cheers Michael Am 01.12.2011 um 13:34 schrieb Tero Paananen: >> With REST, you have a separate server. Thus multiple applications >> can use. Or you can access it directly through normal web browser >> to fix your data. >> Or even run background jobs against that server. All that is >> not possible with native. > > I wouldn't say that. It's not possible using Neo4J APIs > directly, but with Spring Data for Neo4J and the rest of > the Spring framework (as an example) it's pretty damn > easy to provide remote access to a Neo4J data store. > > -TPP > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Will there ever be a native SDK for Node.js?
Why not take a look at RingoJS? Would be uber easy to integrate native Neo4J APIs. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of yobi Sent: Wednesday, November 30, 2011 10:59 PM To: user@lists.neo4j.org Subject: [Neo4j] Will there ever be a native SDK for Node.js? Have been reading through the Java documentation. Having a native SDK seems to be a big win when interacting with Neo4j. I wonder if you have any plans on making a native SDK for Node.js since apps on Heroku could run on Node.js as well. Thanks Johnny -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Will-there-ever-be-a-native-SDK-for-Node-js-tp3550518p3550518.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Will there ever be a native SDK for Node.js?
On 01/12/2011, at 11:34 PM, Tero Paananen wrote: > Spring Data for Neo4J and the rest of > the Spring framework (as an example) it's pretty damn > easy to provide remote access to a Neo4J data store. Are you saying that your WEB application should become a database server? That is not appropriate architecture. And you would have to re-create the API that is already available through neo4js REST API. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Will there ever be a native SDK for Node.js?
On 12/1/2011 10:47 PM, Dmytrii Nagirniak wrote: > > On 01/12/2011, at 11:34 PM, Tero Paananen wrote: > >> Spring Data for Neo4J and the rest of >> the Spring framework (as an example) it's pretty damn >> easy to provide remote access to a Neo4J data store. > > Are you saying that your WEB application should become a database server? No. I'm saying that you have options that will allow you to easily adapt your solution to whatever your needs are without putting everything and the kitchen sink into the "database server". -TPP ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Will there ever be a native SDK for Node.js?
> > > What are the advantages of using HTTP directly over native SDK like the > Java > > one? > You have to understand that "native" runs as as part of the same process. > And that's why it's supposed to be faster. > Running as part of the app means that you lock the database to one single > app (you can't just go and fix production data). > > With REST, you have a separate server. Thus multiple applications can use. > Or you can access it directly through normal web browser to fix your data. > Or even run background jobs against that server. All that is not possible > with native. Great points here about REST vs in-process use of Neo4j, but... > > > Don't they have a native SDK for Python and Ruby as well (although I > think > > they are just wrappers for tje HTTP API?) > No. Saying "native" it means that it is native to Java only. > So as long as you are on JVM, you can use the native SDK. > > There are versions of Ruby (JRuby) and Python (Jypthon) that are built > specifically to target JVM. And that's why you can use it. > But if you want to use "normal" Ruby or Python, your only option is REST. > This is wrong. There are REST *and* native Python (CPython, not just Jython) bindings, using a Python/JVM interface called JPype. Same applies to your case with Nodejs. So it would seem that if Node.js had an existing interface to the JVM, this would be possible. A quick search didn't find a JPype equivalent for Node, but at least the possibility is hinted at on SO - http://stackoverflow.com/questions/4729013/can-i-call-java-from-node-js-via-jni-and-how -- Matt Luongo Co-Founder, Scholr.ly ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user