Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
REST API + python vs Scala and embedded
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Manav Goel  
View profile  
 More options Mar 15 2012, 3:10 pm
From: Manav Goel <manav.goe...@gmail.com>
Date: Thu, 15 Mar 2012 12:10:31 -0700 (PDT)
Local: Thurs, Mar 15 2012 3:10 pm
Subject: [Neo4j] REST API + python vs Scala and embedded
We are working in python and our webapp is almost beta launch ready.

We were planning on using neo4j before starting but due to some
problems we had to move away from it.

Now situation is such that we can use neo4j again and the debate is
python REST or Scala with embedded.

I am in favour that python REST is slow but not that slow that we need
to port to entirely different language just for the sake of embedded
and I also read when neo4j needs to be moved standalone on a separate
server REST will come into play again.

Am I right?

Need suggestions on this ASAP.

Regards,
Manav Goel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Thornton  
View profile  
 More options Mar 15 2012, 3:38 pm
From: James Thornton <james.thorn...@gmail.com>
Date: Thu, 15 Mar 2012 12:38:44 -0700 (PDT)
Local: Thurs, Mar 15 2012 3:38 pm
Subject: [Neo4j] Re: REST API + python vs Scala and embedded

REST is usually fast enough, esp for a Web app's access patterns.

Use Gremlin for server-side scripting to combine multiple HTTP requests
into one transactional request -- Bulbs/Python (
https://github.com/espeed/bulbs) was designed for this purpose and is very
Gremlin-centric.

Here's an example using custom Models:

https://gist.github.com/1774019

Bulbs was built with Flask in mind because Flask isn't tied to an ORM, but
it's generic and works with any Python Web framework.

The Bulbs 0.3 docs are coming soon. Look at Ligthbulb (
https://github.com/espeed/lightbulb) for more examples -- it will be used
in the upcoming docs as an example app.

- James


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Javier de la Rosa  
View profile  
 More options Mar 15 2012, 5:51 pm
From: Javier de la Rosa <ver...@gmail.com>
Date: Thu, 15 Mar 2012 17:51:20 -0400
Local: Thurs, Mar 15 2012 5:51 pm
Subject: Re: [Neo4j] Re: REST API + python vs Scala and embedded
If you decide for REST, you can also use neo4restclient, it provides a
low level library and it's designed to be as similar as possible to the
official python-embeded driver, thus, trying to have the same API. It
supports extensions like Cypher or Gremlin, indexes with complex
lookups using composition of Lucene fulltext queries, and
transactions wrapped through the batch REST operation.

This is the github repo: https://github.com/versae/neo4j-rest-client
And here the docs: http://readthedocs.org/docs/neo4j-rest-client/en/latest/

--
Javier de la Rosa
http://versae.es

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Schmidt  
View profile  
 More options Mar 16 2012, 3:27 am
From: Christopher Schmidt <fakod...@googlemail.com>
Date: Fri, 16 Mar 2012 08:27:00 +0100
Subject: Re: [Neo4j] Re: REST API + python vs Scala and embedded

Or, of course, you can use the Neo4j java-rest-binding (here
https://github.com/neo4j/java-rest-binding)...
Or, in case of Neo4j-Scala, you can use
the RestGraphDatabaseServiceProvider. This works (see
https://github.com/FaKod/neo4j-scala/blob/master/src/test/scala/org/n...)
except for the "old" traverser, that is not implemented
in java-rest-binding.

Regards Christopher

On Thu, Mar 15, 2012 at 10:51 PM, Javier de la Rosa <ver...@gmail.com>wrote:

--
Christopher
twitter: @fakod
blog: http://blog.fakod.eu

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Manav Goel  
View profile  
 More options Mar 16 2012, 4:52 am
From: Manav Goel <manav.goe...@gmail.com>
Date: Fri, 16 Mar 2012 14:22:09 +0530
Local: Fri, Mar 16 2012 4:52 am
Subject: Re: [Neo4j] Re: REST API + python vs Scala and embedded

On 16/03/12 12:57 PM, Christopher Schmidt wrote:

Suggestion what have been given here can be accessed from Python,
especially Neo4j-scala right?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Schmidt  
View profile  
 More options Mar 16 2012, 5:42 am
From: Christopher Schmidt <fakod...@googlemail.com>
Date: Fri, 16 Mar 2012 10:42:23 +0100
Local: Fri, Mar 16 2012 5:42 am
Subject: Re: [Neo4j] Re: REST API + python vs Scala and embedded

No - neo4j-scala is a client lib for Scala that supports embedded Neo4j DBs
and via java-rest-binding a REST based server access. So these suggestions
are valid if you go for Scala...

--
Christopher
twitter: @fakod
blog: http://blog.fakod.eu

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Luongo  
View profile  
 More options Mar 19 2012, 11:52 am
From: Matt Luongo <mhluo...@gmail.com>
Date: Mon, 19 Mar 2012 08:52:51 -0700 (PDT)
Local: Mon, Mar 19 2012 11:52 am
Subject: [Neo4j] Re: REST API + python vs Scala and embedded

While we're tossing out Python/Neo4j suggestions, if you're using Django
check out neo4django <https://github.com/scholrly/neo4django>.

It works very similarly to the standard Django ORM, so if you're familiar
with that you'll be good to go.

- Matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »