One of the best ways to do this, many would argue, is to use
object oriented programming (OOP). ... In fact,
PHP was initially developed as a
procedural language and only later extended to OOP.
PHP programmers cannot agree on which style is preferable.
read more >>