Since I just merged everything on the master, on GitHub, I made a few decisions about the OrientDB PHP library ( named Orient ) lifecycle.
Great news: we are compatible with the RC1 version of OrientDB ( the README on GitHub is not updated, sorry ).
Since the RC2 snapshot has been released, I’ll look if something is broken.
As I said, the huge work for the query builder has been done: you can find it in the
Now we’re only waiting integration tests and the resolution of a bug in OrientDB’s SQL parser.
The old stuff?
I fixed some links from my first post talking about OrientDB and PHP, through the binding of the library.
If you want to use it, just use the
We plan to have 4 beta releases in the next ¾ months:
beta-3, which marks the end of the whole query builder, meaning that all the new SQL commands are integrated in the QB and integration tests are done
beta-4, where we will be able to retrieve hydrated records from a query executed with the QB: it obviously includes annotations on your domain POPOs
beta-5, in which you’ll be able to manage repository classes
beta-6, when you will be able to persist records through the document manager
Help would be really appreciated: not only in writing bunches of code, but also in helping with the design of the whole library; for example, I just asked in OrientDB ML questions about protocols interoperability in PHP.
Feedbacks on this kind of stuff are really welcome.
What’s ok with this library?
The aim is to build a general purpose library to manage OrientDB from PHP: having loosely coupled components means that you’ll be able to use the query builder to build SQL statements, or the binding to query OrientDB with raw strings through the HTTP protocol.
Keyword: decoupling; that’s why we’re already thinking about interoperability.
Anton Terekhov is building the binding for the binary protocol, so we don’t want, for example, to force people to use the HTTP one, and that’s why the design of the whole library is made preventing coupling between components.
Ah, I was forgetting about…
You can download the library and, with phpunit, run the tests ( the integration one, for the binding, are disabled by default, since they require a working instance of OrientDB ) with:
from the root of the library.
I’ve setup also the PHP_CodeSniffer code analysis, just run:
and look into
log/report/index.html with a browser.