SitePoint Sponsor

User Tag List

Results 1 to 17 of 17
  1. #1
    SitePoint Enthusiast EComNinja's Avatar
    Join Date
    Apr 2003
    Location
    San Jose, CA
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Best way to learn PHP?

    What is the fastest and easiest way to learn PHP?

    Thanks.
    ~Ninja

  2. #2
    SitePoint Member Signmark's Avatar
    Join Date
    Apr 2003
    Location
    Belarus
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by EComNinja
    What is the fastest and easiest way to learn PHP?

    Thanks.
    Developing, reading docs and others' codes.

  3. #3
    SitePoint Evangelist MobileBadBoy's Avatar
    Join Date
    Jun 2002
    Location
    Mobile, Alabama
    Posts
    451
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would assume everyone is different. Some prefer books as their method, some go strictly off the Internet (the manual, tutorials, pre-scripted stuff to look at and see what it does, etc).

    I've always done it the 2nd way. Same way I learned HTML and Flash.
    Shawn Kerr .com

  4. #4
    ********* Genius Mike's Avatar
    Join Date
    Apr 2001
    Location
    Canada
    Posts
    5,458
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Practice, practice, practice. And I like books too.
    Mike
    It's not who I am underneath, but what I do that defines me.

  5. #5
    SitePoint Guru
    Join Date
    Jun 2001
    Location
    Australia
    Posts
    676
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Get Kevin Yank's Book! [img]images/smilies/wink.gif[/img]

  6. #6
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  7. #7
    Non-Member
    Join Date
    Jan 2003
    Posts
    5,748
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I agree - the Internet.

    There is just an unbelievable amount of information on the Net you simply do not need to read books anymore 8)

    Also visit forums regularly even though there might be nothing of interest to your scripting directly you're sure to learn something here and there - a better way of doing that or whatever.

    You won't be wasting your time - stick with s/point and you'll be ok.

    Also study..study..study and just try something/idea just to see if it works or not. If not then go and debug the bloody thing - that's how I learn.

  8. #8
    SitePoint Addict
    Join Date
    Dec 2002
    Location
    Gent, Belgium, Europe, World, Univers
    Posts
    397
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I downloaded the manual & printed it. Read it in my bed, then practised alot.

    Never had a book to begin with, I bought some later on ... But not the basic stuff.

  9. #9
    ********* Wizard silver trophy Cam's Avatar
    Join Date
    Aug 2002
    Location
    Burpengary, Australia
    Posts
    4,495
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    I learned by reading other peoples code and trying to figure out how it worked. I was pretty unlucky though as I came in just when people were changing from register_globals ON to OFF so I had to keep on my toes

  10. #10
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DJ P@CkMaN
    I learned by reading other peoples code and trying to figure out how it worked. I was pretty unlucky though as I came in just when people were changing from register_globals ON to OFF so I had to keep on my toes [img]images/smilies/wink.gif[/img]
    Well, it looks like were heading for PHP5, so you always have to keep on your toes with php, as theres always something new.

  11. #11
    ********* Wizard silver trophy Cam's Avatar
    Join Date
    Aug 2002
    Location
    Burpengary, Australia
    Posts
    4,495
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Andrew-J2000
    Well, it looks like were heading for PHP5, so you always have to keep on your toes with php, as theres always something new.
    True, but once you have to basics up your sleeve, new features aren't so tricky to grasp.

  12. #12
    SitePoint Guru
    Join Date
    Feb 2002
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ask yourself these questions.

    1.)Do you have any experience with other programming languages?

    2.)Are you a techie person? (ie. advanced knowledge of computers in general, you know what configuration files are, you know where to look if an error is returned [log files etc...]...)

    3.) Do you have lots of time to learn PHP ?

    If you answered all three questions with yes, than i think you can easily learn PHP purely from the Internet, otherwise im pretty sure you'll learn a lot faster with a book that shows you how to get started.

    Now, i don't own Kevin's book, but i have read the first 4 chapters (i already knew PHP to some extent), but i think what makes it a good book is
    1.) It is written in a way that everything is really easy to understand
    2.) It takes you from the very beginning to quite an advanced level
    3.) IMHO the price/value for this book is yet to be beaten compared to other books. It is the cheapest PHP book I have seen which has also received so much positive feedback.

    So, to summarize, it's like one huge tutorial, that takes you from the typical "Hello World" to your very own "content management system" (sort of).

    But, to keep things honest (it's not like im trying to advertise Kevin's book here), you can find most of the information in Kevin's book on the Internet as well, with all the advantages/disadvantages that come along (ie. you'll have to find it first, you prolly don't know what to search for etc... while the only advantage i can think of is it's free...).

    Plus, of course, there is nothing like taking a book into bed to read a bit before falling asleep

    But, i've got an idea, why don't you just read up the first 4 chapters (Kevin's book ), and make up your own oppinion.

    Either way, i hope this information is of any help to you

  13. #13
    SitePoint Member
    Join Date
    Apr 2003
    Location
    France
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Books are too easy and not really useful to learn how to create a good script.

    The real way is:
    - Practice + a lot of time (10H/day is a good way)
    - php.net for all problems/questions.
    Imagination is more important than knowledge. A. Einstein

    Very Secure wwwboard script:
    Demo - Download

  14. #14
    As the name suggests... trickie's Avatar
    Join Date
    Jul 2002
    Location
    Melbourne, Australia
    Posts
    678
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    books are good to begin with.

    then try to build a fully fledged content management system.

    then scrap everything and start again (now that you have learnt the power and limitiations of PHP, and have discovered how to NOT design PHP)

  15. #15
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by trickie
    books are good to begin with.

    then try to build a fully fledged content management system.

    then scrap everything and start again (now that you have learnt the power and limitiations of PHP, and have discovered how to NOT design PHP)
    IMO, the syntax and structure is the easy part, its often more a question of how to implement a certain methodology or accomplish certain tasks. This is just a matter of trial and error.

    I've never bought a book for PHP yet, however i'm curious to know whether the current release of books for php encourage certain methodologies, and how to implement them. HarryF does an excellent job in doing this, with www.phppatterns.com (Well done Harry).

  16. #16
    Non-Member
    Join Date
    Jan 2003
    Posts
    5,748
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well on your way to getting a chuffty badge - LoL

    Ahem...

  17. #17
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dr Livingston
    Well on your way to getting a chuffty badge - LoL

    Ahem...
    what do you mean


Bookmarks

Posting Permissions

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