Classes & Examples Sub-Category

December 6th, 2007 by rvdavid Leave a reply »

I’ve created a “Classes & Examples” sub category for PHP. This category will be different from actual Design Patterns in a way that these will be more practical examples which you can modify and use in your own code base (all I ask is that you leave my name somewhere in the credits).

The Posts I will be making in the “Classes & Examples” Sub-Category will be formatted in the following way:

  • Problem: This is a short description of the problem that the PHP Class or Example will be solving.
  • Class Name: The name of the PHP class.
  • Responsibilities: The responsibilities of the PHP class.
  • Collaborators: This lists the classes that interact with the PHP Class I will be using in the example.
  • Code: What good is an example without any code?
  • Considerations & Conclusion: This part of the post covers things that should be considered either when developing or using the class or code example.

As you can see, I will be trying to follow a specific format. I have some pretty big plans for this section, I hope you will find it as useful as I intend it to be.

regards.

You may also be interested in the following posts

Advertisement

Leave a Reply