Suggestions for learning PHP quickly

Discussion in 'OT Technology' started by JWolfe, Sep 15, 2003.

  1. JWolfe

    JWolfe Guest

    I just landed a contract with a friend's company to write the back-end for some website. They want it written in PHP/MySQL, neither of which I am familiar with. I do, however, know ColdFusion, Java/C++/OOP, SQL, HTML, JavaScript, etc. I am an experienced software developer and web programmer.
    So, I need to get up and running pretty fast with PHP and MySQL. Can anyone point me to some good tutorial sites/books or offer any advice about avoiding common newb mistakes?
    Any help is appreciated. :bigthumb:
     
  2. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    www.sitepointforums.com is full of PHP people. That should be a good resource for questions, but I found it best to learn from trial and error. Having a Java/C++ background should make this learning experience easy. :cool:
     
  3. JWolfe

    JWolfe Guest

    Thanks for the link.

    That's what I'm hoping. :x: I'm pretty spoiled by ColdFusion, though. CF makes things sooooo easy.
     
  4. Astro

    Astro Code Monkey

    Joined:
    Mar 18, 2000
    Messages:
    2,047
    Likes Received:
    0
    Location:
    Cleveland Ohio
    The only thing I wished I did when I started out was plan your core libraries and try to develop and test/break them first. This may take several websites before you develop your PHP tool set. Actually, you might find you just need to translate your Java coding tool set over to PHP (sorry, there's no easy way to do it other then to sit down and hammer it out - unless someone knows differently).
     
  5. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,918
    Likes Received:
    10
    Location:
    Los Angeles
    PHP was derived from C. It is REALLY easy. I kid you not. Go and buy this book: Programming PHP by O'rielly. Writtin by the PHP creator himself.

    Covers everything you need to learn about PHP.

    PHP is too easy. ;p
     
  6. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    CF? please end yourself for using CF and making lives hell for people who have to re-do your work!! :rant2:

    but learning php is a good thing! you will enjoy it! i taught it to myself over a few beers one night!
     
  7. JWolfe

    JWolfe Guest

    Huh? How so? CF is great. Did you have to port a site from CF to some other language? That would be a bitch, since CF's syntax is tag-based and pretty high-level.
    But please elaborate. Seriously, I luuuuv ColdFusion. It makes all the dumb, tedious shit fast and painless to write, but still allows for powerful low-level processing. Best of both worlds, IMO. Even after researching other cgi/scripting technologies out there, I still think CF is a great language and in many respects is far superior to the almighty PHP.
     
  8. lcoursey

    lcoursey Active Member

    Joined:
    Feb 6, 2002
    Messages:
    10,214
    Likes Received:
    0
    Location:
    Russellville, KY
    CF SUCKS MY LEFT NUT.

    Seriously. Even macromedia is giving up on it.

    Third Party Proprietary... :rolleyes:
     
  9. JWolfe

    JWolfe Guest

    Can you provide any links? I only started using CF because that's what my boss wants to use, but now that I've been working with it for over a year, I can't find any real shortcomings or problems with the platform. It works really, really well.
    Why is everyone so hostile towards CF? Really, someone give me a legit criticism beyond "/myself for using CF" or "CF sucks a nut".
     
  10. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    As mentioned, if you know some C or C++, PHP should come pretty naturally. However, I'd say the best way to learn it is just start doing a project in it and when you need help go to php.net and search the documentation. It's the best documentation I've ever seen.
     
  11. JWolfe

    JWolfe Guest

    Yeah, that's essentially what I'm doing. I've heard lots of good things about php.net.
     

Share This Page