Matthew Turland has been working with PHP since 2002. He has been both an author and technical editor for php|architect Magazine, spoken at multiple conferences including Confoo and php|tek, served as an instructor for php|architect training courses, and contributed to Zend Framework. He holds the PHP 5 and Zend Framework ZCE certifications and is the author of "php|architect's Guide to Web Scraping with PHP." He currently works as a Senior Engineer for Synacor. In his spare time, Matt likes to bend PHP to his will to scrape web pages and run IRC bots.

Matt's articles

  1. Error Condition Testing with PHPUnit

    PHPUnit implements its own error handler that converts errors, warnings, and notices into exceptions, and the documentation says that catching those exceptions is how you should handle testing for these types of errors. However, depending on what your code looks like, it’s possible that you’ll run into a problem with PHPUnit’s approach. This article will detail what this problem is, how it impacts your ability to test your code, and how to go about solving it.

  2. The Need for Speed: Profiling PHP with XHProf and XHGui

    Patience is a virtue, but it’s generally not one inherent to today’s society when it comes to waiting for web pages to load. Slow loading pages can significantly impact conversions and even SEO. Knowing how to locate issues affecting performance through profiling is a good skill to have, and so this article will show you how to start profiling your PHP scripts using XHProf.

  3. Let’s Talk: Efficient Communication for PHP and Android, Part 1

    This entry is part 1 of 2 in the series Let's Talk: Efficient Communication for PHP and Android

    While mobile devices have evolved dramatically, their increased availability to consumers has added strain on networks and service providers who are still struggling to make capacity meet demand. To keep hardware costs down, developers must now pinch bytes of bandwidth just as they did with memory back in the early days of computing. This two-part article will guide you through the process of building an efficient PHP-based REST web service to be consumed by an Android-based application.

  4. PHP’s Quest for Performance: From C to hhvm

    In 1994, Rasmus Lerdorf wanted a simpler way to display his résumé to Internet users and monitor traffic too it. Now PHP drives some of the world’s biggest websites. Throughout its history, users have sought new ways to increase PHP’s performance and still take advantage of the ease of development it brings.

  5. PHPMaster: Integrating Amazon S3 using PEAR

    I was recently looking for a hosting service for an application I was developing. I decided to investigate Orchestra.io , as I was expecting it to get surges of traffic at specific points during each year and needed the application to scale accordingly. In the process of reviewing documentation for Orchestra.io, I found that it doesn’t allow file uploads . Instead, it’s recommended that Amazon S3 be used for file hosting

  6. Integrating Amazon S3 using PEAR

    S3 is a distributed, pay-as-you-use file storage service by Amazon. Learn how to sign up for an S3 account and use PEAR’s Services_Amazon_S3 package to integrate the service into your PHP application.

  7. PHPMaster: Documentation Makes the World Go Round

    You’re working on a software project, probably not a new situation if you’re reading this, and happen upon specific functionality you need for your project. Being the efficient (and lazy) developer that you are, you recognize that this functionality is general enough that it’s probably been needed by someone before and a library of some sort has been written for it. Why reinvent the wheel? So you jump on your preferred search engine, find a likely candidate, skim over the landing page, and conclude that this library meets your requirements.

  8. Documentation Makes the World Go Round

    Don’t let your project lose potential users, community members, and possible contributors all because of insufficient documentation. You may be surprised how much support you receive when you make a substantial effort to document your project and make it usable for others.