Getting Started with PHP 7
4.5 (18 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
111 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Getting Started with PHP 7 to your Wishlist.

Add to Wishlist

Getting Started with PHP 7

Increase your productivity by learning the new features of PHP 7
4.5 (18 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
111 students enrolled
Created by Packt Publishing
Last updated 2/2017
English
Current price: $10 Original price: $125 Discount: 92% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 4 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Get to know a better understanding about object-oriented SOLID principles with PHP 7
  • Learn the advanced PHP techniques like anonymous and recursive function
  • Find out how to Improve PHP application by applying dependency management and PHP standard.
  • Apply SOLID design principles which can make code become cleaner, maintainable and extensible.
  • Learn and get accustomed with the Advanced OOP techniques like inheritance, traits, namespace and auto loading
  • Gain a better understanding PHP design patterns such as singleton, factory, repository and MVC design pattern.
View Curriculum
Requirements
  • No grounding in PHP required.
  • The video will get you to speed in everything from basic programming practices to high end techniques.
Description

When it comes to modern web development, performance is everything. The latest version of PHP has been improvised and updated to make it easier to build for performance, improved engine execution, better memory usage, and a new and extended set of tools. If you’re a web developer, what’s not to love? This course would guide you with the new features of PHP 7, advanced OOP and get equipped with SOLID Principles and Design Pattern.

PHP is an excellent language for object oriented programming. The new features of PHP 7 makes it more fast and scalable. This video covers the basic concepts of PHP programming in a step-by-step manner.The viewer will be able to improve their productivity by learning design patterns which will promote code reuse and reduce redundancy. The video would go in detail about advance OOP concepts, networking, design patterns, debugging, etc

This course will show you how to make full use of PHP 7 with a range of practical projects that will not only teach you the principles, but also show you how to put them into practice. It will push and extend your skills, helping you to become a more confident and fluent PHP developer.

About the Author

Budi Irawan is a software engineer, lecturer and open source contributor. He has experience in PHP more than 7 years in building small and enterprise web applications. Beside PHP, he also plays with Javascript and Ruby. He loves to teach, contribute and meet new people. In his spare time, he usually do sports and travelling.

Who is the target audience?
  • Beginner web developers who know HTML and maybe CSS and can develop simple static websites, but want to learn PHP in order to develop dynamic, database-backed web applications.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
48 Lectures
03:54:24
+
Installation and Setup
2 Lectures 09:01

This video provides an overview of the entire course.

Preview 02:38

In order to practice examples in video, there are things that we need to setup and install. This video will show you what things should be setup and installed.

Installing Web Server Apache, MySQL, and PHP7
06:23
+
Getting Started with PHP 7
9 Lectures 27:31

PHP 7 is the new kid on the block. It is a long awaited version and it brings some cool new features that can encourage us to move on from previous PHP versions. 

Preview 04:00

PHP 5 already supports type declaration for array, class and interface. PHP 7 comes with more support. It supports scalar type declaration for int, boolean, float and string.

Scalar Type Declaration
04:33

PHP always has dynamic return type in functions. PHP 7 introduces a new feature, return type declaration, that will allow us to define the return type in a function. 

Return Type Declaration
02:49

When checking a variable is set or null, it always needs more codes to write. PHP 7 has a new operator named The Null Coalesce Operator to make the null checking codes cleaner. 

The Null Coalesce Operator
02:39

Sorting is mostly used in enterprise PHP applications. A new operator in PHP 7 tries to improve how we play with sorting. It is the Spaceship Operator. 

The Spaceship Operator
03:12

Session option configuration in the previous PHP version is not flexible. We have to change the php.ini file. PHP 7 tries to solve this problem by introducing session start options. 

Session Start Options
02:36

A class name is one of the requirements for creating a class in the previous PHP version. PHP 7 has a new feature to create anonymous classes.

Anonymous Classes
02:27

The previous PHP version had a security problem with object unserialization. PHP 7 tries to solve this problem using filtered unserialization to remove unwanted objects. 

Filtered Unserialization
02:37

Previously in PHP, if you have a class that use a lot of another class you will get quite lot of use statements. In PHP 7, this can be simplified using grouping use statements. 

Grouping Use Statements
02:38
+
Advanced PHP Techniques
8 Lectures 48:32

Regular function is not suitable in some cases. PHP has anonymous function as a solution to improve the readability of the code. 

Preview 04:03

Recursive function is common in computer programming. When we develop PHP application, somehow we will find a problem that can be solved using recursive function. 

Recursive Function
03:55

Targeting the world-wide users means that we have to support all languages in our web application. We need to know how to use internationalization (i18n). 

Internationalization (i18n)
07:01

Regular Expression is powerful technique to search and manipulate text. PHP has some built-in functions that incorporate regular expression and it is important to learn the regular expression grammar and syntax.

Regular Expression
07:44

Working with a very long string using concatenation in PHP could be cumbersome. PHP has heredoc syntax to solve this problem. 

Heredoc
03:35

Dealing with date and time is something that we can't avoid when building PHP application. It is important to know the essential techniques to construct and manipulate date and time. 

Date and Time
06:54

Managing and maintaining dependencies can be troublesome but PHP already comes with an application-level package manager called Composer that makes the process smooth and elegant. 

Dependency Management
07:21

PHP has so many available standards. Each application and each framework defines their own standard. PSR is an initiative to create uniform standard for PHP world. 

PSR Standard
07:59
+
Working with Databases
5 Lectures 32:18

Database is a must-have to build enterprise PHP applications. It can help to store, manage and process the data. 

Preview 05:30

PHP has particular functions to connect and manage database in some RDBMS such as MySQL and PostgreSQL. It is not the best practice though. Using PDO is more recommended.

PDO
06:01

Doctrine is a library to use the next level technique to communicate with database. It can act as database access layer and also Object relational mapper. This video is an introduction to Doctrine. 

Doctrine
08:46

NoSQL is gaining popularity in the last few years to solve various business problems. It is very important to learn the differences between NoSQL and SQL so that we will have a sense to use them correctly.

SQL Versus NoSQL
05:36

Redis is one of NoSQL database. It can be used for many scenarios to help build enterprise application. This video is an introduction to Redis. 

Redis
06:25
+
Basic Object-Oriented Programming
6 Lectures 25:34

PHP is originally created to resemble procedural language C. But procedural language has some caveats especially when we want to build large application. Object-oriented approach tries to solve this limitation. 

Preview 04:36

We continuously bump into classes when we take object-oriented programming approach. What is the relationship between object and class?

Object Versus Class
03:01

Class is the central aspect in object-oriented programming. In this video, we are going to learn how to create class, how to create object from the class, how to define constructor and destructor. 

Class Construct
06:26

Variables in class has important role to define class state. There are three type of variable visibility in OOP, public, private, and protected. 

Class Variables
04:02

Class has behavior. It is represented by methods. Method also has visibility. We are going to learn more about method visibility. 

Class Methods
03:23

Sometimes we want to define value that can't be changed, we can use constant for this case. We will have a brief look on how to create and access a constant.

Class Constant
04:06
+
SOLID Principles
6 Lectures 29:43

What is the characteristic of good and bad code? Every good developer always strive to write good code. SOLID principles can be a guideline to make it happen. 

Preview 03:09

SRP is the entry point of SOLID principles. It is the easiest principle to understand and adhere to. We're going to find out what SRP is and how to implement SRP. 

Single Responsibility Principle
06:45

Open Closed principle is the second principle of SOLID. We will find out more about it and how to apply it. 

Open Closed Principle
04:12

The third principle of SOLID is Liskov Substitution Principle. This principle is probably hard to understand at first but we can go through the problem example and try to fix the problem to adhere LSP. It will improve our understanding about LSP. 

Liskov Substitution Principle
04:42

Interface Segregation Principle is the fourth principle of SOLID. This video will give you insights about this principle. 

Interface Segregation Principle
03:53

Dependency Inversion Principle is the last principle of SOLID. It describes the proper way to define dependency between classes. In this video, we are going to learn what it is and how to use it in our application. 

Dependency Inversion Principle
07:02
+
Advanced OOP
8 Lectures 41:43

Inheritance is one of important fundamental concept in object-oriented programming. It can help reduce code duplication and brings good software architecture. 

Preview 06:40

An abstract class is a class that is meant to be a parent or base class only. We cannot create an object from an abstract class. Abstract class can have abstract method. It is useful for inheritance. 

Abstract Class
04:04

An interface is a contract. It tells us exactly which methods should be present in each class that adheres to that contract. This video will show you how to use interface in PHP. 

Interface
05:42

Using static properties and methods can help you write less code. But static has unique behavior compared with dynamic properties and methods. You will learn about this more in this video. 

Static Variables and Methods
05:25

PHP has special methods called magic methods. These methods are executed automatically when some events are raised. Let's learn some of them in this video. 

Magic Methods
04:48

Trait is introduced in PHP 5.4. It is basically a collection of method that can be plugged into the class. Trait can help to reduce code duplication between classes. 

Traits
05:38

In PHP, class must be unique. If we have same class name then we would be in trouble. Luckily, namespaces release us from this situation. 

Namespaces
05:07

Autoloading can improve our way in including files and class. It is one of a great technique in building big PHP application. You will learn about autoloading in this video. 

Autoloading
04:19
+
Design Pattern
4 Lectures 20:02

The singleton pattern is used to restrict the instantiation of a class to a single object, which can be useful when only one object is required across the system. This video will show you how to implement singleton pattern in PHP.

Preview 05:24

Factory Method Design Pattern allows interfaces for creating objects and also allows subclasses to determine which class to instantiate. In this video, you will learn more how useful this pattern to solve some problems.

Factory Method Design Pattern
04:15

Repository pattern is a kind of container where data access logic is stored. It hides the details of data access logic from business logic. 

Repository Design Pattern
04:31

Model View Controller is a design pattern that separates presentation logic and application logic. It consists of three components: Model, View, and controller.  

Model View Controller Design Pattern
05:52
About the Instructor
Packt Publishing
3.9 Average rating
7,196 Reviews
51,465 Students
616 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.