Getting Good with PHP: New Rockable eBook

Getting Good with PHP: New Rockable eBook

PHP is a big language. I mean, really big. Big in more than one way. This makes it somewhat challenging to learn, especially if your skills lie on the front end of the web. But it doesn’t have to be so hard anymore. Today, I’m going to introduce you to a project I’ve been working on for a while: Getting Good with PHP.


You’ll Get Good at PHP

Getting Good with PHP is the latest book in my Getting Good with … series; and just like the others, it’s designed to take you from ground zero—knowing nothing at all about PHP—to what I like to call the “advanced beginner” skill level.

My goal was to write a book you could read in a couple of hours, or work through in a weekend, so I can’t cover everything there is to know about PHP. However, if you’ve never written a line of PHP before (or at least, not very many lines), this book should get you to a place where you know enough to be comfortable with basic PHP scripts, and are ready (and able!) to learn more.


Should I Learn PHP?

Learning at least a little PHP is essential for the web developer of 2012.

With some of the recent articles about whether PHP is a good language or not, you might be on the fence about learning it. Here’s my thought: with PHP being the most commonly used server-side language, you can’t really be a web developer these days without knowing at least a little PHP. But it’s more than that: there are large, friendly web communities based solely on PHP libraries and frameworks, like WordPress or Laravel. And even outside of these communities, there are tons of helpful resources and tutorials for upping your PHP knowledge. To me, there’s no doubt that learning at least a little PHP is essential for the web developer of 2012.


What You’re Getting

Five chapters there are, in this book:

  • Chapter 1: Getting Up and Running
  • Chapter 2: The Nuts and Bolts of PHP
  • Chapter 3: PHP’s Control Structures and Built-in Functions
  • Chapter 4: PHP Forms and Persistence (Cookies, Sessions, and Databases)
  • Chapter 5: Security and Problem Solving

Want a Sample?

Of course you do! Here’s the first 15 pages, for your perusal.


Don’t Buy the Book If …

I want to make one thing clear, though. This book really is for the absolute beginner. If you’ve already read a PHP book, or worked through a series of tutorials or screencasts introducing you to PHP, you’ll probably find my book a waste of time and money. But, if you’re new to this world, this is the book for you!

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • http://www.jcmarketingsolutions.com Jerry

    Will this book be available on tuts plus?

    • Akram

      I believe, after 60 days.

  • http://www.imraven.com Raven

    Nice. But it could have been more nicer if the author added a bit of mySQL.

    • Albert

      See -> Chapter 4: PHP Forms and Persistence (Cookies, Sessions, and Databases) I don’t think it could be anything but mySQL…

    • http://inkwell.dotink.org Matthew J. Sahagian

      I really despite how tied PHP and MySQL have become over time quite frankly, as if you can’t learn PHP without knowing MySQL. Quite frankly, PHP has nothing to do with MySQL other than that it has drivers to connect to it and run queries. It has no more to do with MySQL than it does Postgres, MSSQL, or any other number of databases.

      Furthermore, just a point of fact. A lot of PHP developers who I have met over the years that claim to know SQL get their SQL knowledge from PHP howtos… they actually tend to have very limited understanding of SQL, either MySQL dialect specific, or otherwise.

      Now, what *would* actually be nicer, is a really good book on SQL that covered simple selects to complex joins, unions, cases, etc…. along with slight difference in dialects across major databases.

      • Nathaniel

        I couldn’t agree more Matthew! I support the fact that most PHP books do have a database chapter or two, but it’s true, a pure, absolute beginner book on SQL would serve the community well!

      • http://andrewburgess.ca Andrew Burgess
        Author

        I’m going to agree with everybody :). To be clear about the book: yes it does talk about databases in chapter 4, and it is MySQL. The reason I chose MySQL is because it comes with WAMP / MAMP and so (since that’s how I recommend they install PHP) they already have it installed and practically configured. I felt that was the best fit for this book because I wanted to spend at little time installing / configuring as possible.

        However, I agree that PHP is completely database-agnostic!

      • Jesus Bejarano

        I am going to recommend to anyone 2 books that i am reading right now .One that in my opinion is one of the best php meet mysql book , that i ever read that is for biginners “PHP & MYSQL” : novice to ninja(any edition), from sitepoint.com, and the other one is more focus in NoSql “PHP and MongoDB development” by Rubayeet Islam for biginners to intermediate. People realy should realy check those out.

      • Sahan

        Also “Simply SQL” by SitePoint is a great book to get SQL basics.

      • Sahan

        Also “Simply SQL” from SitePoint is a great book to get SQL basics.

      • http://andrewburgess.ca Andrew Burgess
        Author

        If we’re recommending books, let me jump back into this. I recently read a lot of the book “Discovering SQL” (http://www.amazon.com/Discovering-SQL-Hands-On-Beginners-Programmer/dp/1118002679), which is really comprehensive if you want something that covers all SQL implementations.

      • Ali Baba

        Good point. I want to add one more thing to it. Usually in tutorials permissions set to grant all access, but this can be dangerous in real live development. There should be tutorial how properly set permissions in MySQL and explain each level.

  • J Cole Morrison

    Geez, this isn’t much of a tutorial… it’s more of an ad.

    • http://www.jeffrey-way.com Jeffrey Way

      Yep – it’s an announcement.

    • Ian

      It helps support the web dev community and the talented developers/educators at Envato, so I see no reason to be bothered by these types of posts. Hell, they even state reasons why you shouldn’t buy it.

      If you need a good starting point for PHP there are still many great tutorials under the “Basix” section here on Nettuts+

    • Hey

      Wow, what a douche.

  • http://robguilfoyle.com Rob Guilfoyle

    It seems if this book is for beginners it should be mentioned in the title, such as “PHP Newb to Lesser Newb” or something. “Getting Good With PHP” is slightly deceptive to a more advanced programmer. In any event I am glad to see NetTuts helping new developers!

  • arayn

    Next should be on advanced PHP with OOP and design pattern. Thanks!

  • http://characterforge.com Salman Munawar

    I learned so much from your previous book “Getting Good with java-script”. I looking forward to digging into this one.

  • Lau Djin

    When this book is available in tutsplus?

  • Ian

    I’d really like to see a book that goes from intermediate to advanced but with all the changes in the language, what is considered best practice, OOD, etc. It’s great for new people to have an updated beginner book.

    As for the mysql issue mentioned above, I don’t think a PHP book would be complete without at least a chapter dedicated to using it with databases.

  • Miguel

    Andrew is one of my fav ebook writers and instructors on Tuts+ got to grab this one!! Hopefully, some of the other educators can follow with some Ruby and Java companions!

    • http://andrewburgess.ca Andrew Burgess
      Author

      Wow, thanks, Miguel. That really means a lot!

  • Ammar

    Id love to catch this one. But recent Premium Jeffrey`s tutorial “PHP Fundamentals” is doing great for me.
    Anyways thanks author. I might grab it too :) might come handy..

    @Jeffrey.. Your a good teacher. :) Keep it up buddy.

  • PHP

    what with OOP ?!

  • chichibek

    thanks for your job Burgess

  • Mobeen

    Hi. I would request Andrew Burgess to write a book on OOP PHP…
    Regards:
    Abdul Mobeen

  • Piyush

    Hi,

    Thanks for this very helpful book for beginners to start learning php.

    Today I Have download this book and I have found one miss printing on Chapter 2 at page number 31 under the section of “Comparison operators”.

    Two left: greater-than-or-equal-to and less-than-or-equal-to.

    5 >= 10; # true

    I’m not very good in PHP but while I’m practicing, the result that popup in the browser is FALSE.

    Thanks.

  • http://www.gadget8news.com Gary

    Perfect timing, I am looking for PHP book specially for WordPress plugins. Is this available on Amazon to look at sample chapters before i can buy one.