Most Popular Blog Posts
Doctrine 2 "Behaviours" in a Nutshell
Posted about 1 year ago by beberlei
This blog entry relates to an outdated Doctrine 2 Alpha version. Please see the documentation for the most up to date behavior. One of the most common fallacies out there about Doctrine 2 abandoning Behaviours is that developers now have to implement fancy logic to re-implement them yourself... [read more] [47 Comments]
Doctrine 2 First Stable Release
Posted about 1 year ago by beberlei
We are happy to announce the immediate release of the first stable Doctrine 2.0 version. This release marks the end of 2.5 years of dedicated development starting in early 2008 and ending as a christmas present to our users. We wish everyone a merry christmas! During the last years a core team o... [read more] [46 Comments]
Doctrine MongoDB Object Document Mapper
Posted about 1 year ago by jwage
A question asked to me many times by many different people over the last year is, "will Doctrine ever have any support for MongoDB?". I have never really had an answer because we haven't had any official plans to support it as it was so new to the database world and php so nobody really knew much... [read more] [28 Comments]
Using Views with Doctrine
Posted over 2 years ago by jwage
I've seen a few requests recently on how you can use a view with Doctrine. This is very easy and I've also learned a few neat tricks that you can do to accomplish abnormal things while writing this article. Creating the View First I will demonstrate how you can turn a normal Doctrine_Query inst... [read more] [25 Comments]
Glimpse of Doctrine 2.0
Posted over 2 years ago by jwage
As you all probably already know, we have been working on Doctrine 2.0 pretty much since before we released Doctrine 1.0. This effort has been primarily led by Roman and he has done an excellent job with things so first a big thanks goes to him. A few quick facts Doctrine 2.0 will require P... [read more] [23 Comments]
MongoDB ODM: MongoDB for eCommerce
Posted about 1 year ago by avalanche123
Hi, my name is Bulat S. (my last name won't make it any easier, but in case you were wondering it's Shakirzyanov), I joined OpenSky in August 2009 (It's been almost a year since then, but it feels like ages). My official title in the company is Hacker, which also says a lot about me (th... [read more] [23 Comments]
Doctrine 1.0 Released
Posted over 3 years ago by jwage
Today I am extremely happy to introduce the first stable version of Doctrine, 1.0.0. If you've been around for a while, then you know this is a long time coming. We've been hard at work on Doctrine for nearly 3 years and it is finally time to release a version we will support with bug fix release... [read more] [22 Comments]
Doctrine 2 Preview Release
Posted over 2 years ago by romanb
Exactly one year ago today we released Doctrine 1.0 stable, which was on the birthday of Jon. Again, today we have chosen the birthday of Jon to release the first preview of Doctrine 2. This is an alpha release that is not intended for production use. Doctrine 2 marks the beginning of a new appr... [read more] [22 Comments]
PHP Benchmarking Mythbusters
Posted over 2 years ago by romanb
First of, this blog post sucks. I thought I would never write such a senseless apples and oranges comparison with artificial and meaningless benchmarks, but I was just a bit astonished by the results that I would like to share. I use object-relational mapping tools in many different languages, ... [read more] [22 Comments]
Doctrine 2 BETA1 Released
Posted about 1 year ago by romanb
Today we are pleased to announce the immediate release of the first beta version of Doctrine 2. It comes with some delay which was caused partly by our move to git and github and the switch to the Symfony Console component for the CLI. We had to confront the alpha users with quite some backwards ... [read more] [20 Comments]
Doctrine2 Behavioral Extensions
Posted about 1 year ago by gmorkevicius
These behavioral extensions will give you another view on Doctrine2 capabilities handling behaviors through the EventListeners. These extensions operate like some of the most commonly used behaviors, leaving the domain objects as clean as possible. Annotations makes it easy to understand an inten... [read more] [20 Comments]
A re-usable Versionable Behavior for Doctrine 2
Posted about 1 year ago by beberlei
This blog entry relates to an outdated Doctrine 2 Alpha version. Please see the documentation for the most up to date behavior. A test-implementation for this behavior is on github.com/beberlei/DoctrineExtensions My previous post on behaviors in Doctrine 2 generated quite some discussion abo... [read more] [19 Comments]
Doctrine 2.1 released
Posted 7 months ago by beberlei
We finished all the outstanding work on the Doctrine 2.1 branch and released the first final version. Almost all of the code was kept backwards compatible. There are only some slight changes that are explained in the UPGRADE_TO_2_1 file. This release is packed with new features and optimizations... [read more] [19 Comments]
Write your own ORM on top of Doctrine2
Posted about 1 year ago by beberlei
The Doctrine ActiveEntity Extension is just an experiment, nothing that will be developed much further from the Doctrine Dev Team. It is only a show-case for what is possible with Doctrine2. Please feel free to take the code and develop it further. Did you feel the urge to write your own ... [read more] [18 Comments]
Doctrine 1.2.0 Stable Released
Posted over 2 years ago by jwage
Today I am very happy to announce that Doctrine 1.2.0 stable has been released. This is a very significant release for Doctrine as it contains a lot of valuable enhancements and bug fixes. This will most likely be the last new version of the Doctrine 1 branch that we release. This means that it i... [read more] [17 Comments]
A Doctrine ORM/ODM Base-Class
Posted 3 months ago by beberlei
One of most common complaints about Doctrine2 is the requirement to write getters/setters for all the fields and assocations of every entity. A concern that immediately follows is that Doctrine 2 is not suitable for Rapid-Application-Development. The problem is purely a usability concern and the... [read more] [16 Comments]
Doctrine gets its first employee
Posted over 3 years ago by jwage
Starting in September 2008, I will begin working full-time on Doctrine! This great opportunity has been allowed by Sensio, the creators of the symfony MVC Framework. This arrangement will allow many great new things to happen for Doctrine. Below you will find a list of some of the things you can... [read more] [15 Comments]
Doctrine 1.1 Released
Posted over 2 years ago by jwage
Today I am very pleased to bring news to you that Doctrine 1.1.0 stable is available. This is a significant release for the 1.x code base. It contains dozens of new features and bug fixes. The 1.1 test suite now has 0 fails in the test suite compared to 1.0 having 12! We recommend you upgrade you... [read more] [15 Comments]
Doctrine 2.0.0-ALPHA3 Released
Posted over 2 years ago by jwage
Today I am happy to bring you the third alpha version of Doctrine 2! This release contains over 60 fixes and the code is starting to stabilize. Highlights [r6441] Added functionality to convert a Doctrine 1 schema to Doctrine 2 to help users with upgrading. [r6442] Work on mapping drivers, exp... [read more] [15 Comments]
Using Doctrine with Zend Framework
Posted over 3 years ago by jwage
Today, "rubenv" pinged me in IRC and told me he has put together an article on how to get started using Doctrine with the Zend Framework. The article is very simple and does not get in to the detailed usage of Doctrine, but it shows you how you to integrate the two frameworks together and even sh... [read more] [14 Comments]
New to Migrations in 1.1
Posted over 3 years ago by jwage
In Doctrine 1.1 migrations are much easier to work with. In addition to the increased stability we have enhanced the migrations in a few ways to simplify the use of them dramatically. We have introduced the following features. Diff Tool - Generate migration classes by simply changing your sche... [read more] [14 Comments]
PHP 5.3 and Doctrine 2.0 Teaser
Posted over 3 years ago by jwage
We've been really busy around here as you may have noticed. Doctrine 1.1 is about to be released, we just got some much needed new documentation, we're going to be offering a printed version of the documentation soon! Something we haven't talked to much about is Doctrine 2.0! Roman has been quiet... [read more] [14 Comments]
Moving to JIRA
Posted over 2 years ago by romanb
While we really like Trac, especially its subversion integration, it has a lot of shortcomings for bigger projects in the area of project & issue/ticket management. Hence we decided to evaluate alternatives and ended up with choosing JIRA. Its normally not free software but the generous guys ... [read more] [14 Comments]
Doctrine 2 ALPHA4 Released
Posted over 2 years ago by romanb
Today we are happy to announce the release of the next, and hopefully last, alpha release of Doctrine 2. With over 60 fixed bugs and some improvements this is another significant step towards the final release. Highlights DBAL Refactorings: [DDC-169] CLI Refactoring and Enhancements: [r6972] ... [read more] [14 Comments]
Cookbook Recipe: Relation DQL Behavior
Posted over 3 years ago by jwage
Today I will teach you how to write a simple Doctrine behavior. You will learn some of the basics of creating a behavior and you will gain some pretty cool functionality for your relationships. We will write a behavior called RelationDql which allows you to add default query parts that are autom... [read more] [13 Comments]
