| Active Users: |
40 |
| Accounts: |
0 |
| Guests: |
40 |
|
|
|
|
|
|
|
Using Phing to automate the generation of class skeletons for the Zend Framework
As I'm not very challenged by doing monotonic and repetitive work, as the building of custom controller and model classes of the Zend Framework is, I crafted an automation solution for these two tasks using Phing.
The tasks I wanted to automate were the creation of custom controller and model class by calling a build file. So I wrote two templates deriving from Zend_Controller_Action and Zend_Db_Table including some common methods used in all my controller/model classes like i.e. getModelInstance() in any custom Zend_Db_Table derivation. I could have also build my own extended base classes and let my custom controllers/models derive from them, but for the sport of it I didn't.
| Zend Framework Version: |
0.8.0
|
| Author Name: |
Raphael Stolt
|
| Source: |
<raphael.on.php/>
|
| Referred By: |
Zend Framework Tutorials
|
|
|
Rating: 5.00/10 (1 vote cast)
|
|
|
|
|
|
|
|
|