The fully revised, updated and extended 4th edition of the hugely popular web development book - includes CSS, HTML5, jQuery and the mysqli extension.
Explore each technology separately, learn how to use them together, and pick up valuable web programming practices along the way. At the end of the book, you'll put everything together to build a fully functional social networking site, using XAMPP or any development stack of your choice.
- Learn PHP in-depth, along with the basics of object-oriented programming
- Explore MySQL, from database structure to complex queries
- Use the mysqli Extension, PHP's improved MySQL interface
- Create dynamic PHP web pages that tailor themselves to the user
- Manage cookies and sessions, and maintain a high level of security
- Use Ajax calls for background browser/server communication
- Acquire CSS2 & CSS3 skills for professionally styling your web pages
- Implement all the new HTML5 features, including geolocation, audio, video, and the canvas
Amazon reviews from the 3rd edition
- "The web programming equivalent of a well-stocked toolbox... it packs a lot of utility into a compact space"
- "I literally devoured it over the course of the rest of the day"
- "The book is very clearly written and easy to understand. I would definitely recommend it for beginners"
- "A must have book for those who begin sailing in the Web development waters"
- "A very in-depth introduction for webmasters"
- "It has everything I needed to get up to speed very quickly"
- "The book did a great job of filling the holes in my knowledge"
- "Launched My Career This book taught me everything I needed to know to land a decent job as a PHP developer - best thirty dollar investment of my life" - Amazon reviewer
From the Author
So I hope you'll find the book even more of a one-stop resource than ever, and that you also find it easy to read and understand (and enjoyable too). And, as always, I welcome any comments or questions you may have via the book's website at lpmj.net, and always do my best to provide assistance if you need it.
From the Back Cover
"This is a great beginner's book that introduces several crucial web developer languages. It's a quick-paced, easy-to-read, information-packed book that will soon have you creating dynamically driven web sites, including a basic social networking site." - Albert Wiersch, developer of CSE HTML Validator
Most helpful customer reviews
51 of 53 people found the following review helpful.
Great Book, but PHP/MYSQL is now outdated. Best to look elsewhere.
By zak frisch
I updated my review from 5 stars to 4.
The author, it seems, has avoided changing the code within the examples offered. Though I'm sure this book was pretty close to spot on when it came out, over the duration of the last year and a half, there are differences that haven't been addressed and therefore I would wholly suggest passing on this book to a more updated learning experience.
A few examples:
*Salt and Hash: This book dedicates time to salting and hashing using ripemd. Most recently salting and hashing has been automated by the overlords of PHP into a singular function: password_hash(STRING, PRESET_ALGORITHM). There are currently, as far as I know, only two different algorithms to choose from: PASSWORD_BCRYPT or PASSWORD_DEFAULT. This was done because salting and hashing were produced incorrectly on so many sites that PHP's caretakers decided that it would be in everyone's best interest to simplify the process. Keep in mind that the password_hash function will automagically salt the hash so there is no step to do so. To verify the password from hash you would use the password_verify(STRING, HASHED_STRING) and it will return a Boolean.
*Sanitiation of User Input: Though important to realize when you're putting user input directly into the page, this book has an absolutely tremendous amount of pages dedicated to sanitizing strings. Honestly it's a large chunk of the PHP sections/code. The problem with the methods the author has prescribed is that they are outdated. Only briefly there is part of a chapter where he touches on prepared statements, which has become the correct way to instantiate MySQL queries. We do not need to sanitize our injected strings when using prepared statements. Why? Because prepared statements literally setup the query and prepare it for specific input. The bind_param() method of the mysqli prepare object makes certain that the input will only be interpreted as it's intended and a string will never be interpreted as a command.
2 of 2 people found the following review helpful.
A confidence instilling tome for those unsure of programming
By Andrew Shaw
Let me start off with I don't seem to have a head for programming. I enjoy what I can do, but otherwise have little use for programming, except that I have classes in the topic and want to be able to program things that I don't like doing manually. With other books, I always seemed to get stuck at the questions. The answers were probably there, but by the time I'm to the questions, I am beyond frustrated. I'm usually lost and despite my trying, I give up.
That didn't happen with this book. In fact, it was written in such a way that it really allowed me to learn. I found the answer to every question, and if I couldn't, I could look in the back with the answers. Before I did that though, I had my theory of what the answer was and just wanted the proof that I was right...or learn trying. I'd say that was the single biggest difference. I could look up the answers and know I would find the answers. Yeah, I might have been able to Google them, but if I don't know what I'm looking for, how do I know when I found it? Again, didn't have to worry about that with this book. In fact, I read the complete thing and walked through all of the examples and all of the questions. First time ever (which is about 8 years). Because of my total lack of frustration and the confidence this book helped instill in me, I give it five stars. I appreciate this book and I hope that if you buy it, you will too.
2 of 2 people found the following review helpful.
See all 80 customer reviews...
Comprehensive and in depth coverage.
By Liam J Walsh
The book to buy if you are serious about PHP (and great for Wordpress web site developers). Some programming experience might be helpful as it does not shy away from getting into coding, but that shouldn't scare off the adventurous (it's not advanced calculus, so don't be put - it still covers the basics and up).