Click to See Complete Forum and Search --> : Back to basics


Merve
03-26-2004, 07:41 PM
Okay, I just figured out that I know PHP. Sounds stupid, I know, but I realised that if I was going to ever code anything useful with what I know, I was going to have to learn more...not more functions...everybody knows functions! I bet half the people here could recite all the string handling functions there are! (okay, not literally, but you catch my drift...anyway, to the point then, I'm going to code a forum, and after browsing through php.net, I discovered that there were basic things that I had never bothered to learn, such as break and continue, as well as some of the other stuff on classes/objects...this is basic stuff!

Has anybody else ever found themselves in a "back-to-basics" PHP programming situation?

LordShryku
03-27-2004, 12:26 AM
Just about every day. After spending hours over-thinking what I'm doing and sometimes laying out code for functions that already exist. I have this tendancy to make things harder than they have to be, then later on, slapping myself and going "back to basics"...

mogster
03-27-2004, 06:45 AM
Yep, I'm constantly re-inventing the gunpowder too :D

But it's the beauty with php: you don't have to learn everything before you start.

Probably a sound thing to revise your code at intervals, though. I'm currently been doing that, and is working on separating php and html (ouch), removing backslashed code (ouch!) and generally making it more efficient and easy to reimplement at new sites.

knutm :-)

Merve
03-27-2004, 09:27 AM
I always thought that classes/objects were a waste time, but now that I see how useful they are, I'm starting to learn them; I'm also going back and learning about the operators....lots of stuff that I didn't even know I could I can now do...