Take advantage of PHP 8's powerful features to create basic web applications, solve code tests (required for most job interviews nowadays), and begin moving towards more advanced PHP concepts. This book provides an introduction to PHP 8, including modules, attributes, JIT compiler, and union types,
PHP 8 Basics. For Programming and Web Development
✍ Scribed by G. Engebreth, S. Sahu
- Year
- 2023
- Tongue
- English
- Leaves
- 335
- Category
- Library
No coin nor oath required. For personal study only.
✦ Table of Contents
Table of Contents
About the Authors
About the Contributor
Acknowledgments
Introduction
Chapter 1: Getting Started
Why Use PHP?
Using PHP
Why PHP, Ngnix, and MySQL?
Installing Docker
Windows
Mac OS
Linux
Installing Docker-Compose
The Development Environment
Summary
Chapter 2: PHP Fundamentals
Variables
Using Errors As Tools
Objects
Verbs: GET and POST
Summary
Chapter 3: Functions, Classes, and Traits
OOP
Reviewing Class Definitions
Class Visibility
Public
Protected
Private
A Closer Look at Class Inheritance
Polymorphism and Abstract Classes
Constants
Constructs
Traits
Namespaces
Summary
Chapter 4: Data and Data Types
PHP Data Types
PHP Data Types: Scalar Types
Boolean
Integer
Float
String
PHP String Functions
substr()
strlen()
str_replace()
trim()
strpos()
strtolower()
strtoupper()
is_string()
strstr()
PHP Data Types: Compound Types
Array
Object
PHP Data Types: Special Types
NULL
resource
Summary
Chapter 5: Form Data
PHP POST Form
PHP GET Form
Summary
Chapter 6: Arrays
PHP Indexed and Associative Arrays
PHP Multidimensional Arrays
PHP Array Functions
array_change_key_case
array_chunk
array_column
array_combine
array_count_values
array_diff_assoc
array_diff_key
array_diff_uassoc
array_diff_ukey
array_diff
array_fill_keys
array_fill
array_filter
array_flip
array_intersect_assoc
array_intersect_key
array_intersect_uassoc
array_intersect_ukey
array_intersect
array_is_list
array_key_exists
array_key_first
array_key_last
array_keys
array_map
array_merge_recursive
array_merge
array_multisort
array_pad
array_pop
array_product
array_push
array_rand
array_reduce
array_replace_recursive
array_replace
array_reverse
array_search
array_shift
array_slice
array_splice
array_sum
array_udiff_assoc
array_udiff_uassoc
array_udiff
array_uintersect_assoc
array_uintersect_uassoc
array_uintersect
array_unique
array_unshift
array_values
array_walk_recursive
array_walk
array
arsort
assort
compact
count
current
each
end
extract
in_array
key_exists
key
krsort
ksort
list
natcasesort
natsort
next
prev
range
reset
rsort
shuffle
sizeof
sort
uasort
uksort
usort
Summary
Chapter 7: Sessions and Cookies
PHP Sessions
PHP Cookies
Summary
Chapter 8: Objects
Output
Summary
Chapter 9: PHP Exceptions, Validation, and Regular Expressions
PHP Exceptions
PHP Form Validation
PHP Regular Expressions
Regular Expressions Modifiers
Regular Expression Metacharacters
Regular Expression Square Brackets
Regular Expression Quantifiers
Regular Expression Functions
Summary
Chapter 10: PHP and MySQL Working Together
PHP Communication with MySQL
PHP Communication with the MySQLi Method
PHP Communication with the PDO Method
MySQLi Advantages
PDO Advantages
PHP Connection to a Database
Summary
Chapter 11: Data
Planning for a New Database
Creation of a New Database
Summary
Chapter 12: Website with a DB
Summary
Chapter 13: Introduction to Frameworks
Introduction to Frameworks
Pros and Cons of Frameworks
Pros of Using Frameworks
Cons of Using Frameworks
MVC Pattern
Different Layers of a Framework
Different Types of Frameworks
Role of Composer
Introduction of PHP Standard Recommendation (PSR)
PHP Frameworks
Choosing a Framework
Summary
Chapter 14: Introduction to Laravel
Introduction to Laravel
Installing Laravel
Database Setup and Configuration
Database Migrations
Controller Route
Registration View Form
Storing User Data in a Database
Summary
Chapter 15: Introduction to Symfony
Introduction to Symfony
Installing Symfony
Creating a Symfony Application
Anatomy of a Basic Symfony Application
Summary
Chapter 16: A Basic Symfony Application
Creating a New Symfony Project
Database Setup and Configuration
Controller Route
Registration View Form
Storing User Data in a Database
Summary
Index
📜 SIMILAR VOLUMES
<p><span>Embark on a practical journey of building dynamic sites aided by multiple projects that can be easily adapted to real-world scenarios. This third edition will show you how to become a confident PHP developer, ready to take the next steps to being a Full Stack Developer and/or successful web
<p><span>Embark on a practical journey of building dynamic sites aided by multiple projects that can be easily adapted to real-world scenarios. This third edition will show you how to become a confident PHP developer, ready to take the next steps to being a Full Stack Developer and/or successful web
<p><span>Embark on a practical journey of building dynamic sites aided by multiple projects that can be easily adapted to real-world scenarios. This third edition will show you how to become a confident PHP developer, ready to take the next steps to being a Full Stack Developer and/or successful web
<p><span>Embark on a practical journey of building dynamic sites aided by multiple projects that can be easily adapted to real-world scenarios. This third edition will show you how to become a confident PHP developer, ready to take the next steps to being a Full Stack Developer and/or successful web