I Can't Believe You Still Do It That Way:12 Years of PHP Best Practice Talks revisited

Location: E144 Level: Intermediate
Average rating: ***..
(3.78, 9 ratings)

For the last twelve years we’ve been giving conference talks and writing books about how to develop for the web in PHP. Over that time we’ve made a bunch of recommendations: some still hold true, and some things have changed quite a bit since 2000.

In this session we’ll run through an overview of today’s best practices compared to those from the past. We’ll cover:

  • Using frameworks: We used to avoid them like the plague. Is that still true?
  • Scaling principles: In the good old days it was all master-slave replication and memcache. Will that still work? What else can we do?
  • Security: Is it still good enough to use magic quotes? (Hint: No.) What should you be doing instead?
  • Application architectures: Can you still just store everything in MySQL? When is a NoSQL data store a best practice? What about queues?
  • Language changes: In 2000 namespaces weren’t even on the radar. Do we really need all this new stuff that’s in PHP 5.3 and 5.4? What is it good for?
  • I heard PHP is dead and we should all just switch to Python or Ruby. Is that true?

Attendees will gain a high level view of how to build elegant, performant, safe, and scalable PHP applications.

Photo of Laura Thomson

Laura Thomson

Mozilla Corporation

Laura Thomson is an Engineering Manager at Mozilla Corporation, where she looks after the Webtools group, after spending much of the previous decade as a consultant and trainer on various Open Source technologies.

Laura is the co-author of “PHP and MySQL Web Development” and “MySQL Tutorial”. She is a veteran speaker at Open Source conferences world wide, including OSCON.

Photo of Luke Welling

Luke Welling

Tidal Labs

Luke Welling is from Melbourne, Australia, but lives in rural Maryland and works remotely for Silicon Valley startup, PandaWhale.

He’s seen lots of good code and bad code, and tries to write more good than bad. Over the last decade, he has applied PHP in many places where it was intended, and in many places where it was never meant to go.

With his wife Laura, he wrote the bestselling book PHP and MySQL Web Development and often speaks about PHP at conferences and user groups.

His hobbies include riding his horses and sticking Splayds in toasters, although he has not yet attempted to do both at once.


For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or scordesse@oreilly.com.

View a complete list of OSCON contacts