arangodb / arangodb-php

PHP ODM for ArangoDB
https://www.arangodb.com
Apache License 2.0
183 stars 46 forks source link

Refactor function names to better match the server api #14

Closed frankmayer closed 12 years ago

frankmayer commented 12 years ago

We should refactor the function names in the classes to better reflect the server api functions for more uniformity. Here's what has to be done.

in issue https://github.com/triAGENS/ArangoDB-PHP/issues/13 @jsteemann wrote:

The APIs changed several times in the beginning. The PHP client API for example does not have a db class/object at all, so there is not use case for the underscore methods in it. My suggestion for collection method names in the PHP API (class CollectionHandler) therefore is:

Then there's the DocumentHandler:

frankmayer commented 12 years ago

Refactoring is done, test are written and pass. There a also a few bugs fixed in the testsuite which got through the last time. I will make a pull request later on and tag it 1.0beta1 for now.

jsteemann commented 12 years ago

done by Frank. Thanks!