[Neo4j] hi.

2010-10-19 Thread Alastair James
hi! I find a good website:www.ebisri.com On this website ,you can find many new and origianl electronic products .Now they are holding sales promotion activity, all the product are sold at a low cost and good quality ,and the delivery is on time . It is a good chance that you should not lose. If

Re: [Neo4j] [Neo] single Neo4J database, access from multiple nodes

2010-06-04 Thread Alastair James
/listinfo/user -- Dr Alastair James CTO James Media Group www.jamesmedia.net www.adnet-media.net www.worldreviewer.com www.thehotelguru.com 'Inspiring Travel' IATA 96012851 ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman

Re: [Neo4j] PHP REST API client

2010-06-03 Thread Alastair James
Hi there Anders, Thanks for spotting the bug! It appears that the Neo REST API (the HTTP URIs the server expects) changed since the initial version I coded it for. All fixed now. I also included the set NULL to remove the property function. New version on github. Cheers Al

Re: [Neo4j] PHP REST API client

2010-06-02 Thread Alastair James
gives me an exception, so I can't update a node after the first save and save it again with new property values. Maybe a bug? Looks like it. I will fix ASAP! Alastair /anders On 06/02/2010 01:00 AM, Alastair James wrote: Hi there! Sorry, been a bit quiet on the PHP REST API front

[Neo4j] PHP REST API client

2010-06-01 Thread Alastair James
Hi there! Sorry, been a bit quiet on the PHP REST API front for a few weeks. I will be added some features this week (traversals etc...), but in the mean time, I have (finally) written up a little blog post detailing how the current version works!

[Neo] REST blog post

2010-04-15 Thread Alastair James
Almost missed this! http://blog.neo4j.org/2010/04/neo4j-rest-server-part1-get-it-going.html http://blog.neo4j.org/2010/04/neo4j-rest-server-part1-get-it-going.htmlGood write up. I will write a 'getting started in PHP' post using the client I wrote. However, somebody raised a good point on

Re: [Neo] REST blog post

2010-04-15 Thread Alastair James
It's going to depend on which backend you use at every specific moment in time. When you use Neo4j, you must respects the terms of Neo4j's license. When you use MySQL, you must respect MySQL's license. I mean more from the point of view from the author of a 3rd party bit of software. If I

Re: [Neo] PHP REST API client

2010-04-14 Thread Alastair James
\, \properties\ : {\foo\ : \bar\}}; You can see its saved with 'properties' which means a) the test is out of date and b) that the test does not test the presence of the attribute when reloading! Al -- Dr Alastair James CTO James Publishing Ltd. http://www.linkedin.com/pub/3/914/163

Re: [Neo] PHP REST API client

2010-04-14 Thread Alastair James
On 14 April 2010 08:20, Peter Neubauer neubauer.pe...@gmail.com wrote: Very cool! In case you are up to it, maybe write some additions to the http://wiki.neo4j.org/content/PHP ? I think this may easily become the preferred way to interact with Neo4j from PHP! Cheers Peter. I will write

Re: [Neo] PHP REST API client

2010-04-14 Thread Alastair James
Thanks! On 14 April 2010 10:53, Mattias Persson matt...@neotechnology.com wrote: I saw that and fixed that as well! ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo] Dispell the myth? FlockDB vs. Neo4j

2010-04-13 Thread Alastair James
(not sure why they didn't use a proven high speed graph DB myself - but then I am biased!). I am guessing its because they only need 1st order relations (there are little friend of a friend or higher operations on twitter) and were very worried about scalability and sharding (as far as I am

[Neo] PHP REST API client

2010-04-13 Thread Alastair James
Hi all. Just got a basic PHP REST client API up and running. Features: * Node creation * Node loading by id * Node delete * Create relationship between two nodes (does not store properties in relationships yet. Might be a REST API bug) * List / filter relationships on a node Pretty rough at

[Neo] Where to submit REST API bug reports?

2010-04-12 Thread Alastair James
Hi there... Where do I file REST API bug reports? Cheers Al -- Dr Alastair James CTO James Publishing Ltd. http://www.linkedin.com/pub/3/914/163 www.worldreviewer.com WINNER Travolution Awards Best Travel Information Website 2009 WINNER IRHAS Awards, Los Angeles, Best Travel Website 2008

Re: [Neo] RST API character encoding + unicode

2010-04-12 Thread Alastair James
Hi! The example you mentioned: \u2018Hello world\u2018, is probably properly escaped since 2018 is LEFT SINGLE QUOTATION MARK [2], and quotation marks should be escaped, but is this the sequence you are experiencing problems with? If that gets returned unescaped, that could be a problem, but

Re: [Neo] Traversers in the REST API

2010-04-09 Thread Alastair James
clearly see that sending the entire results set of 1000+ rows over HTTP/JSON is inefficient. Of course, caching between the web server and the neo HTTP API can help, but not in all cases, and it seems silly to rely on this. Al -- Dr Alastair James CTO James Publishing Ltd. http

Re: [Neo] How to efficiently query in Neo4J?

2010-04-09 Thread Alastair James
On 9 April 2010 14:21, Max De Marzi Jr. maxdema...@gmail.com wrote: On first traversal, add a relationship to a found node to each node that would return, and check for this relationship on the second traversal? Maybe create a unique id, set a property or add a node property with the unique

Re: [Neo] Traversers in the REST API

2010-04-08 Thread Alastair James
. -- Dr Alastair James CTO James Publishing Ltd. http://www.linkedin.com/pub/3/914/163 www.worldreviewer.com WINNER Travolution Awards Best Travel Information Website 2009 WINNER IRHAS Awards, Los Angeles, Best Travel Website 2008 WINNER Travolution Awards Best New Online Travel Company 2008 WINNER

Re: [Neo] How to efficiently query in Neo4J?

2010-04-08 Thread Alastair James
Hi... On 8 April 2010 22:35, Michael Ludwig mil...@gmx.de wrote: After giving this some thought, it looks to me as if there is nothing particularly graphy in your example. I know, most everything is a graph, but here the data is more regular: Your hierarchical catalog of tags immediately

Re: [Neo] How to efficiently query in Neo4J?

2010-04-08 Thread Alastair James
://lists.neo4j.org/mailman/listinfo/user References 1. https://lists.neo4j.org/mailman/listinfo/user ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Dr Alastair James CTO James Publishing Ltd. http

Re: [Neo] Traversers in the REST API

2010-04-08 Thread Alastair James
On 8 April 2010 21:17, Michael Ludwig mil...@gmx.de wrote: Limiting and paging usually go hand in hand with sorting, in my experience. Why would anyone want to page through an unsorted collection? Its quite possible that you might want the nodes in the order they were found (e.g. the closest

Re: [Neo] RESTful HTML representation

2010-04-07 Thread Alastair James
] Hacker, Neo Technology www.neotechnology.com ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Dr Alastair James CTO James Publishing Ltd. http://www.linkedin.com/pub/3/914/163 www.worldreviewer.com

Re: [Neo] Traversers in the REST API

2010-04-07 Thread Alastair James
These two ways of traversing a graph complement each other, it's not that one is better than the other. Would you agree on this? I think I agree. I would hope to be able to use XPath/Gremlin style querying for most things, and a more programatic system for more complex ones. a JSON

Re: [Neo] Traversers in the REST API

2010-04-07 Thread Alastair James
Cheers guys. All sounds good. One comment: As for sorting: yes, that is a comment on the API as a whole. We have opted at not providing sorting, since there are good sorting facilities available in the JRE already. Since that makes it easy for the user to implement their own sorting it

[Neo] How to efficiently query in Neo4J?

2010-04-07 Thread Alastair James
Hi there... I am looking at moving a website to a model based on Neo4J, however, I am having trouble seeing how to optimise the 'main query' type for Neo4J. Briefly, the site consists of posts, each tagged with various attributes, e.g. (its a travel site) location, theme, cost etc... Also the

[Neo] Map reduce style pagination [WAS: Traversers in the REST API]

2010-04-07 Thread Alastair James
Hi there... This is a branch of the thread on Traversers in the REST API. I just want to run an idea by you all. Tell me to shut up if I am being stupid. Quote from Tobias Ivarsson: As for sorting: yes, that is a comment on the API as a whole. We have opted at not providing sorting, since there

Re: [Neo] How to efficiently query in Neo4J?

2010-04-07 Thread Alastair James
if it is contained in the set of returned nodes in the first traversal. The traverses hit each node only once, and since we want to return only if they are found twice, I don't think there is a clean way to do it in a single traversal. On Wed, Apr 7, 2010 at 9:53 AM, Alastair James al.ja...@gmail.com wrote

[Neo] Neo4j RESTful traversal API

2010-03-22 Thread Alastair James
HI there. Loving Neo4j, but been putting off using because was no * straightforward* way to use from PHP. I even started writing my own RESTful API, but never found the time to finish it off! However, I am excited that there is now a (semi?) official one in the works, even if it is early days. I

Re: [Neo] Neo4j RESTful traversal API

2010-03-22 Thread Alastair James
would be direct integration into the PHP language similar to the way MongoDB is integrated. I wanted to experiment with both of theses but haven't gotten around to it. I'm glad your'e working in this direction also. Andy Potter On Monday 22 March 2010 10:12:38 Alastair James wrote