> Had a couple questions to post this morning. This one is very open-ended. > I've been looking at PHP ORM's like: > > http://www.doctrine-project.org/ > > And am curious to know if it's worth my time to learn and use a system like > this. Thoughts?
ORM's are pretty good to have if you dont want to spend the time writing all the database backend code. It can be a life-saver on many projects. If you are not familiar with the concepts that ORM offers especially with PHP or the language that you are writing in, then I would suggest spending the time to learn the key concepts and theory behind it first, so that you have a solid foundation. Then from there you can make an educated decision on the ORM project that you think would be beneficial for your project. I have ran into issues on numerous projects where the ORM tools where decided without ample review of the business logic or design - thus hampering the project. Also if you are not up to par on PHP Object design methodology it might be good to do that. Also I would look at which database you are using so you know the limitations of ORM with your specific db. (Sometimes there are better ways to do things like mass deletes without going through ORM that you might need to be aware of) With that said, it is very ideal to map your db to objects. hth, -- thebigdog _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
