New Lynda course covering Test-Driven Development and PHPUnit
I spoke on Building APIs, focusing mostly on the upfront design of APIs, at the most recent Las Vegas PHP Meetup. Overall this was defiantly one of my better talks with lots of good feedback. One key things helped I believe in the preparation and eventual presentation of the talk. I presented a rough version […]
One of the key goals of CakePHP 3.0 as discussed recently was making CakePHP 3.0 more decoupled. CakePHP 3.0 has achieved that goal very nicely. Take a look at the CakePHP organization’s repos on GitHub and you will find a long list of decoupled collections of classes that are all part of the overall CakePHP […]
You want X lines of text. Anything after that, gracefully cut off. That’s “line clamping” and it is a perfectly legit desire. When you can count on text being a certain number of lines, you can create stronger and more reliable grids from the elements that contain that text, as well as achieve some symmetric […]
I needed a tool that either added white or black to a hex color. Launching Photoshop just to drag a color picker around wasn’t cutting it. I looked around for a web app that would do this but unfortunately most good programmers are terrible designers. I built HexColorTool to fill the gap. It’s responsive too! […]
If you plan on releasing a library as open source, please make sure it has Clear dependency/installation instructions At least one brief documentation guide A change log and tags in the repo Some information about supported language/runtime/tool versions and project maturity A mailing list where users can ask questions and help each other Doing anything […]
When providing a choice of display options, the computer should almost always respect the user’s stated preference and employ it as the default the next time around. I am amazed at how many sites and applications don’t do this and instead force users to repeat their choices again and again. In short do pagination but […]
There is a real problem going to occur with regards to the App Store and desktop/mobile software in general if pure software businesses aren’t able to sustain themselves in the long term.
A fun journey through algorithms to find a solution to getting some awesome compression stats.