August 6th, 2009
Tawfek is back! This is part 1 of a two part series where Tawfek will be taking us through how Firebug and the Zend Framework can work together to provide non-intrusive debugging and accurate profiling information for an application. This is a great feature that every Zend Developer should know about. Browse or download the source code. Discuss in the Forums.
Topics: Development Workflow |
Tags: debugging, firebug, profiling, zend_controller
Posted in Development Workflow |
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 |
80 Comments »
May 21st, 2009
This is part 2 in a series on many to many with Zend_Form and Zend_Db. I suggest starting with last week’s video on Zend_Db and many-to-many in order to follow the configuration of our models. Grab the code and follow along! This concludes this series on Zend_Db. I’ve also uploaded a zipped version of the code if that’s easier than Google Code.
Topics: zend_db |
Tags: many-to-many, models, persistence, zend_controller, zend_db, zend_form
Posted in zend_db |
10 Comments »
May 13th, 2009
Exposing many-to-many in a practical application took a little more time and effort than I had anticipated. With that in mind, I to use this opportunity to explore how Zend_Form, Zend_Controller and Zend_Db could be integrated. This is the first in a two part set looking at our data model.
By the end of the second video, you should have a project that explores the following concepts with Zend_Db:
- A user has many tasks (many-to-many)
- A task has many users (many-to-many)
- A user has one contact type (one-to-many)
- A contact type has many users (many-to-one)
Unfortunately, this only gets through setting up the database, CRUD with Tasks and setting up the Many-to-Many classes in Zend_Db. The next video will cover how we can write a Zend_Form that will map the associations between the users and tasks. Enjoy!
If you can’t wait till the next video, grab the code on google code and play with it firsthand.
Topics: Zend |
Tags: many-to-many, models, persistence, zend_controller, zend_db, zend_form
Posted in Zend |
21 Comments »