Search found 2 matches
- Tue Oct 24, 2006 2:53 pm
- Forum: PHP - Theory and Design
- Topic: Program Flow, POOP? (procedural-OO-procedural)
- Replies: 4
- Views: 1060
Sorry, if you have used web frameworks like Rails (or the many implementations of it in PHP), they all seem to have the individual scripts (for example login.php) set up like a class where each action (say login, logout) is a method of that class. I'm used to setting it up these pages in what I woul...
- Tue Oct 24, 2006 2:29 pm
- Forum: PHP - Theory and Design
- Topic: Program Flow, POOP? (procedural-OO-procedural)
- Replies: 4
- Views: 1060
Program Flow, POOP? (procedural-OO-procedural)
I'm having some trouble deciding how to structure the flow of my application. I have objects that handle the UI (View) and objects that handle the database interaction and business logic (Model). I'd like to move to a more OO design for the actual pages of the site (controllers), but I tend to lean ...