PHP coding - A class for each view or one class to rule them all?

Posted by Kyle on Stack Overflow See other posts from Stack Overflow or by Kyle
Published on 2010-12-27T22:41:51Z Indexed on 2010/12/27 22:53 UTC
Read the original article Hit count: 142

Filed under:
|

I am starting my first "programming" project in PHP making some sort of web application that give the linux program, Motion, a decent web interface.

Anyways, I was curious as to how when real applications are programmed, do y'all go for a class for each view or one single class for the application altogether? I know this is more of a preference thing, I was just curious as to how it happens in real software.

© Stack Overflow or respective owner

Related posts about php

Related posts about class