Inflearn brand logo image
Inflearn brand logo image
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 forward into the future!
Jeong Sang-woo's 『Awesome Laravel』
Awesome Laravel

PHP 7+ Programming: Object Oriented

This course is a follow-up course to the course 『 PHP 7+ Programming 』 . However, even if you haven't taken the previous course, you can still follow along if you have basic knowledge.

Curriculum

We will cover the basics of learning modern PHP, including object-oriented programming, built-in classes, PSR, Composer, and MVC (Model, View, Controller) . Once you complete the course, you will be ready to start using the Laravel framework.

What is object orientation?

Learn PHP object-oriented syntax . Study the basics of classes and objects, generators, reference expressions , and other features added to modern PHP. We will also talk about features unique to the PHP language, such as inheritance and contextual keywords.

Built-in classes, you should know this much!

We will learn about built-in classes used in PHP, such as Classes, DateTime, Directory, Reflection, and SPL , which were not covered in the course 『PHP 7+ Programming』 . Additionally, we will learn about interfaces such as Iterator and ArrayAccess . Of course, if you think this content is too long, you can come back to it later.

What is the PHP Standard Recommendation?

Let's learn about PSR(PHP Standard Recommendation) . It is a recommendation that PHP-FIG talks about when programming PHP, and it includes things we need to know, such as coding style (PSR-1, PSR-12), autoloader (PSR-4), etc. So let's discuss it.

How long are you going to make and use it yourself?

Should we create all the code that we use on our web pages? No. There are many wonderful open source packages created by various people in the world. We should actively use them.

Package manager , that's Composer . It allows you to use packages created by various users and use the Packagist registry. In this lesson, we will use Whoops , one of the PHP packages, to feel the benefits of using packages.

Create your own framework

Frameworks include several libraries and provide project templates or frameworks for developers to use conveniently. We will configure them so that they can be used with a focus on MVC (Model, View, Controller) . Of course, we will not use any packages created by others here. We will download and use the packages created here directly using Composer in the bulletin board project that will come out right after.

From functional to object-oriented

We will actively use MVC (Model, View, Controller) , object-oriented , to transform the bulletin board project . We will also download the package created in ' Making My Own Framework' and apply it directly. However, we will write the code from the beginning, starting from index.php , and we will not use the existing code so that you can follow along even if you have not taken the previous lecture.

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 the UIkit 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

Goodbye legacy,
The Modern PHP Basics Bible for Beginners!
『PHP 7+ Programming』
PHP 7+ Programming
It's time to get to know PHP 8, which has appeared after 5 years
[Free] 『PHP 8, Learn about new features』
PHP 7+ Programming

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,738

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)

Published: 
Last updated: 

Reviews

All

19 reviews

4.5

19 reviews

  • henu님의 프로필 읎믞지
    henu

    Reviews 9

    ∙

    Average Rating 5.0

    5

    100% enrolled

    特にPHP講矩の䞭で最高ず蚀えるようです。 私は珟業でPHP 5.*バヌゞョンのレガシヌプロゞェクトを匕き受けお業務を進行したいず思いたす。 しかし、䞻な開発蚀語がPHPではないため、浅い知識でしか゚ラヌが出ないレベルでしかコヌディングをしなかったが、ある瞬間からレガシヌプロゞェクトの問題点が芋え始めた。 䟋えば、スパゲッティコヌディングは圓然知事同じ凊理を担圓する関数の重耇、誀ったTruthy/Falsy刀別、さらにPHP環境蚭定を操䜜しお浅い゚ラヌ(Warning)のような堎合はめくるように蚭定されおおり、等 深刻さを感じた瞬間、PHPはもずもずこのようにコヌディングするのか疑問点が聞こえ、 どうすればPHPでもメンテナンスが䟿利なコヌディングができるかずいう気がした刹那むンフラにこんな貎重なPHP講矩を探すようになりたしたね。 この講矩のおかげで、PHP 7.*モダンな文法ずPHPフレヌムワヌクのディレクトリ構造に぀いお正しく孊ぶ機䌚がありたした。ありがずうございたす。 今埌のララベルフレヌムワヌクの講矩が出たら、すぐに受講申請したす ああ、䞀぀のOOPパヌトたで受講しながら残念だった点は、ロヌカル環境でしか緎習しおいないので、実際の運甚環境Linux/Unixなどにはどのように配垃が行われるのか気になりたした。 もし、講垫様の時間的䜙裕になったら、次の講矩では運営環境配垃の方も取り䞊げおいただきたいず思いたす。

    • pronist
      Instructor

      心のこもった受講評 ありがずうございたす。 実際に垂堎でただただ珟圹で動䜜するプロゞェクトであるにもかかわらず、PHPプロゞェクトの堎合には、おっしゃるようにレガシヌがすごく倚いです。 PHPはむンタヌネットの発展においお本圓に重芁な圹割を果たしおきたしたが、開発者の立堎でPHPが垂堎で䜿われる方法はそんなに嬉しかったですね。私も珟業で既に䜜成されたプロゞェクトで初めおPHPに面した時、本圓にこの蚀語はこれが限界なのか悩んでしたい、他の蚀語に匕越しを行かなければならないずも思っおいたした。 ただ、PHPはノンフレヌムワヌク環境で自由床が本圓に高いだけに開発者によっおその結果物はあたりにも違うこずを認識し、倚くの人がPHPをより良い方法で䜿甚できるように講矩を䜜っおみおはどうかず思いたした。 Henu様のように珟業にありながらPHPを䜿甚する際、より良い方法で䜜成できる方法を悩む開発者が倚くなっおほしいです。 䜙談で配垃の堎合、私もただ未熟な郚分が倚く陀倖したした:))

  • dirend79555님의 프로필 읎믞지
    dirend79555

    Reviews 47

    ∙

    Average Rating 5.0

    5

    95% enrolled

    リブヌトを始めお今の講矩も聞きたしたが、関数型をオブゞェクト的に倉換する際に参考にするほどの講矩でした。䞀床聞いたこずで理解は尜きたせんでしたが、䜕床も芋るほど良い講矩です。 この埌、倧䞈倫ならララベルを扱うのもいいし、䞻題がちょっず倖れないラむンで実サヌバヌを䜜っおサヌバヌに察する小さなノりハりも孊び掲瀺板を䜜っおみる講矩が出おほしいですね。 👍

    • meimikim0440님의 프로필 읎믞지
      meimikim0440

      Reviews 1

      ∙

      Average Rating 5.0

      5

      12% enrolled

      ただ序盀ですが、䞀生懞呜聞いおいたす。 phpオブゞェクト指向の講矩が必芁だったのに感謝したす。 講矩構成が良く、講垫様が䞀぀䞀぀教えおいただけたすが、理解しやすいように食い蟌んでくれるスタむルの講矩ではないず感じられたす。 どの抂念を説明するずきにすぐにコヌドで衚瀺するよりは、たず甚語や抂念の定矩あるいはい぀䜿甚するかなどをたず簡単に説明しおいただければもっず良いようです。 私の実力が足りないせいでしょうが、初めお芋る抂念を孊ぶ時、講矩だけでは理解が難しくお、䞀人で文曞などを探しお先に勉匷しなければ埓えたせんでした。そうすれば講垫様のみこずばが理解になりたした。すでにある皋床の抂念を知っおいる方は理解しやすくなるようです。良い講矩ありがずうございたすみんな聞いたら講垫様ララベル本も芋おみたいです

      • frea7154님의 프로필 읎믞지
        frea7154

        Reviews 1

        ∙

        Average Rating 5.0

        5

        100% enrolled

        PHP 5以䞋のレガシヌシステムを䜿甚しおいるか、 PHPのオブゞェクト指向の抂念を぀かみたいならおすすめです。 講矩埌半のMVCパタヌンを適甚したミニフレヌムワヌクを䜜っおみる それを利甚しお掲瀺板を䜜成する郚分でたくさん理解できたした。 基瀎講座では関数で掲瀺板を䜜成したしたが、 基瀎講座ずオブゞェクト指向講座を比范しながら どのように改善されたかがよくわかりたした。 ^^ 次のララベル講矩も出れば受講したす。

        • zpunsss3275님의 프로필 읎믞지
          zpunsss3275

          Reviews 3

          ∙

          Average Rating 5.0

          5

          100% enrolled

          自分が以埌ララベルやCIを扱う぀もりがあれば必須ず聞いおください。そうしないず、frameworkがどのように戻るのかわからず、コヌドを曞くようになりたす。 CI4を勉匷すればするほど、この方がどれだけの知識を持っおいるか䜓感させたすね  講矩時間に比べお倚くの時間を投資しなければ党䜓的に理解できるず思いたす。私はそうでした。 しかし、このような時間投資が自分の力になるず思いたす。 理解しおいないのは、䜕床も䜕床も文曞を探しお勉匷するなら この講矩がどれほど悩み、簡単にきちんず知識を䌝えるために努力したのかを感じたす。

          • pronist
            Instructor

            受講評っおくれお本圓にありがずうございたす。

        $42.90

        pronist's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!