View Poll Results: How did you learn php

Voters
62. You may not vote on this poll
  • From the php.net manual?

    19 30.65%
  • From online tutorials?

    17 27.42%
  • From a book?

    16 25.81%
  • Other? please state

    10 16.13%
Results 1 to 39 of 39
  1. #1
    Join Date
    Jun 2002
    Location
    United Kingdom
    Posts
    1,236

    how did you learn php

    How did you learn php???

    I have read the php manual on [h[.net but am finding it difficult to understand

    so, how did you learn php?

  2. #2
    Join Date
    Aug 2002
    Posts
    96
    Example scripts.

  3. #3
    Leaned by doing

    brute force baby... the only way to fly!

    irc.apokalyptik.com http://www.apokalyptik.com http://www.apokalyptik.com/forum/

  4. #4
    Join Date
    Jan 2002
    Location
    Kuwait
    Posts
    679
    If I could, I would choose 1 & 2

    I learned the language from the manual, then enhanced it a lot by reading articles @ phpbuilder.com.
    Ahmad Alhashemi
    PHP, Apache, C, Python, Perl, SQL
    18 related BrainBench certificates

  5. #5
    Join Date
    May 2001
    Location
    Dayton, Ohio
    Posts
    4,962
    I leard much of it from PHP.net, and knowing several programmers, so I could ask them anything, and they'd explain it...

    Made it pretty easy, but learned alot from just reading scripts...
    -Mat Sumpter
    Director, Product Engagement
    Penton Media

  6. #6
    Join Date
    Mar 2002
    Location
    Northern Ireland
    Posts
    272
    haha and I still haven't got around to learning it

    Anybody who can refer to somewhere good to learn php, then its appreciated.

  7. #7
    Join Date
    Aug 2002
    Location
    San Jose, California
    Posts
    16
    I learned most of it from the php.net manual but I learned how to interact with a MySQL database from a php/mysql book...
    -magz

  8. #8
    Join Date
    Jun 2002
    Location
    United Kingdom
    Posts
    1,236
    i can use variables, arrays, loops, ifs. else etc etc

    but mysql seems a bit more difficult

    think i will have to buy a good book on it

    any suggestions

    isn't the php cookbook meant to be good?

  9. #9
    Join Date
    Mar 2002
    Location
    Westbury, LI NY
    Posts
    1,705
    By getting eery free large php project and taking it apart line by line.

    phpBB and postNuke among others.

  10. #10
    I started learning by reading a tutorial on sitepoint then brought 2 books then just experiemented and played around and read a bit on php.net.

  11. #11
    Join Date
    Aug 2002
    Location
    Long Island
    Posts
    427
    I learned C and C++ years ago. I was working at Cablevision as a Cisco Engineer and while there I was speaking to some the the system admins. They were telling me PHP is very easy to learn if you know C already. I went out and purchased a few books and I learned within a few weeks the basics of PHP and MySQL.

    Good luck, it's a great lang to learn and of course if you have any technical or coding question feel free since after all we are all here to anwser any questions you might have..

  12. #12
    Join Date
    Dec 2000
    Location
    San Diego, CA
    Posts
    1,571
    Originally posted by jtrovato
    I learned C and C++ years ago. I was working at Cablevision as a Cisco Engineer and while there I was speaking to some the the system admins. They were telling me PHP is very easy to learn if you know C already. I went out and purchased a few books and I learned within a few weeks the basics of PHP and MySQL.

    Good luck, it's a great lang to learn and of course if you have any technical or coding question feel free since after all we are all here to anwser any questions you might have..
    I just took code from various places, and after a while my positronic pathways adjusted to the new language with ease.
    -Mooneer
    Thoughtbug Software: Hosting shouldn't require any thought.
    Legitimate host? Support the Code of Ethical Conduct

  13. #13
    Join Date
    Mar 2002
    Location
    San Jose, CA
    Posts
    34
    I learned it from the first book I could find on PHP. Core PHP by Leon Atkinson. I think there is a new edition out now that is probably pretty good.
    ranchoweb.com
    reliable linux hosting with all the trimmings
    http://www.ranchoweb.com/webhost/

  14. #14
    Join Date
    Aug 2002
    Location
    San Jose, California
    Posts
    16
    The book on php that I got is a pretty big one... close to 900 pages...
    PHP and MySQL Web Development by Luke Welling and Laura Thomson.and i think it says SAMS or somethin... mb the compnay they work for...?
    -magz

  15. #15
    Join Date
    Aug 2002
    Location
    Long Island
    Posts
    427
    That's one of the better books. It takes you from knowing nothing to creating shopping carts with MySQL. I always use this book for ref.

    John
    John Trovato
    In Office Networks, LLC
    Programmer, Cisco Network Engineer, Roofer, Biochemist, and Conductor.

  16. #16
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    1,745
    Originally posted by Ahmad
    If I could, I would choose 1 & 2

    I learned the language from the manual, then enhanced it a lot by reading articles @ phpbuilder.com.
    Yep, I'm the same.

    I also learnt from looking at various tutorials listed on http://php.resourceindex.com

    --Shaun
    Shaun Ewing
    http://shaun.net

  17. #17
    Join Date
    Aug 2002
    Location
    Baltimore, Maryland
    Posts
    580
    um, i took a class on c and c#, then a class on c++. sense i learned vb6 all bymyself and felt good at c++, php to me was just a mix between vb and c++, more towards c++ though, as for functions, i used php.net

  18. #18
    Join Date
    Feb 2002
    Location
    Peoria AZ
    Posts
    52
    php.net was a great resource for me when I needed to learn about a specific function. I learned php by all 4 of the methods listed above except online tutorials. I got one book that simplified it into dummy terms (quickstart to php) then I needed to move up to a few bigger books. Downloading free scripts and reading them as well as asking questions on alt.php (newsgroup) got me on the right track to begin with. PHP is a very elegant language to code in. It is my favorite.
    Good luck.

  19. #19
    Join Date
    Jul 2001
    Location
    Coventry, England
    Posts
    130
    I picked it up in a few days by using php.net, and looking at other scripts to see what they did. Knowing ASP helped as the two have similar structures. As I've developed, any time I've become stuck somewhere I've referred to a tutorial or forum/resource like phpbuilder for help and have sorted out what's wrong. I've also got the cookbook for occasional reference though I very rarely use it.

  20. #20
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,687
    LEARNED php??
    heh
    Well, if you insist. Actually, I found that with a c background, php became pretty much second nature to me.
    Originally I got involved with PHP through PHP-Nuke (don't hold it against me please!!), and still use Nuke today, because it does things that I don't want to create myself. Of course, I have to manage things and add things and subtract things, but that's nothing really.

    I'd say my best resource has been php.net though, for what I had problems with. It's not THAT hard to comprehend and understand
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Always looking for Linux, WHMCS, Support Desk work. PM for details

  21. #21
    First I read "PHP Fast and Easy Web Development" by Meloni. Great if you know absolutely nothing about anything except HTML, but it teaches you some bad habits. Then I used "Core PHP Programming: Using PHP to Build Dynamic Web Sites" by Atkinson and "MySQL" by DuBois (the first 1/3 is what I needed to get an "ah HA!!" experience...well worth the price of the book) while developing a site.

  22. #22
    Join Date
    Aug 2001
    Location
    Orange County, CA
    Posts
    532
    By my patented Vietnam-War coding style, of course.

    A couple years back I dropped myself into the middle of a large PHP project and had to fight my way out. Ended up carrying a couple fellow programmers to safety as well, but I'm still waiting for my medal.

    Nothing to it with a C/PERL background.
    Jeff Standen, Chief of R&D, WebGroup Media LLC. - LinkedIn
    Cerb is a fast and flexible web-based platform for business collaboration and automation. http://www.cerbweb.com/

  23. #23
    Join Date
    Aug 2001
    Location
    Orange County, CA
    Posts
    532
    Sorry to double post.

    I agree with the statement right above my last:

    I've referred about a dozen people to Julie Meloni's PHP books. I was impressed with some of the real-world examples that many of our less experienced programmers could take right out of the book and start tweaking.

    Highly recommended if you're just getting started to server-side scripting/PHP.

    For the experienced, php.net, the online manual function comments and the mailing lists are invaluable.
    Jeff Standen, Chief of R&D, WebGroup Media LLC. - LinkedIn
    Cerb is a fast and flexible web-based platform for business collaboration and automation. http://www.cerbweb.com/

  24. #24
    I learn php from some book, manuals and source code.

  25. #25
    Originally posted by mAgz
    The book on php that I got is a pretty big one... close to 900 pages...
    PHP and MySQL Web Development by Luke Welling and Laura Thomson.and i think it says SAMS or somethin... mb the compnay they work for...?
    Thats the book I used to learn with too.
    www.atlanticrail.com

  26. #26

    New to PHP world any suggestion?

    Hello, I do not have any language experience! I am fluent in HTML only, is there anyway I can learn PHP on my own? any good website that will walk me through very detail?

    thanks guys in advance!

  27. #27
    Join Date
    Aug 2002
    Location
    Istanbul / Turkey
    Posts
    214
    I was making programs with Delphi and before PHP I was writing the programs with Perl. I mean PHP was so easy to learn. The online tutorials help me. But I sometimes use PHP Manual when writing programs.

  28. #28
    Join Date
    Dec 2001
    Location
    New Hampshire
    Posts
    93
    I learned HTML by "view source" so learning PHP by example was pretty natural. Then I installed PHP on my machine, downloaded PHP.NET and use the manual for reference.
    WYSIWYG

  29. #29
    php.net

    phpbuilder.net

    and

    devshed.com

    Are sites i'll go to for reference. No books really... just hacking it out on my own.

    I went from hacking scripts such as phpnuke/oscommerce, to writing faster cleaner smaller coded sites of the same type : )

  30. #30
    Join Date
    May 2002
    Location
    UK
    Posts
    2,994
    Just taught myself from php.net. However being a Perl and C programmer beforehand helped massively as the structure of PHP is very similar.

  31. #31
    Join Date
    Aug 2002
    Location
    Chicago
    Posts
    563
    PHP.net
    This might sound funny but this one book by Julie C. Meloni called "PHP fast&easy web develelopment" and few PHP help forums.

  32. #32
    Join Date
    May 2002
    Location
    UK
    Posts
    2,994
    The user contributed annotations to the php.net manual are invaluable!

  33. #33

    Previous Programming and a friend who knew PHP

    I programmed in C/C++ for 4 years in high school, Java for 2 years and dabbled in Perl for 6 months. The move to PHP wasn't a big deal.

    There was a company that I interned at as a sysadmin. A linux kernerl hacker there also knew PHP and taught it to me, and I developed some internal webpages for the company using PHP.

    If you want some books on PHP, here are some that I have read through and recommended to others. The links are to Amazon because they have a more complete view of the books and its contents. If you plan to purchase tech books online, I recommend BookPool. They have a large selection, and their prices are usually cheaper than Amazon's.

    SAMS
    They're known for their "Teach Your Something in 24 Hours" series of books, which in the past have been pretty horrible. Recently, however, better books coming out.
    PHP and MySQL Web Developement, by Luke Welling, Laura Thomson

    Wrox
    Wrox also publishes decent PHP books:
    Professional PHP4 Programming, by Deepak Thomas, Wankyu Choi, John Coggeshall, Ken Egervari, Luis Argerich, Devon O'Dell, Jon Parise, Harish Rawat, James Moore,

    Beginning PHP4, by Chris Lea, Wankyu Choi, Allan Kent, Ganesh Prasad, Chris Ullman

    MySQL
    New Riders, like SAMS was horrible in the past, but they are starting to come out with some really good books, especially the MySQL Reference.

    MySQL (OTHER NEW RIDERS), by Paul DuBois, Michael Widenius

    DuBois's book is considered by many to be the best MySQL manual/reference in print. He'll explain things from indexing, to tempory tables to joins and how queries are executed. A good book to have around in general.


    Websites
    PHP Builder
    I remember PHP Builder was around for a very long time. They're forums were an AWESOME resource for help with Installation, PHP, Databases, Windows, etc. They have recently upgraded their fourms from an in-house software to vBulletin.

    SitePoint
    These guys are professional, and they have great articles for PHP and web developement in general. Kevin Yank wrote a fantastic article on how to intergrate Tomcat with Apache on Windows. It worked prefectly for me, and I now have an Apache server on my Win2K workstation at home that can run PHP and JSP/Servlets. WOOT!

    Zend Developer Community Pages
    Zend is the company that owns the PHP4 engine. Their developer site offers great tutorials and scripts that others have sumbitted. What better place to learn PHP than from the people who put it out?


    Advanced things
    Once you learn PHP, I'm sure you want to move on to more interesting topics and projects that would be benificial to you in the real world. For that, I would recommend that you look source code from major projects.

    phpBB is a forum software that supports multiple databases, has manny of the same features as vBulletin, and is open source (free as in beer). Their code is EXTREMELY clean. The design (in terms of code and structure of the app) is very well done, and you can learn a lot from the way they abstract their files and functionality. I can't emphasize enough how useful it is to learn a language by reading through well written and designed code.

    When you get around to learning about template systems, look into Smarty. Unlike projects such as FastTemplate, Smarty is much more powerful, clean, and fast. It kinda (really loosely) works like JSP in that it "compiles" your code and templates together into pure PHP files. It's a long story, and I can elaborate further if you want. Just look into it. Smarty is AWESEOME and I *think* is officially endorsed by the PHP Group. I could be wrong though.

    Hope this helps.
    Last edited by OnlineEditor; 09-13-2002 at 08:07 AM.

  34. #34
    Join Date
    Sep 2002
    Location
    Minnesota
    Posts
    65
    Like many others here I had taken a couple C++ classes in college. That gave me the basics on how functions work. After that, I learned by getting sample scripts that I wanted to use, open up the source code and figure out how it works. Then I'd use bits that I learned to create my own scripts.

  35. #35
    Join Date
    Sep 2002
    Location
    Canada
    Posts
    35
    From example scripts and the PHP.net Manual
    EZScripts - Quality PHP Scripts, Low Price (includes Custom Scripting on request.)
    http://www.EZScripts.net/

  36. #36
    Join Date
    Sep 2002
    Location
    MD
    Posts
    65
    any good tutorials specifically for c++ programmers?

  37. #37
    Join Date
    Mar 2002
    Posts
    376
    Books, tutorials, forums... you should take advantage of them all. I don't think its fair to say one in particular because I used them all.
    "The impossibility of conceiving that this grand and wonderous universe with our conscious selves arose through chance, seems to me the chief argument for existence of God; but whether this argument is of real value I have never been able to decide... The safest conclusion seems to be that the whole subject is beyond the scope of man's intellect." - Charles Darwin

  38. #38
    Join Date
    Nov 2001
    Location
    Cairo, Egypt
    Posts
    15
    You have to check Sitepoint they realy helped me alot!
    -m0h

  39. #39
    Join Date
    Sep 2002
    Location
    MD
    Posts
    65
    ok ill check them out

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •