Learning PHP, MySQL, and JavaScript: A Step-By-Step Guide to Creating Dynamic Websites (Google eBook)

Front Cover
"O'Reilly Media, Inc.", Jul 3, 2009 - Computers - 528 pages
23 Reviews

If you know HTML, this guide will have you building interactive websites quickly. You'll learn how to create responsive, data-driven websites with PHP, MySQL, and JavaScript, regardless of whether you already know how to program. Discover how the powerful combination of PHP and MySQL provides an easy way to build modern websites complete with dynamic data and user interaction. You'll also learn how to add JavaScript to create rich Internet applications and websites.

Learning PHP, MySQL, and JavaScript explains each technology separately, shows you how to combine them, and introduces valuable web programming concepts, including objects, XHTML, cookies, and session management. You'll practice what you've learned with review questions in each chapter, and find a sample social networking platform built with the elements introduced in this book.

This book will help you:

  • Understand PHP essentials and the basics of object-oriented programming
  • Master MySQL, from database structure to complex queries
  • Create web pages with PHP and MySQL by integrating forms and other HTML features
  • Learn about JavaScript, from functions and event handling to accessing the Document Object Model
  • Use libraries and packages, including the Smarty web template system, PEAR program repository, and the Yahoo! User Interface Library
  • Make Ajax calls and turn your website into a highly dynamic environment
  • Upload and manipulate files and images, validate user input, and secure your applications
  

What people are saying - Write a review

User ratings

5 stars
6
4 stars
6
3 stars
7
2 stars
3
1 star
1

Review: Learning PHP, MySQL, and JavaScript

User Review  - Charlie Hebert - Goodreads

Although the book offers a decent introduction to some of the technologies outlined in its title and how they work together, I would not recommend this to someone wishing to start web development in ... Read full review

Review: Learning PHP, MySQL, and JavaScript

User Review  - Joshua Goller - Goodreads

I read most of the sections on PHP and Javascript in this book - I recommend this frequently to people with some programming experience but no understanding in web development. It's a good text for "0-to-website. Read full review

Contents

Chapter†1†Introduction to Dynamic Web Content
1
Chapter†2†Setting Up a Development Server
13
Chapter†3†Introduction to PHP
33
Chapter†4†Expressions and Control Flow in PHP
61
Chapter†5†PHP Functions and Objects
89
Chapter†6†PHP Arrays
115
Chapter†7†Practical PHP
129
Chapter†8†Introduction to MySQL
157
Chapter†15†Expressions and Control Flow in JavaScript
319
Chapter†16†JavaScript Functions Objects and Arrays
337
Chapter†17†JavaScript and PHP Validation and Error Handling
355
Chapter†18†Using Ajax
377
Chapter†19†Using YUI for Ajax and More
393
Chapter†20†Bringing It All Together
405
Appendix†A†Solutions to the Chapter Questions
435
Appendix†B†Online Resources
453

Chapter†9†Mastering MySQL
201
Chapter†10†Accessing MySQL Using PHP
225
Chapter†11†Form Handling
251
Chapter†12†Templating with Smarty
269
Chapter†13†Cookies Sessions and Authentication
279
Chapter†14†Exploring JavaScript
299
Appendix†C†MySQLs FULLTEXT Stopwords
457
Appendix†D†MySQL Functions
461
Appendix†E†Using PEAR and PHPUnit
473
Index
485
Copyright

Common terms and phrases

About the author (2009)

Robin Nixon has worked with and written about computers since the early 1980s (his first computer was a Tandy TRS 80 Model 1 with a massive 4KB of RAM!). One of the web sites he developed presented the world's first radio station licensed by the music copyright holders. In order to enable people to continue to surf while listening, Robin also developed the first known pop-up windows. He has also worked full time for one of Britain's main IT magazine publishers, where he held several roles including editorial, promotions, and cover disc editing.

Bibliographic information