[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 yo

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

2010-06-04 Thread Alastair James
; > > Thanks! > > > > Eelco > > ___ > > Neo mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > ___ > N

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
son calling Node::save twice 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

[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! http://onewheeledbicycle.com/2010/06/01/getting-

Re: [Neo] Conneg in REST API

2010-04-21 Thread Alastair James
gt; www.neotechnology.com > > ___ > > Neo mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > ___ > Neo mailing list > User@lists.neo4j.org >

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

[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 Good write up. I will write a 'getting started in PHP' post using the client I wrote. However, somebody raised a good point on hac

Re: [Neo] PHP REST API client

2010-04-14 Thread Alastair James
Thanks! On 14 April 2010 10:53, Mattias Persson 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] PHP REST API client

2010-04-14 Thread Alastair James
On 14 April 2010 08:20, Peter Neubauer 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 something on there (an

Re: [Neo] PHP REST API client

2010-04-14 Thread Alastair James
tionshipFunctionalTest.java : String jsonString = "{\"to\" : \"" + WebServer.BASE_URI + "node/" + endNode + "\", \"type\" : \"LOVES\", \"properties\" : {\"foo\" : \"bar\"}}"; You can see

[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 t

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

2010-04-13 Thread Alastair James
> On that page they mention that FlockDb is built on top of Gizzard. I'm > having trouble figuring out just what FlockDb really adds. > Briefly I *think* it does away with the (traditional SQL) need of one join table per possible relation. E.g. in SQL you normally need one table to map Object A to

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

Re: [Neo] RST API character encoding + unicode

2010-04-12 Thread Alastair James
Cheers. Sorry, I probably should have filed this in the Trac. Al On 13 April 2010 00:15, Tobias Ivarsson wrote: > On Tue, Apr 13, 2010 at 1:01 AM, Alastair James > wrote: > > > Hi! > > > > > > > The example you mentioned: "\u2018Hello world\u2018"

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

Re: [Neo] RST API character encoding + unicode

2010-04-12 Thread Alastair James
Arh... notice that the json returned from the API has the UTF-8 data directly as UTF-8. Should it not also return encoded as \u1234 codes? Al On 12 April 2010 23:03, Alastair James wrote: > Hi there... > > Was going to submit this as a bug, but I am not sure it is a bug (

[Neo] RST API character encoding + unicode

2010-04-12 Thread Alastair James
Hi there... Was going to submit this as a bug, but I am not sure it is a bug (well, its undesirable behaviour, but might need more discussion). Playing with the REST API and PHP. All going well, however one problem. The data I am trying to save is encoded in UTF-8. When I try to save data in thi

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

2010-04-12 Thread Alastair James
___ > 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 WINNER Travolution Awards Best Travel Information Website

Re: [Neo] Where to submit REST API bug reports?

2010-04-12 Thread Alastair James
Cheers! On 12 April 2010 22:10, Anders Nawroth wrote: > Hi Alastair! > > File a ticket over here: > https://trac.neo4j.org/ > > If there's still no "rest" component in the components lists, use > "other" instead. > > /anders > > Alastair

[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] How to efficiently query in Neo4J?

2010-04-09 Thread Alastair James
On 9 April 2010 14:21, Max De Marzi Jr. 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 id on the first

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

2010-04-09 Thread Alastair James
On 9 April 2010 07:50, Peter Neubauer wrote: > Marko and me tried to summarize what is working especially good with > Graph Databases and what not: > Yes, but in my mind, my use case is a *perfect* example of what should work well in a graph DB. It is an exact example of inforamtion organised by

Re: [Neo] Traversers in the REST API

2010-04-09 Thread Alastair James
> > Why not just slap memcached in the middle? Would help with scalability > as well, plus you could keep cached results keyed by query params in > there if needed. Just a thought... > Yes, but in my mind that says "you cant use neo without a 3rd party caching layer" which seems a little cra

Re: [Neo] Traversers in the REST API

2010-04-09 Thread Alastair James
e for me would be 1000+ matching rows, with 90%+ of page views for the first 10, 5% for the next 10 etc...! You can 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 ca

Re: [Neo] Traversers in the REST API

2010-04-08 Thread Alastair James
On 8 April 2010 21:17, Michael Ludwig 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 matching

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

2010-04-08 Thread Alastair James
ins. > Any thoughts on what constitutes *graphiness*, if I may venture this > term? > -- > Michael Ludwig > ___ > Neo mailing list > User@lists.neo4j.org >[1]https://lists.neo4j.org/mailman/listinfo/user > > References

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

2010-04-08 Thread Alastair James
Hi... On 8 April 2010 22:35, Michael Ludwig 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 made me think

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

2010-04-08 Thread Alastair James
On 8 April 2010 11:43, wrote: > Just trying to make the point that sometime abstract or generic > traversal schemes aren't always optimal and that it is often worth the > effor to explore domain-specific approaches. > The message from this thread seems to be that a) the graph model is great

Re: [Neo] Traversers in the REST API

2010-04-08 Thread Alastair James
would be more similar to a SQL cursor, what I am talking about is simply SQL LIMIT, OFFSET and ORDER BY. Cheers Al On 8 April 2010 17:23, Tobias Ivarsson wrote: > What I want to avoid > is keeping state on the server while waiting for the client to request the > next page. > --

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

2010-04-07 Thread Alastair James
> to think about it some more and see how it fits in with the other > approaches. I'm hopefull it really is something new and clever :-) > > Regards, Craig > > On Wed, Apr 7, 2010 at 6:19 PM, Alastair James wrote: > > > H... > > > > I am guessing the mo

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

2010-04-07 Thread Alastair James
gt; 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 wrote:

[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 th

[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 tag

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

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 JSO

Re: [Neo] RESTful HTML representation

2010-04-07 Thread Alastair James
technology.com] > 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.linkedi

Re: [Neo] Neo4j RESTful traversal API

2010-04-01 Thread Alastair James
>The REST component in the making is not specifically for PHP Yes, in effect this is the 'one integration method to rule them all'. Al -- Dr Alastair James CTO James Publishing Ltd. http://www.linkedin.com/pub/3/914/163 www.worldreviewer.com WINNER Travolution Awards Best Trave

Re: [Neo] Continuing REST API development

2010-03-25 Thread Alastair James
tp-server.html > . > > Take a look and see what's in there that you might provide, too. > > Bill > ___ > Neo mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Dr Alastair James

Re: [Neo] Neo4j RESTful traversal API

2010-03-22 Thread Alastair James
oped this further (there is a > post > >> somewhere in the mailing list). > >> > >> Javabride is one alternative. there are two others. One the RESTful API > and > >> another would be direct integration into the PHP language similar to the > way > >

Re: [Neo] Neo4j RESTful traversal API

2010-03-22 Thread Alastair James
ven'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: > > HI there. > > > > Loving Neo4j, but been putting off using because was no * > straightforward* &g

[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