Doctrine 1 has the concept of behaviors which you could add to your models. One of these was the soft-delete behavior, which allowed you to “delete” records without really deleting them.
Doctrine 2 does not have behaviors due to various reasons. However, I needed a way to have a model which worked like soft-delete.
Let’s see one approach to creating such behavior in Doctrine 2.
So you want to learn to use Zend Framework, and develop a web app with it. Maybe you’ve been looking at a book to help, too.
I have recently received a review copy of Jürgen Petri’s book,