TAG | Zend Framework
7
Spying on your BF3 BattleLog friends made easy with PHP + Zend Framework
No comments · Posted by Adam Lundrigan in Zend Framework
BattlelogNotifier on GitHub: https://github.com/adamlundrigan/BattlelogNotifier Why? I enjoy first-person shooters. I especially love Battlefield 3, and I enjoy it most when playing online with my friends. After a couple of failed gaming sessions where I signed on just as they were signing off, I’d had enough; there had to be a better way…so late one night [...]
BF3 · PHP · Zend Framework · Zend_Http_Client · Zend_Oauth · Zend_Service_Twitter
30
Module Dependencies in ZF2
No comments · Posted by Adam Lundrigan in Web Development, Zend Framework
With the recent addition of Zend\Mvc and Zend\Module prototypes to the master branch of the Zend Framework v2 repostiory, i’ve started doing some experimenting with these fantabulous new components. One feature available in the code that I haven’t seen any examples of yet is the built-in dependency tracking. It is (like the components themselves) still [...]
Zend Framework · Zend\Module · Zend\Mvc · ZF2
17
Using Zend\Di in ZF1
No comments · Posted by Adam Lundrigan in Web Development, Zend Framework
Earlier this week the third development snapshot of ZF2 – Zend Framework 2.0.0dev3 – was released, and it included our first official look at the new Dependency Injection component: Zend\Di. I’ve spent some time playing with it, and am quite impressed thus far. To kick the tires, I created a simple Zend_Application-based ZF1 application (you [...]
GitHub · PHP · Zend Framework · Zend\Di · Zend_Application
27
Nested controllers in Zend Framework!
No comments · Posted by Adam Lundrigan in CDLI, Web Development, Zend Framework
Did you know that action controllers in Zend Framework can be nested (ie: placed in sub-directories within the controllers directory)? Neither did I! This undocumented feature was pointed out to me during a recent conversation with Ryan Mauger (bittarman) and Matthew Weier O’Phinney (weierophinney) on the #zftalk.dev IRC channel. Needless to say, this made my [...]
7
Running Code Coverage in Zend Framework
No comments · Posted by Adam Lundrigan in Web Development, Zend Framework
Have you ever tried running the Zend Framework unit test suite with code coverage enabled: [adam@zfdev tests]$ ./runtests.sh -h coverage ++ phpunit –verbose –coverage-html coverage AllTests [...remaining output snipped...] And get the following error: PHP Fatal error: Class ‘Zend_Tool_Project_Context_Zf_AbstractClassFile’ not found in trunk/library/Zend/Tool/Project/Context/Zf/ModelFile.php on line 35 Well then, have no fear! I’ve provided a patch [...]
code coverage · phpunit · Subversion · Unit Testing · Zend · Zend Framework · Zend_Tool
14
jQuery UI DatePicker in Zend Framework
1 Comment · Posted by Adam Lundrigan in Web Development, Zend Framework
The extras package in Zend Framework contains some pretty nifty components for working with both jQuery and jQuery UI in your Zend Framework-based applications. Â One thing I had to learn through trial and error is how to get the datePicker view helper to mesh with array field names. For example, if I wish to build [...]
jQuery · jQuery UI · PHP · Web Development · Zend · Zend Framework
29
Using Zend_Captcha_ReCaptcha
No comments · Posted by Adam Lundrigan in Web Development, Zend Framework
Short introduction to using Zend_Captcha_ReCaptcha as a standalone entity. The Zend Framework manual does not cover the use of this component well; I am working on writing a more detailed manual entry for it, of which this is the first step. This tutorial is aimed at developers who are introducing Zend Framework (ZF) components into [...]
PHP · reCAPTCHA · Web Development · Zend · Zend Framework

