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”.
Topics: Working with a Database, zend_controller |
Tags: authentication, doctrine, integration, zend_auth, zend_controller
Posted in Working with a Database, zend_controller |
Episode Discussion
November 5th, 2009
We’re going to build on what was covered in the last video and work with Zend Controller Plugins to specify a special layout for each module in our application. We’ll also look at how we can clean up the configuration of our Bootstrap.php file by moving as much configuration as possible into the application.ini file. Included in this video is a very quick look at how the Zend Framework’s resources are defined and loaded.
Grab a copy of the project or browse the repository.
Topics: zend_controller |
Tags: bootstrap, modules, zend_config, zend_controller_plugin
Posted in zend_controller |
12 Comments »
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.
Topics: Model-View-Controller, zend_controller |
Tags: action stack, plugin, zend_controller, zend_controller_plugin, zend_session
Posted in Model-View-Controller, zend_controller |
Episode Discussion
June 11th, 2009
I have to preface this video by saying that I’m still a bit of a novice when it comes to unit testing (especially in Zend). Also, I feel that I wouldn’t be able to take credit for the whole implementation.
Here are some great resources on unit testing in the Zend Framework to beef up your knowledge.
The trouble with these is that they’re mostly pre-1.8. I’ve taken the approach of using a command line instead of the IDE since this way it doesn’t matter if you’re using Zend Studio for Eclipse.
What’s covered:
- Using phpunit with MAMP
- Unit Testing Models
- Generating Code Coverage Reports
- Unit Testing Controllers
Don’t forget to grab the source code or browse it on google code.
Topics: Development Workflow, zend_controller |
Tags: code coverage, phpunit, zend_controller, zend_test
Posted in Development Workflow, zend_controller |
65 Comments »