No more legacy,
Let's overcome the past and move forward into the future!
Jeong Sang-woo's 『Awesome Laravel』
PHP 7+ Programming
I created this course with the intention of making it a bible for those who are starting the PHP language at an introductory and beginner level , from basic grammar to built-in functions, web security, and bulletin board creation .
Curriculum
In this course, we will cover the basics of web development, from basic PHP programming grammar to built-in functions, web security, and bulletin board creation . We have organized the course so that you can improve the quality of your code through functionalization , not just simple implementation of built-in functions and bulletin boards that were not covered in the previous 'PHP 7+ Programming' course.
PHP Basic Grammar You Must Know
Learn the basic grammar for PHP 7+. This course is based on PHP 7.2 , but it is designed to cover Arrow Function and Spread Operator in Array, which appeared in PHP 7.4 . Therefore, if you follow the course slowly, you can learn up to PHP 7.4 , which is the latest version at the time the course was created.
Commonly used PHP built-in functions
You will learn about built-in functions that you must know while programming PHP, such as String, Password Hashing , etc. It may seem like a lot of content, but you will use a lot of it when creating a bulletin board. However, it can be boring because it is simply listed. Therefore, one way is to first create a bulletin board and then look at the built-in function part.
* There are more dropouts in the built-in functions section than in other chapters . This is because it is not fun because it is conducted in a reference-based manner . It is recommended that you do not try to do everything, and take the course when you think you need the function.
Don't forget security.
Learn about web security such as Session, XSS , etc. PHP has a relatively low barrier to entry compared to other languages, so security issues are often not maintained. This can be a problem when writing web applications, and even if we are not security experts, we need to maintain basic security issues.
Eventually, we'll have to create a bulletin board.
Create a bulletin board as a legacy project . The project starts with writing index.php from scratch. This bulletin board project may not fit in the current world of web applications that are developed mainly based on frameworks. However, in order to understand the PHP framework Laravel even a little, it is necessary to write a project as a legacy, and surprisingly, there are many PHP 4 and PHP 5 applications written as a legacy in the field.
How long will it be a legacy?
I will follow the legacy bulletin board project similarly, describing 'a certain architecture' . I will not mention it because it is not a 'real' object-oriented implementation. However, you can see how the code changes dramatically by functionalizing the existing code. I will talk about implementing it in an object-oriented way in 『 PHP 7+ Programming: Object-oriented 』 .
Things you need before attending the lecture
The development server uses the built-in embedded server , but you can use tools like WAMP or refer to the PHP manual depending on your needs.
- PHP 7.4.21 TS(Thread Safe) (64bit)
- XDebug 3.0.4 TS (64bit)
- The code editor used is VSCode (Visual Studio Code) .
Example code
The example code for this tutorial can be found in the GitHub repository. It uses CSS Framework on the frontend and CKEditor 5 as the text editor.
Q&A
As of July 24, 2023, I will no longer be accepting questions about the course for personal reasons. However, you can still review the questions and answers that have been written over the years. I encourage you to search the community for questions.
Official Documents & Books
Q. What should I study after this course?
A. You must study the object-oriented part. The best way to learn about it is to look at the PHP documentation. Of course, PHP can also do functional programming, so it would be good to learn about that. In addition, you should learn about PHP Coding Standard, PSR ( PHP Standard Recommendation) , etc. One thing that is certain is that you should avoid moving to the Laravel framework before studying object-oriented programming.
The next lecture in this series is 『 PHP 7+ Programming: Object-Oriented 』. If this lecture mainly talked about functions , then in Object-Oriented , we mainly talk about classes and objects , and we also look at a little more in-depth content such as package managers .
On June 9, 2020, the lecture 『 PHP 7+ Programming: Object-Oriented 』 was released.
Now is the time to take a step forward toward object orientation.
『PHP 7+ Programming: Object-Oriented』