php slump
Posted: Fri Dec 16, 2005 11:53 pm
Hey guys ** first post **
I’ve hit a slump in php... I’ve read a few books on it, programmed a few things to test my knowledge on getting and outputting from database..., I understand the logic of php programming... but this is where I go wrong... I’ve got enough knowledge to tackle a big project like a full blown website, I got a pretty good login coded.... but this is where I go wrong...
I need to understand how to use classes in a real world website scheme; I need to understand OPP and how it can help me out... I need to learn the power of classes cause these dumb examples I see over the internet about a class to turn on a car, and a function to turn it on and off and a return to the main program with a variable is not helping me implement into a real website environment.
This is what I need to know.... how to use classes to drive me whole website, how to use proper template, how to break a template down and if I have a module handling my template where initially do I call module? Do you call it in the template? Also I would need to know the power of a proper website structure so I can plan this full blown project out and I need to consider things like pagination and such.....
Personally I think the step from taking php into classes and using them to your advantage is one of the hardest steps in design I’m going to take.., and I need some help to get through it...
so basically what I’m asking , how do I plan a proper php project from ground up... what elements should I consider... how in-depth should a good site get....
(online resources or user input is best)
I’ve hit a slump in php... I’ve read a few books on it, programmed a few things to test my knowledge on getting and outputting from database..., I understand the logic of php programming... but this is where I go wrong... I’ve got enough knowledge to tackle a big project like a full blown website, I got a pretty good login coded.... but this is where I go wrong...
I need to understand how to use classes in a real world website scheme; I need to understand OPP and how it can help me out... I need to learn the power of classes cause these dumb examples I see over the internet about a class to turn on a car, and a function to turn it on and off and a return to the main program with a variable is not helping me implement into a real website environment.
This is what I need to know.... how to use classes to drive me whole website, how to use proper template, how to break a template down and if I have a module handling my template where initially do I call module? Do you call it in the template? Also I would need to know the power of a proper website structure so I can plan this full blown project out and I need to consider things like pagination and such.....
Personally I think the step from taking php into classes and using them to your advantage is one of the hardest steps in design I’m going to take.., and I need some help to get through it...
so basically what I’m asking , how do I plan a proper php project from ground up... what elements should I consider... how in-depth should a good site get....
(online resources or user input is best)