Not all programming styles are created equal.

There are a lot of great programmers out there, but different programmers work in different ways.

I use an Object-Oriented (O-O) programming style.  I also use a modified version of the Presentation-Abstraction-Control (PAC) pattern to organize the flow of data.  

Here are some advantages to the O-O PAC style that I adhere to: 

  1. Organizes files and code in a logical fashion
  2. Separates the logic ( PHP / MySQL ) from the visual elements ( xHTML / CSS elements )
  3. Creates a Hierarchy of Data
    • View is composed of a few Elements
    • an Element contains code for final screen output (usually xHTML or other Elements)
    • visual Elements can be moved around by modifying where an Element is called inside a View or another Element

 

Want to learn more?

If you'd like to see my O-O PAC style in action, you can visit my Portfolio or the Case Study.

If you'd like to learn more about Object-Oriented Programming or Presentation-Abstraction-Control, please view Wikipedia's articles using the links below: