BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

Link 375377 thumbnail
User 280519 avatar

By mbutcher
via phparch.com
Published: Mar 08 2010 / 11:55

This article provides a nice summary of the debate(s) surrounding the static method vs. singleton debate in PHP development. It suggests Dependency Injection as a solution that should reduce or eliminate singleton usage in PHP development. It's a quick, fresh read on a well-worn issue.
  • 6
  • 1
  • 2440
  • 0

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (1)