Book description
Build interactive, data-driven websites with the potent combination of open source technologies and web standards, even if you have only basic HTML knowledge. With the latest edition of this popular hands-on guide, you'll tackle dynamic web programming using the most recent versions of today's core technologies: PHP, MySQL, JavaScript, CSS, HTML5, jQuery, and the powerful React library.
Web designers will learn how to use these technologies together while picking up valuable web programming practices along the way, including how to optimize websites for mobile devices. You'll put everything together to build a fully functional social networking site suitable for both desktop and mobile browsers.
- Explore MySQL from database structure to complex queries
- Use the MySQL PDO 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
- Enhance JavaScript with the React library
- Use Ajax calls for background browser-server communication
- Style your web pages by acquiring CSS skills
- Implement HTML5 features, including geolocation, audio, video, and the canvas element
- Reformat your websites into mobile web apps
Publisher resources
Table of contents
- Learning PHP, MySQL & JavaScript
- Learning PHP, MySQL & JavaScript
- 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
- 9. Mastering MySQL
- 10. Whatâs New in PHP 8 and MySQL 8
- 11. Accessing MySQL Using PHP
-
12. Form Handling
- Building Forms
- Retrieving Submitted Data
- An Example Program
-
HTML5 Enhancements
- The autocomplete Attribute
- The autofocus Attribute
- The placeholder Attribute
- The required Attribute
- Override Attributes
- The width and height Attributes
- The min and max Attributes
- The step Attribute
- The form Attribute
- The list Attribute
- The color Input Type
- The number and range Input Types
- Date and Time Pickers
- Questions
- 13. Cookies, Sessions, and Authentication
- 14. Exploring JavaScript
- 15. Expressions and Control Flow in JavaScript
- 16. JavaScript Functions, Objects, and Arrays
- 17. JavaScript and PHP Validation and Error Handling
- 18. Using Asynchronous Communication
-
19. Introduction to CSS
- Importing a Stylesheet
- Using IDs
- Using Classes
- Using Semicolons
- CSS Rules
- Style Types
- CSS Selectors
- The CSS Cascade
- The Difference Between div and span Elements
- Measurements
- Fonts and Typography
- Managing Text Styles
- CSS Colors
- Positioning Elements
- Pseudoclasses
- Shorthand Rules
- The Box Model and Layout
- Questions
- 20. Advanced CSS with CSS3
- 21. Accessing CSS from JavaScript
-
22. Introduction to jQuery
- Why jQuery?
- Including jQuery
- jQuery Syntax
- Selectors
- Handling Events
- Waiting Until the Document Is Ready
- Event Functions and Properties
- Special Effects
- Manipulating the DOM
- Dynamically Applying Classes
- Modifying Dimensions
- DOM Traversal
- Using jQuery Without Selectors
- Using Asynchronous Communication
- Plug-ins
- Questions
- 23. Introduction to jQuery Mobile
- 24. Introduction to React
- 25. Introduction to HTML5
- 26. The HTML5 Canvas
- 27. HTML5 Audio and Video
- 28. Other HTML5 Features
- 29. 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
- Chapter 21 Answers
- Chapter 22 Answers
- Chapter 23 Answers
- Chapter 24 Answers
- Chapter 25 Answers
- Chapter 26 Answers
- Chapter 27 Answers
- Chapter 28 Answers
- Chapter 29 Answers
- Index
- About the Author
- Colophon
Product information
- Title: Learning PHP, MySQL & JavaScript, 6th Edition
- Author(s):
- Release date: July 2021
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492093824
You might also like
book
Learning PHP, MySQL & JavaScript, 7th Edition
Build interactive, data-driven websites with the potent combination of open source technologies and web standards, even …
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
PHP & MySQL: Novice to Ninja, 7th Edition
PHP & MySQL: Novice to Ninja, 7th Edition is a hands-on guide to learning all the …
book
PHP 8 for Absolute Beginners: Basic Website and Web Application Development
Embark on a practical journey of building dynamic sites aided by multiple projects that can be …