Question:

Experienced programmer, beginner web developer looking for some direction.

by  |  earlier

0 LIKES UnLike

I am a programmer by trade. I work mostly in perl and c. I also have a fairly strong back ground in Visual Basic. My database experience is primarily in IBM DB2. I have never really been exposed to web development and would like to get started. The guys that I work with that are in the dot com branch of our business mostly use PHP and mySQL so to gain more expereince I would like to start learning this. In what I have touched mySQL seems pretty straigt forward with IBM DB2 so I'm not concerned about that, but this web development looks like it is going to take some learning.

Can anyone suggest some good websites that has some tutorials on creating php web applicaions and some good reference books I can buy?

 Tags:

   Report

5 ANSWERS


  1. try quickstart


  2. If you want a combination of the both than it sounds like forums. They require both PHP and MySQL. I have a forum http://itechhq.com/board but it's run off a software called AnElectron. My suggestion is that you join up to a forum software site take a look at the code and work out what's what. That's my type of learning but I think even if it's not your type it'll help because you already have background knowledge in another Programming languages.

  3. Since you know Perl and C (especially Perl), you'll have no trouble picking up PHP. The basic language syntax, operators and features (loops, control structures, etc.) are the same or similar to other languages.

    The major difference between PHP and Perl is the object model. In Perl 5, the object stuff evolved out of what was present in the language (especially references), so it's not a true object-based language (which will change in Perl 6).

    PHP's object model is very similar to Java's. Note that I said "similar" (before I get flamed by the Java crowd). But if you understand the common concepts of objects (encapsulation, inheritance, etc), you'll be fine. And there's no requirement to use objects (unlike Java, where everything is in classes). But having an understanding of them will help when you want to use add-on modules from other sources (like PEAR).

    You should have a good understanding of how HTML/XHTML works, since PHP is tied closely to web use. You can integrate PHP into HTML pages, or visa versa. PHP can generate HTML for you as well, with simple print and echo statements.

    And there are MySQL methods built right into the language, so integrating with that is a snap. There's libraries for all major databases, so you'll be able to use what you want.

    There are a ton of PHP/MySQL books out there...you might check the user ratings at Amazon for some clues as to which ones are good and which ones suck. I learned on the fly myself, from just sitting and writing code, and referring to the PHP manual on their website and using one reference book (Core PHP Programming - out of print), but the PHP web site is a much more accurate source for what's currently in the language.

    One other thing I would recommend. Get comfortable with the environment, including Apache. I know you probably come from a Windows environment (the VB reference was a clue ;-] ), but you might want to set up a system with a current Linux distro, then install the packages for Apache server, PHP and MySQL. You can run the entire environment from a laptop, and you can dual boot back into Windows. I say this only because the setup of all the tools is infinitely simpler with most current Linux distributions (not out of my hatred for Windows...).

    Good hacking.

  4. the QuickStart books are really good, o'reilly media books are good too. PHP and MySQL for Dummies is good, but doesn't go over everything in detail. And when something is missing from a book, go to the internet then and only then, because the books are all edited and put through several editions, but the website tutorials can be made by some 5 year old kid who doesn't know that he's talking about.....

    anyhow good luck :)

  5. Check php.net , to get real life experience you can also register at freelance websites like http://getafreelnacer.com/ , http://scriptlance.biz/ , http://eufrelance.com/ ,etc and start bidding for all PHP projects posted there.

Question Stats

Latest activity: earlier.
This question has 5 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions