The definitive guide to building database-drive Web applications with PHP and MySQL
PHP and MySQL are popular open-source technologies that are ideal for quickly developing database-driven Web applications. PHP is a powerful scripting language designed to enable developers to create highly featured Web applications quickly, and MySQL is a fast, reliable database that integrates well with PHP and is suited for dynamic Internet-based applications.
PHP and MySQL Web Development shows how to use these tools together to produce effective, interactive Web applications. It clearly describes the basics of the PHP language, explains how to set up and work with a MySQL database, and then shows how to use PHP to interact with the database and the server.
This practical, hands-on book includes numerous examples that demonstrate common tasks such as authenticating users, constructing a shopping cart, generating PDF documents and images dynamically, sending and managing email, facilitating user discussions, connecting to Web services using XML, and developing Web 2.0 applications with Ajax-based interactivity.
The fourth edition of PHP and MySQL Web Development has been thoroughly updated, revised, and expanded to cover developments in PHP 5 through version 5.3, such as namespaces and closures, as well as features introduced in MySQL 5.1.
TABLE OF CONTENTS
Part I: Using PHP
1 PHP Crash Course
2 Storing and Retrieving Data
3 Using Arrays
4 String Manipulation and Regular Expressions
5 Reusing Code and Writing Functions
6 Object-Oriented PHP
7 Error and Exception Handling
Part II: Using MySQL
8 Designing Your Web Database
9 Creating Your Web Database
10 Working with Your MySQL Database
11 Accessing Your MySQL Database from the Web with PHP
12 Advanced MySQL Administration
13 Advanced MySQL Programming
Part III: E-Commerce and Security
14 Running an E-Commerce Site
15 E-commerce Security Issues
16 Web Application Security
17 Implementing Authentication with PHP and MySQL
18 Implementing Secure Transactions with PHP and MySQL
Part IV: Advanced PHP Techniques
19 Interacting with the File System and the Server
20 Using Network and Protocol Functions
21 Managing the Date and Time
22 Generating Images
23 Using Session Control in PHP
24 Other Useful Features
Part V: Building Practical PHP and MySQL Projects
25 Using PHP and MySQL for Large Projects
26 Debugging
27 Building User Authentication and Personalization
28 Building a Shopping Cart
29 Building a Web-Based Email Service
30 Building a Mailing List Manager
31 Building Web Forums
32 Generating Personalized PDF Documents
33 Connecting to Web Services with XML and SOAP
34 Building Web 2.0 Applications with Ajax
Part VI: Appendixes
Appendix A: Installing PHP and MySQL
Appendix B: Web Resources
Frequently Bought Together
Editorial Reviews
Review
—Wright Sullivan, President,A&E
Engineering, Inc., Greer South Carolina
“There are several good introductory books on PHP, but Welling & Thomson is an excellent handbook for those who wish to build up complex and reliable systems. It’s obvious that the authors have a strong background in the development of professional applications and they teach not only the language itself, but also how to use it with good software engineering practices.”
—Javier Garcia, senior telecom engineer,
Telefonica R&D Labs, Madrid
“This book rocks! I am an experienced programmer, so I didn’t need a lot of help with PHP syntax; after all, it’s very close to C/C++. I don’t know a thing about databases, though, so when I wanted to develop a book review engine (among other projects) I wanted a solid reference to using MySQL with PHP. I have O’Reilly’s mSQL and MySQL book, and it’s probably a better pure-SQL reference, but this book has earned a place on my reference shelf…Highly recommended.”
—Paul Robichaux
“The true PHP/MySQL bible, PHP and MySQL Web Development by Luke Welling and Laura Thomson, made me realize that programming and databases are now available to the commoners. Again, I know 1/10000th of what there is to know, and already I’m enthralled.”
—Tim Luoma,TnTLuoma.com
About the Author
Lead Authors
Laura Thomson is a senior software engineer at Mozilla Corporation. She was formerly a principal at both OmniTI and Tangled Web Design, and she has worked for RMIT University and the Boston Consulting Group. She holds a Bachelor of Applied Science (Computer Science) degree and a Bachelor of Engineering (Computer Systems Engineering) degree with honors.
Luke Welling is a web architect at OmniTI and regularly speaks on open source and web development topics at conferences such as OSCON, ZendCon, MySQLUC, PHPCon, OSDC, and LinuxTag. Prior to joining OmniTI, he worked for the web analytics company Hitwise.com, at the database vendor MySQL AB, and as an independent consultant at Tangled Web Design. He has taught computer science at RMIT University in Melbourne, Australia, and holds a Bachelor of Applied Science (Computer Science) degree.
Contributing Authors
Julie C. Meloni has been developing web-based applications since the Web first saw the light of day and remembers the excitement surrounding the first GUI web browser. She has authored numerous books and articles on web-based programming languages and database topics, including the bestselling Sams Teach Yourself PHP, MySQL and Apache All in One.
Adam DeFields is a consultant specializing in web application development, project management, and instructional design. He lives in Grand Rapids, Michigan where he runs Emanation Systems, LLC, a company he founded in 2002. He has been involved with web development projects using several different technologies, but has developed a strong preference toward PHP/MySQL-based projects.
Marc Wandschneider is a freelance software developer, author, and speaker who travels the globe working on interesting projects. In recent years, a lot of his attention has been focused on writing robust and scalable web applications, and in 2005 he wrote a book called Core Web Application Programming with PHP and MySQL. He was was previously the main developer of the SWiK open source community site.
Product Details
Would you like to update product info or give feedback on images? |
Customer Reviews
I am a self taught programmer and I always felt there was more to PHP than i was getting from other PHP books I had.So recently, I embarked on a month long search of a 'good' PHP book. I am glad to tell everyone else that I have finally found that book. This is right here, this book doesn't make assumptions about your programming skills level - It teaches you what is important whether you already know it or not.
I am so pleased with what is in this book that I feel every PHP programmer should go out there and get one for themselves. I give this book 5/5 - Perfect!
I was disappointed with this book for three reasons. First, I got the Kindle edition and it lacks the critical source code for the examples. The publisher doesn't provide a way to download this on their site so I had to type in the examples by hand (the Kindle app doesn't allow cut and paste for obvious reasons) but I didn't have the images or the files that weren't listed out in the book.
Second, the book manages to both be too verbose and not go into enough technical depth. This may be fine for an absolute beginner but I'd guess most people have at least some programming background. It was tedious wading through chapters that didn't clearly call out the unique aspects of PHP compared to other languages. The examples were barely adequate and weren't well thought out to reinforce the critical concepts. The most disappointing was the lackluster authentication examples which fall far short of a secure, robust, and usable customer experience.
Finally, the table of contents implies that the book covers software development best practices for large scale PHP web applications. The spartan single chapter on the topic briefly mentions having coding conventions, using source control, limiting the size of your files, doing code reviews, and the importance of testing. Nothing in there is new or useful to anyone that's done any programming before.... Read more ›
if you want to buy that book consider having at least some knowledge of html and the general idea... Read more
What Other Items Do Customers Buy After Viewing This Item?
Look for Similar Items by Category
- Books > Computers & Technology > Databases > Database Design
- Books > Computers & Technology > Databases > MySQL
- Books > Computers & Technology > Databases > SQL
- Books > Computers & Technology > Programming > Graphics & Multimedia
- Books > Computers & Technology > Programming > Languages & Tools
- Books > Computers & Technology > Software
- Books > Computers & Technology > Web Development & Design > Programming > PHP
- Books > Education & Reference
- Books > New, Used & Rental Textbooks > Computer Science > Database Storage & Design
- Books > New, Used & Rental Textbooks > Computer Science > Programming Languages





