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

Brandon Savage's Blog:
Q&A: Answering Some Questions About Object-Oriented Programming
Oct 30, 2009 @ 14:20:52

Brandon Savage has posted the answers to some questions that were raised by a previous post of his on object-oriented development and some best practices. In this new post, he answers the questions:

  • "Often times when a developer gives each object only one responsibility, they tightly couple objects together." Can you explain?
  • I do not know about dependency injection – do you have any links that do not require subscription?
  • Can you please explain 'one object – one job' concept?

Each question is answered, sometimes with code included, to help resolve any confusion about how to correct use object oriented practices in your applications.

tagged: oop object oriented programming questions

Link:


Trending Topics: