HateEternal
Mac Metal Head
I have in a way become frustrated with PHP. I like it, it's cool, but I have a lot of problems with the way objects work as well as the major differences between versions (but i guess that is true for any language).
The biggest problem I am having is conceptualizing the best way to do things. I have this compulsion to code using objects... but I almost never can find a way to fit objects into my code. All the pages i am doing are fairly simple, simply generating links and info from a MySQL database but I HATE how the code looks. I am so used to having really neat, well organized Java classes and this just feels so weird.
Well, I guess the point that was buried some where in that rant was that I want to learn better techniques for coding PHP, does anyone know any sites that have sample code that I could look at? I just need to get a feel of what the best way of doing things is.
The biggest problem I am having is conceptualizing the best way to do things. I have this compulsion to code using objects... but I almost never can find a way to fit objects into my code. All the pages i am doing are fairly simple, simply generating links and info from a MySQL database but I HATE how the code looks. I am so used to having really neat, well organized Java classes and this just feels so weird.
Well, I guess the point that was buried some where in that rant was that I want to learn better techniques for coding PHP, does anyone know any sites that have sample code that I could look at? I just need to get a feel of what the best way of doing things is.