PHP - Where did you learn?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fbrtopic
    Confirmed User
    • Apr 2006
    • 283

    #1

    PHP - Where did you learn?

    Hey guys, I'm looking into getting into PHP a lot more, and I've got some major projects that I'm looking into starting... however a pretty good knowledge of php/mysql is neccessary for them.

    So I'm curious, where did you learn PHP from? I've got a couple of ebooks on it, however I'm curious to know of a book that is actually INTERESTING to read. example after example that's not really being explained isn't my favorite way to learn, haha.
  • Ninja Frank
    Confirmed User
    • Dec 2002
    • 108

    #2
    I recommend this book, its an easy read and when youre done you'll know enough about PHP & MySQL to integrate it into your pages, do database pulls, etc.

    PHP Essentials, 2nd Edition by Julie Meloni

    search amazon.

    Comment

    • eecontent
      Registered User
      • Apr 2006
      • 3

      #3
      Other than that .. the php manual that you can get from php's website (I can't post there url ) is a great learning reasource .. theoreticly it should teach you everything you need .. especially if youhave some programming background .. but not necessarly

      Comment

      • amateurcanada
        Confirmed User
        • Jul 2001
        • 3766

        #4
        i go by trial and example and just messing around.. there are so many examples around of the basics

        be our partner - join nichepartners today
        will.assum.producer @ AmateurCanada.com / icq: 30146166 / facebook.com/will.assum / #amateurcanada

        Comment

        • Remastered
          Confirmed User
          • Mar 2006
          • 182

          #5
          The best would be:

          PHP in a Nutshell
          Published: October 2005
          http://www.oreilly.com/catalog/phpnut/index.html

          Comment

          • fbrtopic
            Confirmed User
            • Apr 2006
            • 283

            #6
            I'm a fan of O'Reilly books, and own a couple of them. However their "in a nutshell" series I've found tend to be more of a reference rather than a "how to" kinda thing. I'll check out the other books first.

            Comment

            • wonderer999
              Registered User
              • Feb 2005
              • 41

              #7
              www.phpbuilder.com or www.zend.com (can't go wrong here)

              Comment

              • mfps
                Confirmed User
                • Mar 2006
                • 640

                #8
                i learned flash, mysql and php at the same time with

                Foundation PHP for Flash

                lots of good basic php and database stuff.

                other than that, i still spend alot of time at:

                PHP.net Function Reference
                mySQL.org Documentation
                Goooooooooooogle

                hope this helps.
                Last edited by mfps; 04-08-2006, 12:08 AM. Reason: im fucking retarded

                Comment

                • irbobo
                  Confirmed User
                  • Dec 2005
                  • 410

                  #9
                  Once you have the basic grasp of things, go sit in #PHP in undernet on IRC. Their you can ask questions.. but don't ask anything you can easily look up on google in 3 seconds.

                  Comment

                  • duckduckgoose
                    Registered User
                    • Mar 2006
                    • 82

                    #10
                    Someone already mentioned the PHP website, but the best part of that is you can take any PHP command, and go in a browser :

                    php.net/your_command

                    and it will give you the page for that command. This is so helpful when you're trying to learn what commands do, and how to use them. Even after years of using PHP, this resource is still handy every day looking up commands and options.

                    Lots of good books already mentioned; if you were going to buy any (or use the eBooks), I would suggest starting with something based around PHP 5. The biggest reasons are, you start with the advantage of not writing sloppy code from the start. Several ways people used to write PHP scripts (eg in 2002 or 2003) have been deprecated for security and completeness reasons, yet still are supported by PHP (eg use of superglobals arrays, etc) for legacy reasons. Even if you're not doing object oriented stuff, PHP5 is a fine place to start.

                    One book I highly recommend is called "Beginning PHP And PostgreSQL 8: From Novice To Professional". This may not be helpful to you if you don't have access to a PostGreSQL database server (eg on cheap virtualhosting somewhere), but this is a solid book, starts you at PHP5, and gets you into some good habits from the beginning.
                    rRhino.com ...social networking for book fans...

                    Comment

                    • fbrtopic
                      Confirmed User
                      • Apr 2006
                      • 283

                      #11
                      Thanks a lot guys. I'm not sure if my host has PostgreSQL, seeing as how I know that they are using mySQL for all my databases up till now. I would prefer to use mySQL because that's pretty much a standard these days in databases, and also the mose common. I will look into it though. There are a number of books mentioned here and I'll look into each accordingly to see what they have to offer and also their reviews and so forth.

                      Comment

                      • Mike Seth
                        Registered User
                        • Feb 2006
                        • 88

                        #12
                        Learning PHP is very easy even for a newcomer, but there are pitfalls both for newcomers and seasoned traditional programmers who never wrote Web applications before. I think that the best way for all PHP newbies to go is not only a good book but also lots and lots of reading other people's code, and indeed a lot of trial and error with one's own code. There are many misconceptions about programming that need to be cleared through this trial and error. It is way easier to overcome them if you read other people's sources and talk to other folks.
                        Mike Seth - 274-570-412 <mikeseth at gmail.com>

                        Comment

                        • fbrtopic
                          Confirmed User
                          • Apr 2006
                          • 283

                          #13
                          While I can't write my own code, I've found that I can edit the code pretty well. After some trial and error in that respect, I've pretty heavily edited the PHP in a lot of the themes for wordpress sites I've made. I'd be hard pressed to write my own code though.

                          I'll be reading the PHP ebooks for now and I'll take your advice and play around with other people's code. Thanks a ton.

                          Comment

                          • duckduckgoose
                            Registered User
                            • Mar 2006
                            • 82

                            #14
                            If you're just starting out creating PHP web applications (or web apps in any other languages), you really should also take a look at the OWASP guidelines for creating secure web apps. They provide some critical tips about securing your web applications against attackers and mischief.

                            Search google for "owasp php", and the third item in the list is a good article summarizing the OWASP guidelines and PHP.
                            rRhino.com ...social networking for book fans...

                            Comment

                            • joycams
                              Registered User
                              • Apr 2006
                              • 20

                              #15
                              try some tutorials from lynda
                              100 USD WELCOME BONUS, 30% REVSHARE, FREE EPASSPORTE CARD, WEBMASTER REFERAL
                              AWESOME 20% LIFE TIME SHARE, EPASSPORTE PAYMENTS, REFFERAL SHARE
                              OUTRAGEOUS 50 $ welcome credit, 80 $ per sign UP
                              UP TO 100 $ PERSIGNUP, 10% REFFERAL SHARE

                              Comment

                              • GregA
                                Confirmed User
                                • Mar 2006
                                • 107

                                #16
                                I love the O'reilly books as well but I dont suggest any sort of brief/quick answers get yourself a basic book to start with then the rest of your learning is done through doing. You can find free examples and articles on how to do just about anything on the web now.
                                ICQ: 30577878

                                Comment

                                • Subway
                                  Confirmed User
                                  • Apr 2004
                                  • 584

                                  #17
                                  3 steps

                                  1) Go to the bookstore
                                  2) Steal a php book
                                  3) Read it and try it

                                  Comment

                                  • Fetish Gimp
                                    Confirmed User
                                    • Feb 2005
                                    • 1699

                                    #18
                                    Three words: Vulcan mind meld.
                                    Strapon Seduction - femdom blog | Twitter

                                    Comment

                                    • FreeAgent
                                      Confirmed User
                                      • Jul 2005
                                      • 234

                                      #19
                                      php.net is all I ever needed.
                                      Go waste some time on my new blog, Tasty Fresh Teens!

                                      Comment

                                      • redcan
                                        Registered User
                                        • Feb 2005
                                        • 8

                                        #20
                                        Awesome try also IRC'ing lot of good stuffs there: #php, ##php channels
                                        A good cup of coffee and a lot of free time also ;)

                                        Comment

                                        • JasonB
                                          Confirmed User
                                          • Nov 2001
                                          • 1183

                                          #21
                                          good tutorials here
                                          http://www.w3schools.com/php/default.asp

                                          also
                                          http://www.php.net as a reference

                                          Comment

                                          • Thunders
                                            Registered User
                                            • Mar 2006
                                            • 89

                                            #22
                                            University and some e-books

                                            Comment

                                            Working...