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

Stoyan Stefanov:
How to write unmaintainable PHP code
Sep 24, 2015 @ 15:35:38

Stoyan Stefanov has reposted an article he wrote for the PHP Advent (now Web Advent) site with a tongue-in-cheek look at how to write unmaintainable code in PHP applications.

With the unemployment rates lately being at the levels that they are, everybody realizes that job security is important. And what's the best way to keep a job but to be irreplaceable, one way or another. The simple truth is that if no one can maintain the code you write, you have a job for life. Writing unmaintainable code is a special skill that, strangely enough, seem to come quite naturally to certain developers. But for the rest of you, here are some tips and hints to get you started.

He humorously suggests poor practices in your development such as:

  • starting your new job by being vocal about "shifting paradigms" and "enterprise" code
  • making it impossible for someone to change one thing without effecting another
  • ban coding conventions
  • don't write unit tests
  • not use templating

...and more. It's a funny piece that has a good message behind it. It's a perfect example of what not to do in development (and what to avoid if you're not doing them currently). The interesting thing is that this was originally published in 2009 and just about all of the points in it are still valid today.

tagged: unmaintainable humorous code opinion funny phpadvent

Link: http://www.phpied.com/how-to-write-unmaintainable-php-code-2009/

Community News:
PHP Advent 2011 is Complete!
Dec 26, 2011 @ 22:20:56

This year's PHP Advent calendar has finished up and if you haven't gotten a chance to check out some of the great content in this year's edition, be sure to take a look at the full list. It incudes topics like:

  • Front-end testing with SimpleTest
  • Scalable applications
  • Cross-origin ajax
  • working with Chef
  • Error handling
  • Dates and Times

The articles are by several well-knowns both in the PHP community and outside. While you're there, be sure to check out some of the previous years too!

tagged: complete phpadvent advent calendar tutorial article

Link:

Community News:
PHP Advent 2011
Dec 02, 2011 @ 17:02:10

It's that time of year again and this year's PHP Advent has kicked off with the first article posted yesterday. Below is a list of the articles for this year's advent calendar, to be updated as each new one is released:

Check back for the growing list as this year's advent gets more great content every day!

tagged: phpadvent advent calendar community article

Link:

Sean Coates' Blog:
Post-Advent 2010
Dec 27, 2010 @ 16:09:06

Sean Coates has posted a post-Advent wrapup after he and Chris Shiflett have posted the final PHP Advent article for 2010.

As I write this on Christmas Eve, Chris is putting the finishing touches on PHP Advent 2010. [...] Due only to the abilities and professionalism of our most excellent authors, PHP Advent 2010 was - at least in my opinion-the best year, yet. They wrote wonderful, substantial, punchy articles that informed our readers, and generated significantly more traffic than we've seen in previous years: over 70,000 views, from more than 25,000 unique visitors, so far

He also recounts a few stories from the Advents in years past - the difficulties he and Chris went through to get things organized and ready for publication and how, in 2009 some things almost didn't happen. This year's advent has come back stronger than ever with great articles on:

tagged: phpadvent history phpadvent2010 seancoates chrisshiflett

Link:

Chris Shiflett's Blog:
PHP Advent
Dec 01, 2010 @ 16:11:18

Good news for all of the fans of the PHP Advent article series that comes around this time each year - Chris Shiflett has confirmed it'll be happening again this year.

PHP Advent is our little way of showcasing some of the talented people who work with PHP in some form or fashion, and persuading them to share something they've learned during a busy month when they might otherwise keep quiet. We'll be publishing an article each day in December until Christmas.

If you're new to the PHP Advent (or advent-type article calendar things), check out last year's articles from lots of great members of the PHP community covering everything from development processes, technology tips and parenting.

tagged: phpadvent article advent calendar chrisshiflett seancoates

Link:


Trending Topics: