PHP Advent

#[Archive]

Articles from December 2011

24 articles written for PHP Advent in December 2011.

  1. #[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...
    Derek Sivers · 3 min
  2. #[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...
    Laura Beth Denker · 5 min
  3. #[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...
    Chris Hartjes · 3 min
  4. #[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...
    Rob Allen · 3 min
  5. #[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...
    Paul Jones · 7 min
  6. #[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...
    Evert Pot · 6 min
  7. #[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...
    Elizabeth Naramore · 4 min
  8. #[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...
    Wez Furlong · 6 min
  9. #[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...
    Samer Atiani · 5 min
  10. #[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...
    Ryan Parman · 6 min
  11. #[Archive]

    Out with the Old

    Jetpacks. Flying cars. Databases able to handle infinite amounts of data. Breakthrough after breakthrough, computer engineering forges a shiny...
    Maggie Nelson · 5 min
  12. #[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...
    Michael Nitschinger · 7 min
  13. #[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...
    Beth Tucker Long · 3 min
  14. #[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...
    Jeremy Kendall · 4 min
  15. #[Browser]

    Cross-Origin Ajax with CORS

    Cross-origin requests without JSONP or proxies: the CORS headers a PHP backend has to send.
    David Walsh · 4 min
  16. #[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...
    Gwynne Raskind · 11 min
  17. #[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...
    Matt Graham · 4 min
  18. #[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...
    Ben Ramsey · 6 min
  19. #[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...
    David Coallier · 5 min
  20. #[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....
    Drew McLellan · 6 min
  21. #[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...
    Chris Cornutt · 4 min
  22. #[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...
    Rachel Andrew · 6 min
  23. #[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...
    Dan Mills · 2 min
  24. #[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...
    Jeff Loiselle · 7 min

Also in the archive: December 2010 · December 2009 · December 2008