0

How to do OOP Based Web Design in PHP?

May be you could link to me a post containing a tutorial or reference to Design Web in OOP Fashion?

Starx
  • 77,474
  • 47
  • 185
  • 261
  • OOP Based Web Design? For example, Defining a class for menu item then it's entities would be link, alt, title and methods would be goToLink() etc – Starx May 28 '10 at 18:05

2 Answers2

4

The easiest way is to get a framework to help you with it. By far the most common pattern is Model-View-Controller, or MVC.

Try
These
Questions

The last one has a good link to the PHP manual guide to OOP.

Community
  • 1
  • 1
Tesserex
  • 17,166
  • 5
  • 66
  • 106
0

if you are beginner then I will suggest to read The essentials of Object Oriented PHP. You will get Clear concept of major OOP concepts with example. There are exercise section after each chapter and end of the book with solution too.

Also check this serious of Videos PHP OOP Tutorials

kazi
  • 152
  • 1
  • 12