Take this
course

Software Development / Web Development

Learning PHP 7

Leverage the simplicity and power of PHP 7 to develop feature-rich web applications

Description

About This Video

  • Learn PHP 7 from scratch, bypassing archaic, useless and deprecated functionalities.
  • Develop an engaging, feature-rich “social networking” application and deploy it with Docker and Amazon.
  • Adopt the voluminous performance improvements and build just about any type of web presence you can imagine


In Detail

PHP is back and is faster and more lightweight than ever. The world of web technology is seamlessly evolving, and PHP 7’s simplicity and prowess addresses the requirements of current and future web and mobile application development.


Learning PHP 7 demonstrates how to script for the web, providing everything from simple PHP commands to advanced data manipulations.


The course takes a deep dive into basic PHP concepts such as variables, constants, operators, arrays, conditionals, and loops, which every developer needs to master. The course also covers object-oriented paradigms and coding standards, which acts as the do’s and don'ts of writing code.


The core of the course lies in bringing all the newly introduced features to fruition. This is done through the creation of a fun social web application where a viewer can post and share pictures including features of likes and comments. The use of several controllers in the application provides the viewer with a learning curve to add more interactivity to their own applications. The course also shows you how to build an administrative panel with an intuitive menu and create a dynamic page to manage the users, photos, and comments in the application.


Important topics such as creating an API for an RSS feed, deploying with Docker and Amazon AWS, and versioning with Git are a real bonus for blooming web developers.

Full details

Curriculum

  • Introduction to PHP 7
    The Course Overview
    This video will provide you an overview of entire course.
    3:52
    PHP 7 Versus PHP 5.x
    This video will show what's new in PHP7 from performance improvements to new features. • Checking the performance improvements in PHP7 • Learning new language-related features • Knowing where to find additional information
    3:39
    Setting Up the Environment
    This video will show you how to configure a development environment using Docker. The environment stack is composed by PHP7, Apache and Mysql. • Understanding the Docker architecture • Creating containers with docker-compose • Running a first file
    3:40
    Basic PHP Syntax
    This video will show the basics of PHP and in order to create a hello world sample script. • Learning the PHP tags • Understanding the instruction separation and comments • Creating a hello world script
    2:28
    Variables, Constants, and Operators
    This video will show you what variables and constants are and how to write basic expressions with operators. • Understanding what a variable is and how to use it • Learning what a constant is • Using variables with some operators
    3:11
    Arrays
    This video will show the basic of array creation and manipulation. • Understanding what an array is • Learning how to create arrays • How to manipulate arrays
    2:28
    Conditionals
    This video will show you how to use conditional statements to perform different actions in the code • Learning how to use if, else and elseif • Learning how to use a switch statement
    3:27
    Loops
    This video will formulate a problem on how to echo “I love PHP” multiple times. The problem will be solved with loop statements. • Defining the problem, and a first approach • Using loops to solve the problem • Showing different loop types
    2:45
  • Object-oriented Programming
    Functions
    This video will show how to create and use functions with type hinting and return types. It will also show variables and anonymous functions. • Understanding what a function is and how to use it • Solving a sample problem • Learning about variables and anonymous functions
    4:10
    Classes and Objects
    This video covers the major PHP object-oriented features with examples. • Introduction to the concepts of class and object with some example • Learning about class inheritance, interfaces, and abstract classes • Learning about anonymous classes and their traits
    5:08
    Namespace and Composer
    This user will understand how to manage multiple classes in a project. • Seeing a simple project structure example • Understanding how to handle a class with a require statement and check its complexity for big systems, with the help of an example • Learning to add a Composer and modify the examples to use namespaces
    3:17
  • Lights, Camera, Action!
    Web Application Basic Concepts
    This video shows how the client-server communication is structured. • What are TCP/IP and HTTP • A brief introduction to Cookie and Ajax • Learning the working of Request and Response cycle
    3:46
    Project Structure Overview
    This video will introduce you to the MVC pattern and will use the Silex framework to create a first simple page. • Learning about the MVC pattern • Installing a Silex skeleton • Creating our first page
    3:00
    The Home Page
    With the help of CSS and HTML, the video will show you how to create the home page. • Installing Bootstrap • Creating the home page • Improving the home page with icons and JavaScript support
    3:04
    Controllers and Log System
    This video will show you how to better structure the project by creating controllers and adding a log system. • Refactoring the project folder • Creating the Controller • Adding a Log system to keep track of the events taking place in our application execution
    3:24
    Templating with Twig
    This video will improve the index template with the use of Twig. • Divide the page by sections • Simulate multiple posts in the view • Refactoring the structure by passing multiple posts from the controller
    3:29
  • Database Interaction
    MySQL and Basic SQL Syntax
    This video will show you how to create a table schema and how to use the MySQL command line to perform the database operation (INSERT, SELECT, ...). • Knowing what is MySQL and SQL • Learning how to use the MySQL command line inside the Docker container • Running queries via the command line
    4:38
    CRUD Operation with PDO
    This video will show you how to make a database connection with PDO and how to perform queries. • Learning what is PDO and form your first database connection • Knowing some general queries with PDO • Improving queries with prepared statements
    4:04
    Doctrine ORM
    This video will show you how to use Doctrine with Silex and how to map and create an entity. • Configuring Doctrine in Silex • Configuring the Doctrine command line and map an entity • Using the Doctrine command line
    4:17
  • User Interaction
    Basic Security Concepts
    The user should be aware of the most common security weaknesses, and will know the best practices to mitigate security problems. • Understanding the importance of security for a web application • Knowing what the common security weaknesses are • Learning how to prevent or mitigate security issues
    4:28
    Registration Page, Controller, and Validations
    We will learn how to create a controller with input validation and security token to perform user registration. • Understanding the registration work flow • Installing missing dependencies • Creating the controller
    3:45
    Registration Page, Database, and Password
    This video shows you how to save the user in the database with Doctrine, why the interfaces are important, and how to complete the sign up process with a view. • Learning how to save the User entity with Doctrine • Learning the importance of dependency injection • Checking the routing and template creation
    4:02
    Authentication and Authorization – Login
    We will learn how to handle the user login procedure, reusing part of the existing code and best practices. • Seeing how the login works • Refactoring the code • Seeing the creation of the controller
    4:06
    Authentication and Authorization – Firewall
    Create a firewall to protect pages from anonymous users. • Creating a class to handle the user session • Checking the Configuration of the firewall under the routes • Testing the log in and firewall
    3:46
    Posting a Message
    We will add a Post message feature in our web application. • Providing a database representation by defining the Post entity • Refactoring the traits to add more functionality • Testing the controllers
    3:34
    The Personal Dashboard
    In this video, we will create a page to show the post of the user. • Creating the Dashboard controller • Configuring the route and the dependencies • Testing the result
    2:20
  • Improving the Application with Asynchronous Calls
    Ajax Calls with jQuery
    The user will learn to use asynchronous call with jQuery to submit a post. • What are Ajax and REST • Inspecting the code provided • Testing the application
    7:07
    Error Handling
    This video will be a small guide about how to handle errors and exceptions in PHP 7. • Learning the implementation of new errors • Seeing how a try and catch statement works • Applying a try/catch to the SignUp controller
    3:06
    Uploading a Photo
    This video will show you how to manage a file upload and resize in PHP. • Setting up the GD library along with the creation of a new database entity • Improving the application code using an open source library for an asynchronous upload • Testing the upload
    4:47
    Commenting on a Post
    Add comments to the post feature in the social photo application • Learning how to create the comment entity • Learning the creation of the controller and the Ajax code • Testing the code
    4:16
    Be More Social with Likes
    This video will show you how to add more dynamics with the View more button and how to make the application more social with likes. • Improving the application with the View more button • Adding the like feature in our application • Checking out some final considerations
    5:59
  • Managing the Social Network
    Backend Overview
    Setup a back-end administration panel • Creating a new authentication firewall for admin users • Installing a JavaScript library to provide a table dynamic layout • Creating the first admin page and testing it
    3:38
    Managing Users
    The goal of the video is to add CRUD functionalities for user management using the jTable library installed previously. • Configuring the jTable library • Creating an API for the jTable integration • Inspecting the template
    5:52
    Managing Posts
    This video will show you how to create a page to manage the posts on our application. • Creating the template • Building and configuring the controller • Testing the page
    3:42
    Managing Comments
    This video will help you improve the post admin page by managing the comments effectively. • Creating the template • Creating a controller • Configuring routes and dependencies
    3:32
    A Simple Analytics Page
    Show the visitors, posts, comments, likes and users by creating an analytics page in our application. • Creating a visitor entity to store visits in the database and devise a service that uses the entity to save unique visitors • Creating controllers to show number of visits, posts, likes, comments, and users. Creating the template integrated with a JavaScript chart library. • Testing the stat page
    4:33
  • Testing and Debugging
    TDD and BDD
    This video is an introduction to application testing and widely used testing practices. • Introduction to testing and why it’s important • Learning what test-driven development is • Learning what behavior-driven development is
    3:12
    Writing Tests in PHPUnit
    This video will show you how to write a PHPUnit test in the style of TDD. • Installing a PHPUnit • Learning how PHPUnit works • Writing a unit test
    5:09
    Debugging with phpdbg
    This video will show you how to debug our social photo application using phpdbg. • Introducing yourself to phpdbg • Configuring a bootstrap to use phpdbg • Simulating and fixing a bug
    4:12
  • Application Improvement and Deploy
    Creating an API for the RSS Feed
    In the video, we will create an RSS API to display the homepage’s posts. • Learning what an RSS feed means • Understanding the XML feed representation • Creating a controller to display the feed
    4:03
    Deploying with Docker and Amazon AWS
    Deploy the Docker application on Amazon AWS. • Creating the Docker Hub and Amazon AWS account, and download the ecs-cli. • Building and pushing the Docker image • Deploying on Amazon and configuring the database
    4:19
    Versioning with Git
    This video is a small guide on how to use a version control system for our code. • Knowing the basics of Git • Learning how Git works • Learning the concepts of Git branches
    5:02

Skills

  • PHP Tool

Similar Courses

More Courses by this Instructor