
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.
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.
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.
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.
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.
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 has behavior. It is represented by methods. Method also has visibility. We are going to learn more about method visibility.
Interface Segregation Principle is the fourth principle of SOLID. This video will give you insights about this principle.
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.
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.
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.
The aim of this video is to understand the Laravel framework, and in a quick starter, we will see how easy it is to create the Laravel application and run it. We will also understand system requirements for Laravel and set it up on mac OS, Windows, and Linux.
In this video, you will first understand what artisan is and see various artisan commands available for the Laravel application and how to use artisan commands on the terminal.
The aim of this video is to understand the Laravel MVC pattern and how it is implemented in Laravel. We will see what Laravel public directory is and how Laravel application works from start to end.
In this video, you will understand the Laravel model, how you can create the Laravel model with the artisan command, how it can be associated with the database table, and what the Eloquent ORM is and its power.
The goal of this video is to understand about HTTP request and HTTP response of the Laravel framework. We will understand the structure of both the classes and how to use it with the Laravel application.
In this video, we will see how you can add authentication to your Laravel application by adding the login, register, and forgot password forms with the artisan command.
Are you a PHP developer who wants to learn the best PHP framework, Laravel? Do you want to migrate to PHP 7 for developing robust feature-rich web applications? If yes, this Learning Path is for you.
Laravel is a web application framework with expressive and elegant syntax. Laravel attempts to take the pain out of development by easing tasks that are most commonly used in web projects. PHP 7 is based on the PHPNG, so the performance gains realized from PHP 7 are huge.
Although Laravel 5 works well with the previous versions of PHP, the combination of PHP 7 and Laravel 5 can be used to create faster websites.
Packt’s Video Learning Paths are a series of individual video products put together in a logical and stepwise manner such that video builds on the skills learned in the video before it.
This Learning Path starts with an introduction to PHP 7 and then moves on to exploring its new and advanced features. You will also get acquainted with the basic and advanced object-oriented programming concepts and techniques. Next, you will learn how to install Laravel on Windows, Mac, and Linux systems. You will then be introduced to the directory structure of a Laravel application, as well as the third-party dependencies, packages, and installation with Composer. Moving ahead, you will learn about the Laravel MVC structure: routes, controllers, models, views, and templates. Finally, you will build a simple web application using the CRUD operations and basic validations.
By the end of this Learning Path, you will be able to build your own applications using PHP 7 and Laravel.
About the Authors:
For this course, we have combined the best works of these esteemed authors:
Budi Irawan is a software engineer, lecturer, and open source contributor. He has experience in PHP for more than 7 years in building small and enterprise web applications. Besides PHP, he also plays with JavaScript and Ruby. He loves to teach, contribute, and meet new people. In his leisure time, he usually plays sports and at times travelling too.
Hiren Dave is a software engineer, blogger, and consultant with over 9 years of professional experience. He writes code in number of languages. He has a passion for developing web apps, mobile apps, writing books, and blog articles about programming. He has a solid experience of startups, as he manages products for few startups. He is also passionate about researching and learning new technologies and trends. He has also authored a book Instant Sencha Touch, published by Packt.