Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition
A Step-by-Step Guide to Creating Dynamic Websites
Publisher: O'Reilly Media
Released: August 2012
Pages: 586

Learn how to build interactive, data-driven websites—even if you don’t have any previous programming experience. If you know how to build static sites with HTML, this popular guide will help you tackle dynamic web programming. You’ll get a thorough grounding in today’s core open source technologies: PHP, MySQL, JavaScript, and CSS.

Explore each technology separately, learn how to combine them, and pick up valuable web programming concepts along the way, including objects, XHTML, cookies, and session management. This book provides review questions in each chapter to help you apply what you’ve learned.

  • Learn PHP essentials and the basics of object-oriented programming
  • Master MySQL, from database structure to complex queries
  • Create web pages with PHP and MySQL by integrating forms and other HTML features
  • Learn JavaScript fundamentals, from functions and event handling to accessing the Document Object Model
  • Pick up CSS basics for formatting and styling your web pages
  • Turn your website into a highly dynamic environment with Ajax calls
  • Upload and manipulate files and images, validate user input, and secure your applications
  • Explore a working example that brings all of the ingredients together
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLearning PHP, MySQL, JavaScript, and CSS, 2nd Edition
 
3.9

(based on 10 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (5)

  • 3 Stars

     

    (3)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (9)
  • Helpful examples (7)
  • Well-written (4)
  • Concise (3)

Cons

    Best Uses

    • Intermediate (6)
    • Novice (6)
    • Student (3)
      • Reviewer Profile:
      • Developer (8), Designer (3)

    Reviewed by 10 customers

    Sort by

    Displaying reviews 1-10

    Back to top

     
    3.0

    a bit disappointing

    By Max

    from Manchester UK

    About Me Developer

    Verified Buyer

    Pros

    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

    • Not Updated Enough-1st Ed

    Best Uses

    • Novice

    Comments about oreilly Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition:

    The book is well written and has excellent techniques laid out
    But it is a 2nd edition and now looks dated.
    I would have expected that - updated when it was - it would have moved the examples on from mysql_ functions to the mysqli_ versions or even using the PDO connectors

    (3 of 7 customers found this review helpful)

     
    5.0

    Very informative and excellent book

    By NSlone

    from Ravenna, KY

    About Me Designer, Developer, Educator, Sys Admin

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate
      • Novice

      Comments about oreilly Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition:

      Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition
      A Step-by-Step Guide to Creating Dynamic Websites

      Back in the '90s I started getting into computers really heavily. I learned how to repair them, as well as to create websites. I learned to use a WYSIWYG (what you see is what you get) editor, but soon realized that it was just too limiting. In order to have more control over my webpages, I learned how to hard code in HTML, which is an acronym for Hyper Text Markup Language. This gave me, at the time, fantastic control over how my webpages looked.
      Soon I wanted to learn how to program in other languages, particularly in C, C++ and Assembly Language, and various forms of Basic. I actually took a course for GW-Basic, but I learned more by playing around with QB4.5. I was good enough in C that I could take the examples from Microsoft Quick C and change it to do what I wanted. I could tell someone else how to write a simple little program that would echo their name on screen in colors, without having to look up anything from a book. At the time, I lived with an engineer and knew a few others who were also into computers, although none of them programmed in C. Then I moved back to WV, and where I was living I no longer had access to people who were into technology such as learning to program. Don't get me wrong, there are people who are very good at what they do. But being a woman, many people (which goes for other geophysical locations as well), just worked against me at that time. I forgot almost everything I knew.
      A few years pass and I decided to get back into programming, and this is where this book comes into play. I have been reading this book, installed the various suggested software, and am in the process of trying out the example code. I can actually see what he means because of his writing style and grasp of the concepts. If any of you have ADHD which is an acronym for attention deficit disorder with hyperactivity, then you know how hard it is to focus on things that are boring. Regardless of how much you need or even want to know the material, it isn't happening. So for someone to write a programming book in a manner and style so interesting that I can follow it and not lose interest, as well as learn from it, then it is nothing short of a miracle. I would recommend this book to anyone wanting to learn PHP, CSS, and JavaScript, and wants to learn how to create dynamic websites.

      I have an account at Amazon and I have a Kindle, so I'm always interested in books for the Kindle, since I can have it right there reading while I'm working on something. I wanted to know if there were any free Kindle books on programming. I saw a couple by Robin Nixon. I want to know about people who write books when they are exceptional, and I liked what I read about him. He mentioned that you can get a free copy of his book in exchange for a review. To me, that was a perfect win-win situation. I get to read a book, and hopefully learn from it in exchange for writing a review. How cool is that? I've told a few people about it. I also dropped Mr. Nixon an email and told him I would love to read his book in exchange for a review. A couple or so weeks later, I received an email about it. I also signed up for O'Reilly's Blogger program.
      You can pick up your copy at either here.
      http://shop.oreilly.com/product/0636920023487.do

      (1 of 2 customers found this review helpful)

       
      3.0

      Needs update

      By A girl

      from Oceanside, CA

      Verified Reviewer

      Pros

        Cons

        • Too many errors

        Best Uses

        • Intermediate

        Comments about oreilly Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition:

        I have a Mac and in chapter 8, it says that if you followed chapter 2, you will not get a socket error message. You will if you don't secure your tmp folder. Also, Mac doesn't read php tags. the book should help you through the pitfalls you may encounter and be more specific. I am a true beginner and it has been very frustrating to find in the Internet info that supplements the book that keeps going like you got the results you wanted the first time you run the code. I tried to run the php examples on a pc and I couldn't do it because I need the book to be more specific like how to modify the login and the require_once according to your settings. I am going to see a tutor tomorrow to get the help the book didn't help me with

        (3 of 3 customers found this review helpful)

         
        4.0

        Good learning text for LAMP or WAMP

        By Julian

        from Brisbane

        About Me Designer, Developer

        Verified Reviewer

        Pros

        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Novice

          Comments about oreilly Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition:

          I used this book to learn how to build a basic web application using the technologies featured. I found this book was pitched at a good beginner level for all the technologies covered.

          I would have liked to have had a little more on how to separate concerns between the JavaScript and the PHP and how to organise the PHP modules into MVC. But maybe, in all fairness, that would have been beyond th escope of an introductory book.

          The style of the book was great. It was well paced and readable.

          (1 of 2 customers found this review helpful)

           
          4.0

          examples link is not working

          By manish

          from india

          Pros

          • Easy to understand

          Cons

          • Too basic

          Best Uses

          • Novice

          Comments about oreilly Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition:

          link to examples provided in the book was not working properly

          (4 of 4 customers found this review helpful)

           
          5.0

          Wish I had it sooner

          By Bill going mobile

          from Bloomfield, CT

          About Me Developer, Educator

          Verified Reviewer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

          • Mysql Instead Of Mysqli

          Best Uses

          • Expert
          • Intermediate
          • Novice
          • Student

          Comments about oreilly Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition:

          In this second edition, there are some important features that were added since the first edition. For me, one of the nicest additions was the inclusion of a discussion for using security in using PHP with MySQL with hashing technique and functions.

          The best part about this book is that it represents a single source for finding information about PHP, MySQL and related languages like JavaScript and CSS. Some books I have do a great job on JavaScript, some on PHP, and some on MySQL, but it's the only book that has all of these together.

          (16 of 17 customers found this review helpful)

           
          3.0

          Covers a lot, but is outdated.

          By MobiusStrip

          from Los Angeles, CA

          About Me Designer, Developer

          Pros

          • Broad Coverage
          • Easy to understand
          • Helpful examples

          Cons

          • Outdated

          Best Uses

          • Intermediate
          • Novice

          Comments about oreilly Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition:

          The author undertakes a pretty monumental task in leading the reader through basic programming, SQL, database design, and Web presentation. And while I'm an experienced professional programmer and DB designer, I learned a few things in skimming the introductory chapters. It looks to me like they'd provide a decent foundation for a novice.

          I wasn't really disappointed in anything until I got to the chapter about using MySQL in PHP. The author refers only to the outdated MySQL extension, and makes not a single reference to the current one: MySQLi. That's going to lead to wasted time and extra work, and missed opportunities to take advantage of current features. Not to mention reduced security.

          Here's what the PHP documentation itself says in regard to the old MySQL extension: "If you are using MySQL versions 4.1.3 or later it is strongly recommended that you use the mysqli extension instead."

          I consider this flaw pretty inexcusable, because the current MySQL interface has been out for years.

          (5 of 5 customers found this review helpful)

           
          4.0

          Bring Web Sites to Life

          By R&D

          from Atlanta, GA

          About Me Developer

          Verified Reviewer

          Pros

          • Easy to understand
          • Helpful examples

          Cons

            Best Uses

            • Intermediate
            • Student

            Comments about oreilly Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition:

            Covering some of the most popular technologies for bringing web pages to life, Learning PHP, MySQL, JavaScript, and CSS is a good place to start for the programmer who already has a solid background in HTML. The author recommends a few tools for getting your development environment up and running. Then the basics of each language are described with helpful tips provided along the way. The book culminates in the design of a social networking site, which is a great practical exercise and may help launch a few interesting web sites as a result.

            The order in which the languages are presented is different than expected, since many developers learn CSS when studying HTML. JavaScript is often encountered before taking on PHP. However, the material is presented effectively and in such a way that the book is easy to use as a reference. Web developers looking to learn the fundamentals of the languages presented here will be rewarded.

            Disclosure: Free access to this e-book was provided by the publisher for review purposes.

            (5 of 8 customers found this review helpful)

             
            4.0

            Great intro to key web technologies

            By phollott

            from Vancouver Island, BC

            About Me Developer

            Pros

            • Clear
            • Easy to understand

            Cons

              Best Uses

              • Intermediate

              Comments about oreilly Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition:

              I recently read two books from O'Reilly Books dealing with JavaScript: "Learning PHP, MySQL, JavaScript, and CSS" and "Learning JavaScript Design Patterns" by Addy Osmani. The first book is a great introduction to four often essential technologies for getting things done on the web - I only wish that this book had covered managing XSLT using Sablotron in PHP 5.0 in more depth, but this is due to personal bias - in a past life, I built some cool things using these 5 technologies.

              The design patterns book was also a very good read, though, I used it more of a refresher of design patterns in general - the patterns in this book were for the most part based on the standard Java design patterns, covering some of the nuances of classical vs. prototypal inheritance.

              But let's face it, Object-based Development using JavaScript is obscure subject matter, and Osmani's book has some really indispensable advice: see how these patterns are applied within the JQuery library, which contains the best application of JavaScript Design Patterns you will find. This is truly great advice.

              Which brings me circuitously to JQuery creator John Resig, for whom I have immense respect; and his latest foray into simplifying JavaScript to make it easier to use as a readily available first language, which I endorse completely. One thing I appreciated in "Learning PHP, MySQL, JavaScript, and CSS"... no semicolons!

              Heresy!

              But really, as long as you put separate statements on separate lines, there are virtually no situations where semicolons are essential. And in fact, I found the example code in Robin Nixon's book Much easier to read than the example code in Osmani's book. I may just have been converted to the darkside.

              I highly recommend both of these books.

              (6 of 9 customers found this review helpful)

               
              4.0

              Easy and accessible introduction.

              By Yoann

              from Montréal, QC

              About Me Developer

              Verified Reviewer

              Pros

              • Concise
              • Easy to understand
              • Helpful examples

              Cons

                Best Uses

                • Student

                Comments about oreilly Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition:

                I bought it several years ago to begin my journey with PHP, MySQL and Javascript.
                It was a great choice, very accessible and a good project to build along the reading.
                If you don't know anything about PHP/MySQL/Javascript and want to get in touch, up and running quickly, that's your book.
                Today, in my job, I still use a lot of advices I learned from this book.

                Displaying reviews 1-10

                Back to top

                 
                Buy 2 Get 1 Free Free Shipping Guarantee
                Buying Options
                Immediate Access - Go Digital what's this?
                Ebook: $31.99
                Formats:  DAISY, ePub, Mobi, PDF
                Print & Ebook: $43.99
                Print: $39.99