#[Archive]
Articles from December 2011
24 articles written for PHP Advent in December 2011.
- #[Archive]
Because It’s Fun!
Twelve years ago, computers were a mystery to me, but a friend of mine showed me how I could just go down to the computer parts store, pick out a... - #[Archive]
More Than Just Style
PHP CodeSniffer is a wonderfully simple tool for implementing and enforcing a coding standard. The basic installation comes with a handful of... - #[Archive]
Reduced-Friction Deployment
I view my job as shepherding code from its inception in a Vim buffer, in a terminal session, in my development environment, until it makes it up into... - #[Archive]
Better Than the Rest
If you’ve written a web service that other clients are going to connect to, I’m willing to bet you think you’ve done a pretty good job. I would like... - #[Archive]
A Stitch in Time Saves Nine
It is easiest to describe the N+1 problem by example. Take a look at the following bit of PHP in a hypothetical blog app: We have a master set of... - #[Archive]
Dates and Times
Having dealt with a lot of dates and times — and the calculations between them — recently, I thought it might be a good idea to write down some of... - #[Archive]
Twilio in Two Minutes
I love Twilio . If you’re not familiar with Twilio and the amazing voice and text messaging stuff you can do with it, you’re in luck! I’m going to... - #[Archive]
Integration Testing
At some point in our respective programming careers, most of us have heard that Test-Driven Development (TDD) is what we should be doing. The TDD... - #[Archive]
Merry Error Handling
PHP does not enjoy the same consistency in error (and exception) handling as other languages, mostly due to historical reasons and the lack of a... - #[Archive]
Better Object-Oriented Arrays
I’ve been working on developer-facing software and SDKs in PHP for nearly a decade, and through the experience of supporting these developers, I’ve... - #[Archive]
Out with the Old
Jetpacks. Flying cars. Databases able to handle infinite amounts of data. Breakthrough after breakthrough, computer engineering forges a shiny... - #[Archive]
Bake Cookies Like a Chef
It’s Christmas time again. While you write the first lines of your shiny new authentication library, the smell of tasty cookies is slowly sneaking... - #[Archive]
Don’t Forget the Front
Everyone talks about automated testing for your code, but that’s only half of the testing I need. What about the front end? Forms need some testing... - #[Archive]
Nightmare Before (Last) Christmas
A little over a year ago I was plunged into a nightmare world. I had accepted a new job as the lone PHP developer at a relatively small business, and... - #[Browser]
Cross-Origin Ajax with CORS
Cross-origin requests without JSONP or proxies: the CORS headers a PHP backend has to send. - #[Archive]
Cracks in the Foundation
PHP has been around for a long time, and it’s starting to show its age. From top to bottom, the language has creaky joints. I’ve decided to take a... - #[Archive]
PHP for All the Things
PHP was originally designed for web sites and is still widely thought of only as a programming language for the Web. But with the approaches below... - #[Archive]
Simplifying Commerce for Small Business
Selling has never been easy. There’s too much red tape. The simple act of you giving me currency in exchange for a good or service I provide is not... - #[Archive]
Egomaniacal and Scalable Apps
The rise of cloud computing over the past few years has been incredible. Unfortunately, many still do not see the interest or do not comprehend its... - #[Archive]
Code for the Users, Not for the Spec
I don’t know exactly when it was that I started to resent the people I was writing code for, but it was a sure sign that I was feeling burned out.... - #[Archive]
Social-Driven Development
As any developer can tell you, the way we write apps has changed dramatically over the past year. It’s been amazing to see how the quality of code... - #[Archive]
Keep the Front in the Front
I’m both a front- and back-end developer, and, at edgeofmyseat.com , we mainly work on projects where we get to control the full stack — from server... - #[Archive]
Look Ma! No Passwords!
Your user sign-in experience is one of the most important interactions on your site, and all of the options you have fall short of what you need. You... - #[Archive]
Facilitating Development Environment Consistency
Every developer is different, but your team’s development environment does not have to be. A modern web app uses many different technologies. Common...
Also in the archive: December 2010 · December 2009 · December 2008