Book description
Take advantage of the improved performance and reduced memory requirements of PHP version 7, and learn to utilize the new built-in PHP functions and features such as typed variable enforcement with declare(strict_types=1) and the new available data types, scalar type declarations for function arguments and return statements, constant arrays using define(), argument unpacking with the ... operator, integer division with intdiv(), the null coalesce operator, the spaceship operator, new exception types, and improvements to existing features.
Pro PHP and jQuery, Second Edition is for intermediate level programmers interested in building web applications using jQuery and PHP. Updated for PHP version 7 and the latest version of jQuery, this book teaches some advanced PHP techniques and it shows you how to take your dynamic applications to the next level by adding a JavaScript layer using the jQuery framework and APIs.
After reading and using this book, you'll come away having built a fully functional PHP and jQuery web application that you can reapply as a template for your own particular web application.
Table of contents
- Cover
- Title
- Copyright
- Contents at a Glance
- Contents
- About the Authors
- About the Technical Reviewer
- Part 1: Getting Comfortable with jQuery
-
Part 2: Getting Into Advanced PHP Programming
- Chapter 3: Object-Oriented Programming
- Chapter 4: Build an Events Calendar
- Chapter 5: Add Controls to Create, Edit, and Delete Events
- Chapter 6: Password Protecting Sensitive Actions and Areas
-
Part 3: Combining jQuery with PHP Applications
-
Chapter 7: Enhancing the User Interface with jQuery
- Adding Progressive Enhancements with jQuery
- Including jQuery in the Calendar App
-
Creating a Modal Window for Event Data
- Binding a Function to the Click Event of Title Links
- Preventing the Default Action and Adding an Active Class
- Extracting the Query String with Regular Expressions
- Creating a Modal Window
- Retrieving and Displaying Event Information with AJAX
- Adding a Close Button
- Adding Effects to the Creation and Destruction of the Modal Window
- Summary
- Chapter 8: Editing the Calendar with AJAX and jQuery
-
Chapter 7: Enhancing the User Interface with jQuery
-
Part 4: Advancing jQuery and PHP
-
Chapter 9: Performing Form Validation with Regular Expressions
-
Getting Comfortable with Regular Expressions
- Understanding Basic Regular Expression Syntax
- Drilling Down on the Basics of Pattern Modifiers
- Getting Fancy with Backreferences
- Matching Character Classes
- Finding Word Boundaries
- Using Repetition Operators
- Detecting the Beginning or End of a String
- Using Alternation
- Using Optional Items
- Putting It All Together
- Adding Server-Side Date Validation
- Setting up Test Data
- Adding Client-Side Date Validation
- Summary
-
Getting Comfortable with Regular Expressions
- Chapter 10: Extending jQuery
- Appendix A: Brief Notes on PHP 7
-
Chapter 9: Performing Form Validation with Regular Expressions
- Index
Product information
- Title: Pro PHP and jQuery, Second Edition
- Author(s):
- Release date: January 2016
- Publisher(s): Apress
- ISBN: 9781484212301
You might also like
book
jQuery in Action, Third Edition
jQuery in Action, Third Edition, is a fast-paced and complete guide to jQuery, focused on the …
book
Beginning jQuery: From the Basics of jQuery to Writing your Own Plug-ins
Navigate the tricky issues around cross-browser inconsistencies and use jQuery to avoid wasting time fixing these …
book
Pro PHP MVC
Model View Controller (MVC) is becoming the definitive architecture of website development frameworks due to the …
book
Web Development with JavaScript and Ajax Illuminated
Web Development with JavaScript and AJAX teaches your students the cutting-edge techniques for web development for …