PHP and WordPress
PHP – Hypertext Preprocessor, Programming course provides the knowledge necessary to design and develop dynamic, database-driven Web pages using PHP 7. PHP is a language written for the Web, quick to learn, easy to deploy and provides substantial functionality required for e-commerce. This course introduces the PHP framework and syntax and covers in depth the most important techniques used to build dynamic Web sites. Students learn how to connect to any modern database, and perform hands on practice with a MySQL database to create database-driven HTML forms and reports.
This step-by-step course will teach you how to use PHP for WordPress.In this course we will take you trough all basic PHP elements that are commonly used in WordPress. Like conditional statements, loops, functions and other basic PHP syntax. This course is not made for learning you all what PHP has to offer. This course gives you a good basic to continue working on creating a plugin or a theme within WordPress.
Core PHP
Introduction to PHP
- Evaluation of Php
- Basic Syntax
- Defining variable and constant
- Php Data type
- Operator and Expression
Decisions and loop
- Making Decisions
- Doing Repetitive task with looping
- Miinxg Decisions and looping with Html
String
- Creating and accessing String
- Searching & Replacing String
- Formatting String
- String Related Library function
Working with file and Directories
- Understanding file& directory
- Opening and closing a file
- Coping ,renaming and deleting a file
- Working with directories
- Building a text editor
- File Uploading & Downloading
String matching with regular expression
What is regular expression
Pattern matching in Php
Replacing text
Splitting a string with a Regular Expression
Database Connectivity with MySql
- Introduction to RDBMS
- Connection with MySql Database
- Performing basic database operation(DML) (Insert, Delete, Update, Select)
- Setting query parameter
- Executing query
- Join (Cross joins, Inner joins, Outer Joins, Self joins.)
Handling Html Form With Php
- Capturing Form Data
- Dealing with Multi-value filed
- Generating File uploaded form
- redirecting a form after submission
Function
- What is a function
- Define a function
- Call by value and Call by reference
- Recursive function
Array
- Anatomy of an Array
- Creating index based and Associative array
- Accessing array Element
- Looping with Index based array
- Looping with associative array using each() and foreach()
- Some useful Library function
State management
- Using query string(URL rewriting)
- Using Hidden field
- Using cookies
- Using session
Generating Images with PHP
- Basics of computer Graphics
- Creating Image
- Manipulating Image
- Using text in Image
PHP for WordPress
- How to Add HTML to PHP Files
- Template Tags
- The Loop
- Creating your own Loop
- Custom Functions
- Introduction to hooks
- Examples of Actions & Filters.
- Variables
- Coding Standards