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. In this update to this popular hands-on guide, you’ll tackle dynamic web programming with the latest versions of today’s core technologies: PHP, MySQL, JavaScript, CSS, HTML5, and key jQuery libraries.
Web designers will learn how to use these technologies together and pick up valuable web programming practices along the way—including how to optimize websites for mobile devices. At the end of the book, 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 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
- Enhance the JavaScript language with jQuery and jQuery mobile libraries
- Use Ajax calls for background browser-server communication
- Style your web pages by acquiring CSS2 and CSS3 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. Accessing MySQL Using PHP
-
11. 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
- 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 Asynchronous Communication
-
18. 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
- 19. Advanced CSS with CSS3
- 20. Accessing CSS from JavaScript
-
21. 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
- 22. Introduction to jQuery Mobile
- 23. Introduction to HTML5
- 24. The HTML5 Canvas
- 25. HTML5 Audio and Video
- 26. Other HTML5 Features
- 27. 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
- B. Online Resources
- C. MySQL’s FULLTEXT Stopwords
- D. MySQL Functions
- E. jQuery Selectors, Objects, and Methods
- Index
- About the Author
- Colophon
Product information
- Title: Learning PHP, MySQL & JavaScript, 5th Edition
- Author(s):
- Release date: May 2018
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491978917
You might also like
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
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, and CSS, 2nd Edition
Learn how to build interactive, data-driven websites—even if you don’t have any previous programming experience. If …
book
PHP & MySQL: Novice to Ninja, 7th Edition
PHP & MySQL: Novice to Ninja, 7th Edition is a hands-on guide to learning all the …