Book description
Learn how to build interactive, data-driven websites—even if you don’t have any previous programming experience. If you know how to build static sites with HTML, this popular guide will help you tackle dynamic web programming. You’ll get a thorough grounding in today’s core open source technologies: PHP, MySQL, JavaScript, and CSS.
Explore each technology separately, learn how to combine them, and pick up valuable web programming concepts along the way, including objects, XHTML, cookies, and session management. This book provides review questions in each chapter to help you apply what you’ve learned.
- Learn 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 JavaScript fundamentals, from functions and event handling to accessing the Document Object Model
- Pick up CSS basics for formatting and styling your web pages
- Turn your website into a highly dynamic environment with Ajax calls
- Upload and manipulate files and images, validate user input, and secure your applications
- Explore a working example that brings all of the ingredients together
Publisher resources
Table of contents
- Dedication
- Preface
- 1. Introduction to Dynamic Web Content
- 2. Setting Up a Development Server
- 3. Introduction to PHP
- 4. Expressions and Control Flow in PHP
- 5. PHP Functions and Objects
- 6. PHP Arrays
- 7. Practical PHP
-
8. Introduction to MySQL
- MySQL Basics
- Summary of Database Terms
-
Accessing MySQL via the Command Line
- Starting the Command-Line Interface
- Using the Command-Line Interface
- MySQL Commands
-
Data Types
- The CHAR data type
- The BINARY data type
- The TEXT and VARCHAR data types
- The BLOB data type
- Numeric data types
- DATE and TIME
- The AUTO_INCREMENT data type
- Adding data to a table
- Renaming a table
- Changing the data type of a column
- Adding a new column
- Renaming a column
- Removing a column
- Deleting a table
- Indexes
- MySQL Functions
- Accessing MySQL via phpMyAdmin
- Test Your Knowledge
- 9. Mastering MySQL
- 10. Accessing MySQL Using PHP
- 11. Form Handling
- 12. Cookies, Sessions, and Authentication
- 13. Exploring JavaScript
- 14. Expressions and Control Flow in JavaScript
- 15. JavaScript Functions, Objects, and Arrays
- 16. JavaScript and PHP Validation and Error Handling
- 17. Using Ajax
-
18. Introduction to CSS
- Importing a Style Sheet
- Embedded Style Settings
- CSS Rules
- Style Types
- CSS Selectors
- The CSS Cascade
- The Difference Between <div> and <span>
- Measurements
- Fonts and Typography
- Managing Text Styles
- CSS Colors
- Positioning Elements
- Pseudoclasses
- Pseudoelements
- Shorthand Rules
- The Box Model and Layout
- Test Your Knowledge
- 19. Advanced CSS with CSS3
- 20. Accessing CSS from JavaScript
- 21. Bringing It All Together
-
A. Solutions to the Chapter Questions
- Chapter 1 Answers
- Chapter 2 Answers
- Chapter 3 Answers
- Chapter 4 Answers
- Chapter 5 Answers
- Chapter 6 Answers
- Chapter 7 Answers
- Chapter 8 Answers
- Chapter 9 Answers
- Chapter 10 Answers
- Chapter 11 Answers
- Chapter 12 Answers
- Chapter 13 Answers
- Chapter 14 Answers
- Chapter 15 Answers
- Chapter 16 Answers
- Chapter 17 Answers
- Chapter 18 Answers
- Chapter 19 Answers
- Chapter 20 Answers
- B. Online Resources
- C. MySQL’s FULLTEXT Stopwords
- D. MySQL Functions
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition
- Author(s):
- Release date: August 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449319267
You might also like
book
Learning PHP, MySQL & JavaScript, 5th Edition
Build interactive, data-driven websites with the potent combination of open source technologies and web standards, even …
book
Learning PHP, MySQL & JavaScript, 4th Edition
Build interactive, data-driven websites with the potent combination of open-source technologies and web standards, even if …
book
Learning PHP, MySQL & JavaScript, 6th Edition
Build interactive, data-driven websites with the potent combination of open source technologies and web standards, even …
book
SamsTeachYourself PHP, MySQL & JavaScript: All in One, 6th Edition
In just a short time, you can learn how to use PHP, MySQL, and JavaScript together …