|

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

  • |

    On Buying Jeans and App Subscriptions

    It seems that increasingly, more software companies are moving to a subscription model, where instead of paying once to own the software (or app), you pay monthly, or annually, to keep using it at the latest features. Adobe was perhaps one of the first major companies to do it with Creative Cloud. Now we see…

  • Have an Inquisitive Mind

    If I had to pick one thing I knew for certain my wife likes about me, it would be my inquisitive nature. She says it regularly. It’s because we’ll be talking about something and I’ll blurt out, “I wonder how that started,” or “Who do you think the first person to try that was,” or…

  • |

    Why You Should Podcast to Promote Your Book

    Writing a book is hard work – you need to do research, outline, map out everything, then write, edit, write more, and have it reviewed. That doesn’t even include graphics, auxiliary content, or promoting the book. In fact, if you’re anything like me, you’re so burnt out by the end of the process that promoting is the last thing on your mind. But it must be done, and podcasting is a great way to do it. Here’s why.

  • WordPress’ Seat at the Table

    [audio src="https://episodes.castos.com/5f436edb798df2-94459192/1/c9009f71-54d2-4fb2-b792-646d2ad3dec7/WordPress-Seat-at-the-Table.mp3" /]

    After 2021 ended with a call from Matt Mullenweg to contribute more to open source (specifically WordPress), 2022 began with a less rosy picture of the open source space. Some of the biggest names in tech met at the White House to discuss how to identify critical open source projects. surreptitiously missing from this meeting was representation for WordPress. But that’s because we need to answer an important question: Who?

    Brought to you by GoDaddy Pro. Get all of the show notes, and a written to be read article over at https://wp-review.castos.com/37

  • |

    Should You Upgrade to the Verizon iPhone?

    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! At long last it has happened. 4 years and 2 days after the first iPhone was announced for ATT, the…

  • MemberPress and Asking: Is the WordPress Way the Right Way?



    MemberPress made some waves this week when it was discovered that they were completely locking out users who had expired license keys. The WordPress way is you get access to the plugin, which you get to keep because it’s open source, whether or not you keep paying for the license. Generally, support and updates are the things that you keep paying for. But why is this the case when virtually every other piece of software we use today is based on, “a keep paying for access” model?

    Brought to you by GoDaddy Pro.  Get all of the show notes, and a written to be read article over at https://wp-review.castos.com/47