I learned to program by first using scripts from "cut and paste" JavaScript sites. As time went on, I gained an understanding of how they worked by observing what they did and studying the code to see which lines, statements, etc., were responsible for each phenomenon I observed. Eventually, I read the excellent JavaScript tutorials on Lycos' Webmonkey site.
After becoming proficient in JavaScript, I found that those skilled carried over into PHP quite well. I was able to begin programming in PHP simply by applying my knowledge of JavaScript and looking up the functions I needed to use in the online manual.
|