Tuesday, June 23. 2009Best Practices in Estimating
Part of the mandate for the PHP Center for Expertise inside of Ibuildings is an ongoing series of Business Process Re-Engineering projects. The first of these projects, "Estimating Best Practices", was recently completed and released. It contains the collected best practices from estimators inside Ibuildings, as well as input from external experts and published works.
Our estimating team spent two months thinking and discussing how software companies create estimates; we discussed what works and what doesn't. While the final document itself, along with the accompanying workbook, are available internally only, some of what was learned about the meta process of estimating may be interesting to others. Here are four Best Practices that came out of the process that we want to share with everyone. Continue reading "Best Practices in Estimating" Friday, August 29. 2008Zend Framework testing: emulating HTTP calls
Following last month's article by Ian, here's some thoughts on how to test a Zend Framework application.
One of the unit testing best practices suggests to break dependencies, so you can test each component separately. The first problem that arises when you want to test controllers might be having a tighter control over the HTTP Request and Response objects. Fortunately, ZF already has something that really makes your life easier, i.e. the Zend_Test_PHPUnit_ControllerTestCase class, which has stubs for the Request and Response objects, and you can easily check headers, return codes, routes, redirects, and even the view itself. Continue reading "Zend Framework testing: emulating HTTP calls" Tuesday, August 12. 2008The definition of evil
Recently a colleague stated that in theory, caching could be considered 'evil'.
Now 'evil' is a very broad term which is used a lot in the IT community, but what does it really mean when we're talking about technical solutions? I asked around, but couldn't find a clear cut definition, so I went searching... Continue reading "The definition of evil"
Posted by Boy Baukema
at
16:11
| Comment (1)
| Trackbacks (0)
Defined tags for this entry: best practices, browser, caching, development, evil, optimization, performance, scalability
Friday, May 2. 2008The Power of Refactoring"Code refactoring is any change to a computer program's code that improves its readability or simplifies its structure without changing its results." - Wikipedia I've met quite a bunch of developers that felt refactoring was a waste of time. "Why would you write code only to change the code at a later point? Why not just write the code perfectly in the first place?" or "You're writing code for the same functionality over and over again, isn't that a waste of time?" I hope to prove to you that there is much power in refactoring, but with power comes responsibility. Continue reading "The Power of Refactoring" Wednesday, April 23. 2008Looking back at FOWD 08 So there we were, april 17th, in the middle of London, making our way to The Future of Webdesign Conference. As one of three webdesigners amongst 30+ PHP developers at Ibuildings, you don't often get the chance to visit an event with the focus on your expertise. So, it was an early flight, but after 4 hours or so, webdesigner collegue Norman van der Mull, me and about 850 other design geeks arrived at Kensington Great Hall...Continue reading "Looking back at FOWD 08" Thursday, February 14. 20087 Simple PHP Best Practices
I recently read a good quote by Larry Wall (creator of Perl) saying "Real programmers can write assembly code in any language.".
The truth is: writing flexible, robust, elegant and readable/debuggable code is really really really really hard, especially in a language as 'free' as PHP is. But as with all things, practice (and constant improvement) makes perfect and over the years I've picked up a lot of 'rules of thumb' that I believe make my code just a little bit 'better'. These last couple of months I've been documenting some of them and today I'd like to share some of the more interesting ones. Continue reading "7 Simple PHP Best Practices"
(Page 1 of 1, totaling 6 entries)
|
Blog
So there we were, april 17th, in the middle of London, making our way to 