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 shows a very simple web application. The article can be found here.
Comments (14) [ add comment ]
Posted by Alexander about over 3 years ago.
Zend + phpdoctrine + smarty, perfect match? ;)
Posted by Pierre about over 3 years ago.
Nope. eZ Template, Zend Framework, PHPIDS and Doctrine - that's a perfect match. But a lot of work to let everything work well together.
Perfect Combo... Posted by brikou about over 3 years ago.
Perfect Combo is just : Zend Framework + Doctrine + Coffee
KISS rules
Posted by Pierre about over 3 years ago.
If you bother your designers to learn PHP ... k!
Everybody has their favourite tools Posted by Werner about over 3 years ago.
Flexibility and choice are the most important things. It's sad when you are bound to a template or orm implementation by your framework.
btw - I prefer using ZF + Doctrine + PHPTAL :)
Thanks Posted by Dimalta about over 3 years ago.
Zend Framework and Doctrine perfect match
And my designer loves Php because it's easy to learn, because it's Very easy to learn for what he has to do in the templates and because when he learns how to use Php he learns something useful for many thinks not just templates!
JD :)
Data validation Posted by Calin about over 3 years ago.
Hi! It is possible to validate data with Doctrine (because data validation at model it's much safer) and at the same time to use Zend_Form (and display errors from Doc trine validation in Zend_Form) ?
yes Posted by pimpinken about over 3 years ago.
Doctrine does handles data validation.
hmm Posted by psxxsp about over 3 years ago.
zend + doctrine + xslt :)
I love the combination of Doctrine, ZF, and Smarty Posted by Eric about over 3 years ago.
I've also written an article on how they can interact with each other quite transparently by using only autoload and setting the include_path: http://sourceboy.com/article/php/web-application-development
Solution Integrated Development for RIA's Posted by Nelson Cano about over 3 years ago.
Doctrine integrate with Zend Framework and Adobe Flex SDK is a solution through Zend_Amf powerful, scalable, modular and practices in order to make a real web application spiked in a short time.
perfect match Posted by Alexandr about about 1 year ago.
zend + doctrine I guess :) even though I guess zend + doctrine + xstl does make alot of sense. As for smarty / phptal with which I worked for years: possible to integrate into zend, but not necessary at all. In the beginning my team and I were still integrating smarty into zend. Then it turned out it is just an overhead - a meta-layer we do not need anymore. The whole layout/view stuff of zend framework is enough and also everything is integrated with the framework. it's pretty convenient to do something like $confArray = Zend_Registry::get('confArray'); within your views to access certain objects/arrays from the registry. Smarty was really great a couple of years ago when there was absolutely no structure in most peoples php applications. nowadays there is no reason to use smarty anymore. as for "template designers": workflow should be: finsish template -> give it to programmers/integrators. who wants designers to fuddle with the php code?
Doctrine with Zend Framework Posted by Doctrine with Zend Framework about 9 months ago.
Can Zend Framework instead of Doctrine ?
Doctrine Posted by Phu about 6 months ago.
This is really a good sample for Doctrine. Thanks alot