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.
I suggest using a framework like CodeIgniter or CakePHP. It separates your model (database), views (the HTML), and controllers (application logic). MVC is the way of future programming…