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
42 of 44 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.
24 of 25 people found the following review helpful.
I think this book would serve a beginning coder well, but would be even more valuable to someone who already has some experience under their belt using one or more of these technologies. This book has become my go-to book for any coding or syntax questions, and a good book to just browse through to learn a new trick or two. I recommend it without hesitation to anyone that would like to improve their programming skills in the covered topics.
63 of 69 people found the following review helpful.
See all 74 customer reviews...
Lot of good information, but no organization or useful examples
By Kiefer Slaton