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
48 of 50 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.
63 of 69 people found the following review helpful.
Lot of good information, but no organization or useful examples
By Kiefer Slaton
2 of 2 people found the following review helpful.
See all 78 customer reviews...
Outdated and some examples don't work
By Josina Miles
I'm glad I only rented this book. Since I made the investment, I will see it through to the end, but it's painful to read. The language is simple to follow, but it's like being taken site seeing. There is no destination, only a tour and brief explanation of the object. I don't know where, why or how I ended up at a certain location and why it's important for me to learn this particular lesson at this point. Since I don't have any idea of where I'm going or how it ties into anything else, I learn it, then I lose it. Therefore, I will need to revisit the path again to figure out what I may have missed or misunderstood. Some of the examples are not formatted properly, so if you don't have a even a basic knowledge of the PHP or other programming languages to begin with, you won't know it's an example you should try on your own. Which leads me to to my next point...I never know when I should try an example or it is just a snippet of a bigger explanation. It's not entirely a waste of time, but I will need to get through it as quickly as possible so that I can move on to 'real world' projects.