"Spam sucks" <nomail> wrote in message
news:3f***********************@news.xs4all.nl...
Hello,
A little bit a strange question but i want to know how to program, setup
programming scematics , understanding the big picture. i am allready
programming for 4 years now with php but it is only on a small scale. i
want to build cms's, object oriented programming etc.
are there some books that you could advice me or some online lessons i
allready signed up for some lessons but they start in nov and i want to
begin now. so if you could put me in the right direction would be very
nice.
Thanks in advance,
Well, I've been programming for a very long time. I simply meditate about
code and the program's schematics appear in my mind, then I start coding.
Well, this might not happen for you, however.. Basically you need to attempt
something ambitious, and you need to use a different coding process than you
use now, and you need to succeed. This will reinforce everything you need to
know.
Basically the way I did it was I wrote a game. In the game, everything was
an object. A door was an object (i.e. it was described in a class!), the
level which contained the door was also an object. The screen was an object.
The player character was an object. The input was an object (allowing me to
easily create intelligent monsters by subclassing player and input, of
course!) etc etc.
When you can hold all these objects in your mind and when you can figure out
how they can best connect to each other, then you have achieved mastery of
object oriented programming. Now forget everything you know and write
spaghetti code because it is faster. :)
-frl