강의

멘토링

로드맵

Inflearn brand logo image
BEST
Programming

/

Programming Language

PHP 7+ Programming: Object-Oriented

This discusses the foundation for learning modern PHP, from PHP Object-Oriented Programming and built-in classes to PSR, Composer, and MVC (Model, View, Controller).

(4.5) 19 reviews

361 learners

  • pronist
PHP
oop

Reviews from Early Learners

What you will learn!

  • PHP Object-Oriented Programming

  • PHP Built-in Classes and Interfaces

  • PHP Micro Framework Development

  • PHP package manager

  • MVC(Model, View, Controller)

No more legacy,
let's overcome the past and move toward the future!
Jung Sangwoo's "Awesome Laravel"
어썸 라라벨

PHP 7+ Programming: Object-Oriented

이 강좌는[[STRONG_1]] 『[[/STRONG_1]][[A_2]]PHP 7+ 프로그래밍[[/A_2]][[STRONG_3]]』[[/STRONG_3]] 강좌의 [[STRONG_4]]후속 강좌[[/STRONG_4]]입니다. 다만 이전 강좌를 듣지 않더라도 기초지식이 있다면 따라올 수 있습니다.

Curriculum

Object-oriented programming, built-in classes, PSR, Composer, MVC (Model, View, Controller) - we cover the fundamentals needed to learn modern PHP. Once you complete the entire course, you'll be ready to start with the Laravel framework.

What is object-oriented programming?

Learn PHP object-oriented syntax. Study from the basics of classes and objects to various features added to modern PHP such as generators and reference expressions. We'll also discuss unique characteristics of the PHP language, including inheritance and context keywords.

Built-in classes, you should at least know this much!

"PHP 7+ Programming" course didn't cover topics like Classes, DateTime, Directory, Reflection, SPL and other built-in classes used in PHP, which we'll explore here. Additionally, we'll also learn about interfaces such as Iterator, ArrayAccess. Of course, if you think this content is too lengthy, you can always come back to it later.

What are the PHP standard recommendations?

We'll learn about PSR(PHP Standard Recommendation). This is a recommendation discussed by PHP-FIG when doing PHP programming, and it includes content we need to know such as coding style (PSR-1, PSR-12), autoloader (PSR-4), etc. Therefore, we'll discuss this.

How long are you going to keep making and using it yourself?

Do we have to create all the code used on web pages ourselves? No, we don't. There are many wonderful open source packages created by various people around the world. We should actively use these.

Package manager, that is exactly Composer. Using this, you can use various packages created by users and utilize the Packagist registry. In this lesson, we will experience the benefits of using packages by using Whoops, one of the PHP packages.

Creating My Own Framework

Frameworks include multiple libraries and often provide project templates or structures for developers to use conveniently. We will configure it to focus on MVC(Model, View, Controller). Of course, we will not use any packages made by others here. The package we create here will be downloaded and used directly with Composer in the bulletin board project that will come up next.

From functional to object-oriented

MVC(Model, View, Controller) and object-oriented programming will be actively used to transform the bulletin board project. Additionally, we will go through the process of downloading and directly applying the package created in 'Building My Own Framework'. However, the code will be written from scratch starting with index.php, and we have decided not to use existing code so that you can follow along even if you haven't taken the previous course.

Things you need before taking the course

The development server uses a built-in embedded server, but if needed, you can use tools like WAMP or refer to the PHP Manual.

  • PHP 7.4.21 TS(Thread Safe) (64bit)
  • XDebug 3.0.4 TS (64bit)
  • The code editor uses VSCode(Visual Studio Code).

The frontend uses UIkit CSS Framework and CKEditor 5 as the text editor.

Q&A

Since July 24, 2023, I have not been accepting questions about the course due to personal reasons. However, you can still review the Q&A that has been written over the years. I recommend looking for questions in the community.

Official Documentation & Books

Goodbye legacy,
A modern PHP fundamentals bible for beginners!
『PHP 7+ Programming』
PHP 7+ 프로그래밍
Time to explore PHP 8, which appeared after 5 years
[Free] 『Learning PHP 8's New Features』
PHP 7+ 프로그래밍

Recommended for
these people

Who is this course right for?

  • PHP 7+ Programming: Reboot Attendee

  • Those who want to learn about PHP object-oriented programming

  • Someone who wants to try modern PHP programming

Need to know before starting?

  • PHP 7+ Programming: Reboot

Hello
This is

1,739

Learners

73

Reviews

187

Answers

4.2

Rating

4

Courses

Github: https://github.com/pronist · Email: pronist@naver.com

Curriculum

All

41 lectures ∙ (10hr 10min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

19 reviews

4.5

19 reviews

  • henu님의 프로필 이미지
    henu

    Reviews 9

    Average Rating 5.0

    5

    100% enrolled

    I can say that this is the best PHP lecture. I work on a legacy project of PHP 5.* version in my field. However, since PHP is not my main development language, I used to code only to the extent that there would be no errors with my shallow knowledge, but at some point, problems with legacy projects began to appear. For example, spaghetti coding is a given, and there are duplicate functions that handle the same processing, incorrect Truthy/Falsy determination, and even more, PHP environment settings are set to skip cases such as shallow errors (Warnings), etc. The moment I felt the seriousness of the situation, I wondered if PHP was originally coded like this, and at that moment, I thought about how I could code in PHP that would be easy to maintain, and that's when I found this precious PHP lecture on Inflearn. Thanks to this lecture, I had the opportunity to properly learn about PHP 7.* (modern) grammar and the directory structure of PHP frameworks. Thank you. If there is a lecture on the Laravel framework in the future, I will sign up for it right away! Oh, one thing I regret while taking the OOP part is that since I only practiced in a local environment, I became curious about how deployment is done in an actual operating environment (Linux/Unix, etc.). If the instructor has time, I would like you to cover operating environment deployment in the next lecture.

    • pronist
      Instructor

      Thank you so much for your sincere review. In fact, even though it is a project that is still active in the market, PHP projects have a lot of legacy as you mentioned. PHP has played a really important role in the development of the Internet, but from the developer's perspective, the way PHP is used in the market was not so welcome. When I first encountered PHP in a project that was already written in the field, I wondered if this was really the limit of this language and thought about moving to another language. However, since PHP has a high degree of freedom in a non-framework environment, I realized that the results are very different depending on the developer, so I thought it would be a good idea to create a lecture so that many people can use PHP in a better way. I hope that there will be more developers like Henu who think about how to write in a better way when using PHP while in the field. As a side note, I excluded distribution because I am still immature in many areas :))

  • dirend79555님의 프로필 이미지
    dirend79555

    Reviews 47

    Average Rating 5.0

    5

    95% enrolled

    I started rebooting and took the lecture now, and it was a lecture worth referring to when converting functional to object. I didn't understand everything after listening to it once, but it's a good lecture the more times I watch it. After this, if it's okay, it would be good to cover Laravel, and I hope there will be a lecture that teaches small know-how about servers while creating a real server without going too far from the topic, and creates a bulletin board. 👍

    • meimikim0440님의 프로필 이미지
      meimikim0440

      Reviews 1

      Average Rating 5.0

      5

      12% enrolled

      It's still early days, but I'm listening hard. I needed a PHP object-oriented lecture, so thank you. The lecture structure is good, and the instructor explains everything one by one, but I feel like it's not a lecture style that feeds you easy understanding. When explaining a concept, rather than showing you the code right away, it would be better if you first briefly explain the definition of the term or concept, or when to use it. It may be because my skills are lacking, but when learning a concept that I'm seeing for the first time, it was hard to understand just through the lecture, so I had to look up documents and study first to follow along. That way, I could understand what the instructor said. I think it would be easier for those who already know the concepts to understand. Thank you for the great lecture! After listening to it, I plan to read the instructor's Laravel book ^^

      • frea7154님의 프로필 이미지
        frea7154

        Reviews 1

        Average Rating 5.0

        5

        100% enrolled

        If you are using a legacy system below PHP 5 or want to learn object-oriented concepts of PHP, I recommend it. I was able to understand a lot in the part where I created a mini-framework using the MVC pattern in the latter half of the lecture, and used it to create a bulletin board. In the basic lecture, I created a bulletin board using a function, and by comparing the basic lecture and the object-oriented lecture, I was able to see how it was improved. ^^ I will also take the next Laravel lecture when it comes out.

        • zpunsss3275님의 프로필 이미지
          zpunsss3275

          Reviews 3

          Average Rating 5.0

          5

          100% enrolled

          If you are thinking of working with Laravel or CI in the future, you must listen to this. Otherwise, you will probably end up writing code without knowing how the framework works. The more I study CI4, the more I realize how much knowledge this person has... I think you need to invest a lot of time compared to the lecture time to understand it overall. I did. However, I think this investment of time becomes your strength. If you keep looking up the documentation repeatedly for things you don't understand and study, You will feel how much thought went into this lecture and how much effort was put into conveying knowledge simply and neatly.

          • pronist
            Instructor

            Thank you so much for your review. I put a lot of thought into making this course, so I'm really grateful that you noticed. I'm planning to do a Laravel course with a new microphone in the future :)

        $42.90

        pronist's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!