Doctrine

Complete Doctrine 1.2x Integration with Zend Framework 1.10+

Posted by Danny Froberg on 16 July, 2010 at 12:54 pm

To achieve com­plete Doc­trine 1 inte­gra­tion with Zend Frame­work some glue is required, Ben­jamin Eber­lei has cre­ated a com­plete solu­tion thats straight for­ward, easy to use and under­stand. This project tries to offer a com­plete Inte­gra­tion of Doc­trine 1 with Zend Frame­work. The fol­low­ing com­po­nents belong to this Inte­gra­tion: Zend_Application Resource Zend Frame­work Mod­u­lar Project […]

Zend Framework 1 and Doctrine 2 integration – modular setup

Posted by Danny Froberg on 20 June, 2010 at 2:31 pm

Elink Media posts a fol­lowup; I’ve cre­ated a new branch on my Github project “zf1-doctrine2″. The “modular_setup” branch shows how we could setup Zend Frame­work with the mod­u­lar approach, while still be able to use Doc­trine 2 as the ORM for each mod­ule. Oh well, the idea is to make each mod­ule decou­pled with the […]

Zend Framework 1 and Doctrine 2 Integration

Posted by Danny Froberg on 19 June, 2010 at 3:12 pm

Elink Media posts; Doc­trine 2 is in beta. It is for sure one of the most excit­ing things that caught my atten­tion recently. As a Zend Frame­work user, I started look­ing into ways to inte­grate Doc­trine 2 with Zend Frame­work (cur­rently in ver­sion 1). The same as any other times, the solu­tions are already out there. […]

Zend Framework + Doctrine 1 Integration

Posted by Danny Froberg on 24 May, 2010 at 10:56 am

Ben­jamin Eber­lei writes; Hello every­one, I com­pleted a first ver­sion of Zend + Doc­trine 1 inte­gra­tion today and want to share it with all you. Since cur­rently the sta­tus on a 1.11 release is unclear I con­tacted all the con­trib­u­tors to var­i­ous Doctrine-related com­po­nents and com­bined them into a sin­gle release and wrote some documentation […]

Integrating Zend_Tool Into Your Application

Posted by Danny Froberg on 23 April, 2010 at 12:35 am

Jon Leben­sold shows you how to use the Zend Tool in use­ful ways; This screen­cast should help you setup Zend_Tool in your Zend Frame­work appli­ca­tion. Zend_Tool is a com­mand line entry point into your appli­ca­tion. Cur­rently, Zend_Tool is used to scaf­fold (build generic files) the Zend Frame­work project struc­ture, mod­ules, con­trollers, data­base table classes and […]

Doctrine — Doctrine 2: Give me my constructor back

Posted by Danny Froberg on 27 March, 2010 at 7:04 pm

John Wage writes; At Con­Foo 2010 dur­ing my pre­sen­ta­tion, some­one asked about the con­struc­tor of enti­ties in Doc­trine 2 and whether or not it could be used. I think this is some­thing worth writ­ing about since in Doc­trine 1 this was not pos­si­ble. The con­struc­tor was hi-jacked from you and used inter­nally by Doc­trine. In […]

Logging with Timestamps and Doctrine Event Listeners

Posted by Danny Froberg on 17 February, 2010 at 2:02 pm

Jon Leben­sold pub­lishes another screen cast on the Doc­trine topic; This short video is going to be the last in my 2009–2010 series on Doc­trine 1.2. I’m wrap­ping it up with a lit­tle exam­ple of adding time­stamps, log­ging and using Doctrine’s event lis­tener archi­tec­ture. Grab a copy of the project or browse the repos­i­tory. view screencast; […]

Doctrine Tricks — SoftDelete

Posted by Danny Froberg on 30 January, 2010 at 11:12 pm

While pour­ing over some posts about Doc­trine I stum­bled upon a very nice solu­tion to the Cas­cad­ing Delete issue when using the Soft­Delete behav­iour on an Doc­trine Model. Here is what the guys at Elink Media writes; I have been using Doc­trine ORM for a while now. Here I want to dis­cuss 2 tricky issues […]

Logging in Users using Doctrine and Zend_Auth

Posted by Danny Froberg on 27 January, 2010 at 7:04 pm

Jon Leben­sold pub­lishes the sec­ond part of his series on using Doc­trine in com­bi­na­tion with Zend_Auth & Zend_Auth_Adaptor; Here’s the sec­ond part of my Doc­trine / Zend_Auth exam­ple. In 15 min­utes, we cre­ate a logout, login and pro­tected area that’s reliant on the ZC_Auth_Adapter adapter we cre­ated in last week’s video. Notice how there’s no […]

Writing a Zend_Auth_Adapter with Doctrine

Posted by Danny Froberg on 26 January, 2010 at 12:37 pm

Jon Leben­sold pub­lishes another install­ment of his pop­u­lar screen cast series, he writes; I’ve been using Doc­trine a lot in my own work, and recently found myself itch­ing to have tighter inte­gra­tion between Zend and Doc­trine when it comes to user logins. Luck­ily, Zend pro­vides a very sim­ple inter­face with regards to Zend_Auth. This way, […]

APC">Test Results on Memory Usage of Zend Framework and Doctrine with APC

Posted by Danny Froberg on 19 January, 2010 at 12:44 am

A few inter­est­ing obser­va­tions made by rvdavid; After inves­ti­gat­ing a rec­om­men­da­tion to use Doc­trine by a fel­low blog­ger, Brian at Real of Zod, I have decided to run with Doc­trine as my Domain Model in Zend Frame­work projects. The thing is, if I’m going to com­mit to this, I need to know that appli­ca­tions I […]

Deep Integration between Zend Framework and Doctrine 1.2

Posted by Danny Froberg on 14 January, 2010 at 1:26 pm

There’s been a lot of talk online about find­ing the best approach for bring­ing Zend Frame­work and Doc­trine 1.x together. This video is my hum­ble approach of com­bin­ing some of the learn­ing brought about over the last few weeks on Zend­casts, as well as sug­ges­tions from Doc­trine devel­op­ers. The goal of this video is to […]

Setting Up Doctrine for Zend Framework 1.9.x

Posted by Danny Froberg on 4 January, 2010 at 10:20 pm

After some fid­dling and googling and Zend­cast watch­ing :) I fig­ured out how to get the mod­els to gen­er­ate the way I needed them to.
And fig­ur­ing out why generate-sql and build-all-reload did not cre­ate sql schema nor cre­ate any tables in the mysql database.

Generate Doctrine models/classes that extend a custom record class

Posted by Danny Froberg on 31 December, 2009 at 9:47 pm

When using using Doc­trine 1.2.1 and Zend Frame­work 1.9.x to gen­er­ate classes from Yaml/db each Base class (which includes the table def­i­n­i­tion) extends the Doctrine_Record class.

PHP">Object-relational mapping with Doctrine, Flash Builder, and PHP

Posted by Danny Froberg on 31 December, 2009 at 9:05 pm

Richard Bates @ Zend Devel­oper Zone wrote a good arti­cle on my favorite ORM Doc­trine inte­gra­tion in Zend; Rich Inter­net appli­ca­tions built with Adobe Flex and Flash Builder have been steadily gain­ing a foothold in enter­prise devel­op­ment for quite some time. As the plat­form has grown and evolved, PHP has also made amaz­ing progress toward becoming […]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes