lambada
New Member
- Messages
- 2,444
- Reaction score
- 0
- Points
- 0
How much of the PHP processing do you recommend to put in classes?
Do you use classes for everything, or just minimal parts like DB work?
Or do you do something in between?
I'm trying to switch to using calsses, but I think i'm going overboard with a class for everything - the route through them is too complicated for me to follow now.
What balance would you recommend, and what things would you put in a classes? This is in terms of a simple CMS. Users, pages, admin pages, comments etc.
Do you use classes for everything, or just minimal parts like DB work?
Or do you do something in between?
I'm trying to switch to using calsses, but I think i'm going overboard with a class for everything - the route through them is too complicated for me to follow now.
What balance would you recommend, and what things would you put in a classes? This is in terms of a simple CMS. Users, pages, admin pages, comments etc.