Logging in Users using Doctrine and Zend_Auth

January 26th, 2010

Here’s the second part of my Doctrine / Zend_Auth example. In 15 minutes, we create a logout, login and protected area that’s reliant on the ZC_Auth_Adapter adapter we created in last week’s video. Notice how there’s no code in the IndexController exposing the authentication implementation,

Grab a copy of the project or browse the repository.

Also, a big thank you to ServerGrove for extending their support of Zendcasts for January. ServerGrove specializes in Zend Framework hosting and they’ve offered a 10% rebate on hosting with coupon code “zc”. If you’re looking for a host, be sure to check them out (referral). They’ve also added an additional coupon for “Mini Hosting” plans, get $2 off by using code “zcmini”.

 

Deep Integration between Zend and Doctrine 1.2

January 13th, 2010

There’s been a lot of talk online about finding the best approach for bringing Zend and Doctrine 1.x together. This video is my humble approach of combining some of the learning brought about over the last few weeks on Zendcasts, as well as suggestions from Doctrine developers.

The goal of this video is to show how you leverage the existing resource loading tools in Zend to have a model structure that reflects Zend’s best practices. This video builds on the last Doctrine video, but if you’re familiar with both frameworks, you should be able to follow along. Enjoy!

Grab a copy of the project or browse the repository.

Also, a big thank you to ServerGrove for extending their support of Zendcasts for January. ServerGrove specializes in Zend Framework hosting and they’ve offered a 10% rebate on hosting with coupon code “zc”. If you’re looking for a host, be sure to check them out. They’ve also added an additional coupon for “Mini Hosting” plans, get $2 off by using code “zcmini”.

 

Doctrine Relations and Zend MVC

December 28th, 2009

This short podcast covers how you can easily build a form using Zend’s MVC model via Zend_Controller and using Doctrine for persistence.

You can download the source code or browse it online. Enjoy!

 

Protecting Assets with Zend Controller Plugins

October 30th, 2009

I had to take a little hiatus the last few weeks, however I’m hoping to get back into a weekly posting schedule.

This video is an introduction in how to effectively use Zend Controller Plugins. The Zend Documentation refers to Zend Controller plugins being part of the Action Stack which is a simple data structure that can be filled with a bunch of plugins which will run in succession.

We’ll create a simple asset protection script using the Zend Framework’s built in Zend Controller Plugin architecture.

Grab a copy of the project or browse the repository.

 
Desktop RSS feed iPhone + iPod