|

Teach yourself how to program

Note: This article was published while I was in my early 20s. I was much younger and dumber. Please don't hold it against me. One of the perils of having a 20+ year old website!

As some of you may know, I have taught myself a lot of the programming I know. It started with HTML, then CSS, some JavaScript, and then I moved on to PHP and MySQL. AJAX and Java are in the works, though I have some help from school with Java. In any case, I thought it might be good to write how I went about teaching myself PHP.

With HTML and CSS it was a little easier because I had Frontpage to learn from. But the best way to learn those 2 things it to look at other people’s source. I still do that occasionally when I see a cool CSS effect that I want to try. There are also an infinite amount of resources on HTML, as well as other Web based languages. W3 Schools is, in my opinion, the best.

PHP/MySQL Programming for the Absolute Beginner

Learning a programming language like PHP is a little harder than that because PHP is processed by the server, and is invisible to the user. When I taught myself, I first purchased a book that familiarized me with the language. PHP/MySQL Programming for the Absolute Beginner is great for that. It covered not only the language, but some theory behind programming. I strongly suggest you learn theory if you are serious about programming. While languages change, theory will always be the same. Don’t just learn the syntax of a language- but how and why each component works- Ifs, Whiles, methods/functions, etc.

In addition, read online tutorials, how tos, and do it yourself. The programs from that book and books like PHP for Dummies are good. Do a program a day- even if they are simple and easy. They are meant to teach you how to use certain types of syntax. My Del.icio.us links on the side usually have some good PHP/programming resources. PHP.net is and will always be the best. It’s a huge database of all of the php functions- Functions are code written outside of the main program that can be called upon. The ones on php.net are built in, already written. These will save you massive amounts of time you would spend writing your own stuff. PHP has over 700 built in functions. Occasionally, on this site, you will find something I have written, and I will make the code available for download.

It is not always easy to learn a programming language, but if you work hard, do practice programs and READ, you will be well on your way to writing your own apps in no time. Later!

Similar Posts

  • |

    5 Years with an iPhone

    Recently on my podcast, How I Built It, I got to speak to Stephen Hackett. During our chat I was reminded of, and subsequently mentioned, the time Phil Schiller (now an Apple Fellow – congrats Phil!) tweeted a link to my blog with the text, “Joe switched!” It was my most popular blog post up…

  • |

    Using AIM 6.0 to send Pics

    Note: This article was published while I was in my early 20s. I was much younger and dumber. Please don’t hold it against me. One of the perils of having a 20+ year old website! A couple of weeks ago, I wrote about AIM 6.0 and how I made the switch to that from GAIM….

  • | |

    2015: Resolving to Do More, and Less

    Every year I publish my list of resolutions as well as a scorecard from the previous year. For 2015, I’ve redesign the site (well, I used HTML5 Boilerplate) and broke my resolutions down into 2 categories: “Do More” and “Do Less.”

  • |

    Should we Charge Extra for IE Development?

    The exact question was worded this way: Has the time come to charge clients extra for getting their site to work in any version of IE? It’s an interesting question to say the least, and one that comes up every so often when a developer is frustrated with something that works fine in Chrome/Firefox/Safari but not…

  • The Diet: Week 2

    Current Weight: 240 lbs Change: -1 lb I started the week off well but wasn’t as good as I should have been towards the end of the week. Weekends have always posed a challenge so I have to be more mindful of that. I also have to carve out time to work out. I haven’t…

  • The WordPress Podcast Website Toolkit

    This episode marks the start of an important shift in the content here at WP Review — something I’ll dive more into after ConvertKit’s Craft + Commerce conference at the end of June. But suffice to say, creators, are growing wary of WordPress. I personally think that WordPress is the perfect tool for the growing creator economy, so here at WP Review, we’re going to spend many of the next episodes talking to creators about how WordPress can help them more than any other platform. And we’re going to start with a type of creator near and dear to my heart: the podcaster. 

    Brought to you by GoDaddy Pro