Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Stefan Koopmanschap:
A rant about best practices
Jan 10, 2018 @ 13:19:02

Stefan Koopmanschap has shared a rant about best practices in a new post to his site. In it he shares some of his thoughts as presented in a lightning talk at the PHPAmersfoort meetup.

I have yet to talk to a developer that has told me that they were purposefully writing bad software. I think this is something that is part of being a developer, that you write software that is as good as you can possibly make it within the constraints that you have.

In our effort to write the Best Software Ever (TM) we read up on all the programming best practices: design patterns, refactoring and rewriting code, new concepts such as Domain-Driven Design and CQRS, all the latest frameworks and of course we test our code until we have a decent code coverage and we sit together with our teammates to do pair programming. And that's great. It is. But it isn't.

In the post he touches on a few main topics with his ideas for each:

  • Test Coverage
  • Domain-driven design
  • Frameworks
  • Event sourcing + CQRS
  • Pair programming
  • Refactoring + Rewriting

He ends the post with a suggestion to "consider all the best practices" when writing your code and developing applications. It's not just about applying them because they're defined as "best practices", it's about determining which of these practices make sense for your situation.

tagged: bestpractice rant opinion testing domaindrivendesign frameworks cqrs pairprogramming refactoring

Link: https://leftontheweb.com/blog/2018/01/10/A-Rant-About-Best-Practices/

That Podcast:
Episode 5: The One Where Everyone Is Going to London
Jul 24, 2014 @ 09:08:35

That Podcast, hosted by PHP community members Beau Simensen and Dave Marshall has posted their latest episode - Episode #5, "The One Where Everyone is Going to London".

Beau and Dave discuss having been selected to Symfony Live London and how they plan to bring their families with them so everyone can hang out in person for the first time. Beau discusses his other upcoming talks including Nomad PHP EU and php[world] and Dave talks a bit about his pair programming setup. Both agree that rewriting code from another project is a great way to really understand how the thing ticks.

There's a wide variety of topics discussed in this episode including:

You can listen to this latest episode either through the in-page player or by downloading it directly.

tagged: thatpodcast ep5 london symfonylive designpatterns pairprogramming

Link: http://thatpodcast.io/episodes/episode-5-the-one-where-everyone-is-going-to-london/