[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: [Neo4j] PHP REST API client

2010-06-02 Thread Anders Nawroth
Hi! This is awesome! I tried it out and have a suggestion: to make the semantics for "storing NULLs" consistent you could change the PropertyContainer::__set method to remove the property if it exists when trying to set it to NULL. This will make sure NULL is returned when you try to read the

Re: [Neo4j] PHP REST API client

2010-06-02 Thread Alastair James
Hi! I tried it out and have a suggestion: to make the semantics for "storing > NULLs" consistent you could change the PropertyContainer::__set method > to remove the property if it exists when trying to set it to NULL. > Excellent idea! I will add ASAP. > For some reason calling Node::save twi

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