Frameworks

Integrating Doctrine: Symfony vs Yii

Continuing with Symfony vs Yii series, in this post will be shown how to integrate the best PHP ORM into our project. The versions that will be used are Yii 1.1.5, Symfony 1.4.8, and Doctrine 1.2.3. First, it will be shown the steps to properly integrate Doctrine with Yii, which has no native connection, but there is a very useful plugin (doctrine-Yii) to do so. Then the same but with Symfony, which will be a very straightforward process… Read More »Integrating Doctrine: Symfony vs Yii

Passing parameters from the action to the view: Symfony vs Yii

This is the first post in the Symfony vs Yii series, that compare common functionalities between Symfony 1 and Yii, specifycally symfony 1.4.8 and Yii 1.1.5. In the Model View Controller pattern, the controller needs to send information to the view, to be properly displayed to the user. This information is send in form of variables. Then, this time I will show how to pass custom variables from the controller (Yii) or action (symfony) to… Read More »Passing parameters from the action to the view: Symfony vs Yii

Yii framework

The last week I have started a new project that requires to learn a new framework. This new framework is Yii, as it home page says: “The Fast, Secure and Professional PHP Framework”. Some time ago I have worked with Zend Framework and Code Igniter and, as someone said sometime, there is no better framework, there is just a set of tools that should be used wisely for the right job. Yii, was developed and is… Read More »Yii framework

Propel2 and Doctrine2: Together but not scrambled

Eleven days ago, the core team from the Propel Project was discussing about its future. Some thought that this meeting was just to give a final “rest in peace” to Propel, however they could not be more wrong. Propel is more alive than ever!. Many years ago, in the beginnings of 2008, I met a framework, it was our beloved symfony framework, and with it, I met a great ORM (you can guess), it was Propel.… Read More »Propel2 and Doctrine2: Together but not scrambled