
attractive, usable web applications
Richard's Blog - Design, coding and life in Japan
PHP
Doctrine 2 and why you should use it!
Submitted by Richard on Thu, 07/29/2010 - 15:23If any of you are used to Hibernate in the Java world you will know what I am talking about. But Doctrine 2 is almost exactly the same as Hibernate.
I was to first make it clear that I think Doctrine is a fantastic ORM and my choice by far for any PHP project. I am currently doing a project in CakePHP which I generally like, it is far from perfect but it is heading in the direction and is getting even better with 1.3 nearly being released. It also happens to be one of the most popular open source web frameworks in Japan which is a good reason to get using it. If you can't hand code PHP or can't be bothered with working out the joins on Drupal's data structure then fine, it can save you having to deal with that. I realized it was time to install doctrine into one of my legacy apps to bring it up to date and boost it some power somewhat. It seems that documentation was a bit lagging and I particularly had trouble with the autoloading of models. Using the following in my bootstrapTags:
Doctrine ORM Joys and Frustrations
Submitted by Richard on Wed, 04/14/2010 - 22:34
Tags:
Object Relational Mappers in CakePHP, CI and other frameworks
Submitted by Richard on Mon, 03/22/2010 - 21:24
Tags:
Giving up on views in Drupal
Submitted by Richard on Wed, 03/17/2010 - 08:58
Whats wrong with views?
Tags:
Doctrine autoload problem in version 1.2.1
Submitted by Richard on Tue, 03/16/2010 - 17:17
Tags:
Recent Blog Posts