How to Create Custom Doctrine Models for Pluggable ZF Modules

Well, in my previous post, I had mentioned about “pluggable” modules for Zend Framework. They had their own, configuration files, controllers and views. However most generally, you also need database tables and models. So there should be a way to define them too. It’s easy if you are making your ORM manually. However for the ones who use Doctrine out there, things are not that simple.
Continue reading How to Create Custom Doctrine Models for Pluggable ZF Modules

Creating Doctrine adapter for Zend_Auth

Hi, as you know I have put a lot effort to integrate Doctrine and Zend Framework together and I have written quite a lot about them recently. So it’s one of them. As you may know, Zend Framework has a component called Zend_Auth which is used to authenticate and authorize people. It contains lots of different adapters like Digest, Http or DbTable. However it does not have a Doctrine adapter yet. And this blog will mention you about it.
Continue reading Creating Doctrine adapter for Zend_Auth

Creating a Doctrine CLI and Adding it to Zend_Tool

i will try to explain you how you can create a command which you can use on your command line to execute doctrine commands. This is the first part of the post. The second part is a bit fantasy. I have tried to integrate doctrine to Zend_Tool and wanted to call it like:

zf.sh generate doctrine sql

Actually, you don’t need such a thing. First part is pretty much enough for you. Second part is just for fun.
Continue reading Creating a Doctrine CLI and Adding it to Zend_Tool

Integrating Zend Framework with Doctrine ORM

Yet another how-to for Zend Framework. You can find a lot of integration how-tos around the web with googling and I maybe the just one of them. I’m trying to find the wheel again. This one is like my subversion how-tos, a self reminder first. So let’s cut the crap and get down to the business.
Continue reading Integrating Zend Framework with Doctrine ORM