CAT | Web Development
13
Load testing by replaying Apache httpd access logs
No comments · Posted by Adam Lundrigan in CDLI, Web Development
Two weeks ago I oversaw the launch of our new public web site. The whole exercise was an unparalleled failure; as soon as the first peak load hit the server took a prolonged lie-down, and so the site was generally unreachable for end users. What went wrong? I didn’t adequately load test the application to [...]
access log · apache · Apache HTTPD · httpd · Javascript · load · Node.js · NodeJS · testing
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
10
zfD2L – Desire2Learn Web Services for Zend Framework
No comments · Posted by Adam Lundrigan in CDLI, Desire2Learn, Web Development, Zend Framework
For the better part of this past year, my job has consisted mainly of building (or rebuilding) a number of web portals. These portals all have two things in common: (1) they are built upon Zend Framework, and (2) they need to interface with the Desire2Learn Learning Environment (LE). The result of this confluence of [...]
No tags
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
8
phpELive – Elluminate Live! Integration made easy
No comments · Posted by Adam Lundrigan in Elluminate Live!, Web Development
Introduction One of the recent projects I have been working on at my day job with CDLI has been to integrate our custom-built web portal with Elluminate Live!. We wanted to be able to populate that tool’s user, meeting and participant information automatically with information corresponding to course enrollments in our web portal. The end [...]
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

