The OrientDB PHP data mapper, from the trenches

Yesterday me and David just started working on the data mapper for OrientDB, pretty inspired by Doctrine2 ORM and MongoDB ODM.

As far as I feel, things are really going smooth for now and, as you can see, you are already able to map POPOs with proper annotations, which are parsed using Doctrine annotation library.

For now, the mapper is able to hydrate single records and collections, and some type casting has been done ( you are currently able to cast to boolean, string and datetime objects ).

The query builder will probably be finished in the next 2 weeks ( some SQL indexes operators are missing and, most important, integration tests ), while in the binding, thanks to Daniele Alessandri, the HTTP response class has been polished and improved.

Hi there! I recently wrote an ebook on web application security, currently sold on leanpub, the Amazon Kindle store and gumroad.

It contains 160+ pages of content dedicated to securing web applications and improving your security awareness when building web apps, with chapters ranging from explaining how to secure HTTP cookies with the right flags to understanding why it is important to consider joining a bug bounty program.

Feel free to skim through some of the free chapters published on this blog and, if the content seems interesting enough to you, grab a copy on leanpub, the Amazon Kindle store, gumroad or simply checkout right down below!

Buy the Web Application Security ebook for $9.99

In the mood for some more reading?

...or check the archives.