PHP 7+ 프로그래밍: 객체지향
정상우
PHP 객체지향, 내장 클래스, PSR, Composer, MVC(Model, View, Controller)까지 모던 PHP를 익히기 위한 근간을 이야기합니다.
초급
PHP, 객체지향
I created this course with the desire to make it a bible for those starting the PHP language, covering everything from basic grammar and built-in functions to web security and building a bulletin board.
PHP 7+ Basic Syntax
Various built-in functions in PHP
PHP Web Security Elements
PHP Membership Board Creation
PHP Legacy Project Escape
From basic grammar to built-in functions, web security, and creating bulletin boards, I created this course with the intention of making it a bible for those starting with the PHP language at the beginner and elementary levels.
In this course, we cover PHP programming starting from basic syntax and progressing to built-in functions, web security, and creating bulletin boards - covering the foundational aspects of web development. We've structured this course to include various built-in functions that weren't covered in the existing 'PHP 7+ Programming' course, and to improve code quality through functionalization rather than just simple implementation in bulletin board development.
Learn the basic syntax for PHP 7+ versions. This course is primarily based on PHP 7.2 version, but is also structured to cover Arrow Function and Spread Operator in Array that appeared in PHP 7.4 version. Therefore, by following the course slowly, you can learn up to PHP 7.4 version, which was the latest version at the time this course was created.
You'll learn about String, Password Hashing and other built-in functions that are essential to know when programming in PHP. While the content may seem extensive, you'll use a significant number of these functions when creating bulletin boards. However, since it proceeds in a simple listing format, it might be boring. Therefore, one approach is to start with creating bulletin boards first and then refer to the built-in functions section.
*A significantly higher number of dropouts occur in the built-in functions chapter compared to other chapters. This is because it proceeds in a reference-style format, making it less engaging. Rather than trying to complete everything, it's advisable to take this course when you think you need that particular functionality.
You'll learn about Session, XSS and other web security topics. PHP has a relatively low barrier to entry compared to other languages, which often leads to security considerations being overlooked. This can become problematic when developing web applications, and even though we may not be security experts, we need to follow basic security practices.
We create a bulletin board with a legacy project. The project begins by writing index.php from scratch. Such a bulletin board project may not fit in the current web application world where development is mainly done with frameworks. However, to understand even a little bit about Laravel, which is a PHP framework, it's necessary to try writing a project in legacy style, and surprisingly, there are also many PHP 4 and PHP 5 applications written in legacy style in the field.


We follow a similar approach to the legacy bulletin board project by describing 'what kind of architecture' it represents. Since it's not a 'real' object-oriented implementation, we won't mention that. However, by functionalizing the existing code, you can see the code undergo dramatic changes. We plan to discuss implementing it in an object-oriented way in "PHP 7+ Programming: Object-Oriented".
The development server uses a built-in embedded server, but if needed, you can use tools like WAMP or refer to the PHP Manual.
We use CKEditor 5 as the CSS Framework and text editor for the frontend.
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.
A. You must study the object-oriented part. It's better to refer to PHP documentation for materials. Of course, since PHP can also do functional programming, it's good to look into that as well. Additionally, you should learn about PHP Coding Standard, PSR(PHP Standard Recommendation) and others. One thing for certain is that it's better to avoid moving on to the Laravel framework before studying object-oriented programming.
The next course in this series is PHP 7+ Programming: Object-Oriented. While this course mainly focused on functions, the object-oriented course will primarily cover classes and objects, and will also explore deeper topics such as package managers.
On June 9, 2020, the 『PHP 7+ Programming: Object-Oriented』 course was released.
Who is this course right for?
Want to learn PHP?
Those who want to try building a web service with PHP
Those wishing to fully learn PHP
1,819
Learners
82
Reviews
187
Answers
4.3
Rating
4
Courses
前 소프트웨어 백엔드 개발자이자 現 프리랜서 생성형 AI 소프트웨어 강사로 활동하고 있습니다. ChatGPT, 프롬프트 엔지니어링 등 생성형 AI 활용에 관심있습니다. 예비창업자, 기획자와 같은 실무자를 대상으로 강의합니다. AI 전문가가 아니더라도 창업과 실무에서 AI를 활용하여 좋은 성과를 낼 수 있도록 돕습니다.
Github: https://github.com/pronist
BrunchStory: https://brunch.co.kr/@pronist
Email: pronist@naver.com
Tech blog: https://pronist.tistory.com
(BrunchStory) 『비전공자를 위한 챗GPT 101』
(비제이퍼블릭) 『어썸 라라벨』
(OZ코딩스쿨) 『1인 창업가 개발부트캠프』 1·2·3기 생성형 AI 특별강의
(인프런)『AI 리터러시: 비전공자를 위한 생성형 AI 입문』 강의
(OZ코딩스쿨) 『린스타트업 맞춤형 Serverless MVP 개발 전문가 양성과정』 3기 PHP 강의
(인프런)『PHP 7+ 프로그래밍』『PHP 7+ 프로그래밍: 객체지향』『PHP 8, 새로운 기능 알아보기』 강의
All
71 lectures ∙ (15hr 33min)
Course Materials:
3. 02 - Basic syntax
13:00
6. 05 - Variables
13:08
7. 06 - Constants
04:22
20. 19 - Strings (1)
22:38
21. 20 - Strings (2)
21:55
22. 21 - Hash
09:26
24. 23 - PCRE
22:54
25. 24 - Math
07:41
26. 25 - CSPRNG
03:38
27. 26 - Array (1)
17:04
28. 27 - Array (2)
06:33
30. 29 - Filter
17:43
32. 31 - Date
15:52
33. 32 - Network
11:25
34. 33 - Sessions
14:18
35. 34 - URLs
07:55
36. 35 - cURL
08:46
37. 36 - JSON
02:57
38. 37 - Directory
06:44
41. 40 - Streams (1)
13:33
42. 41 - Streams (2)
11:37
43. 42 - Readline
04:20
46. 45 - MySQLi
21:53
All
31 reviews
3.7
31 reviews
Reviews 2
∙
Average Rating 4.0
3
수업내용은 좋다.. 하지만 준비를 해오는지 의문이 든다.. 함수 설명 할때나 로직을 설명할때 왜? 쓰는지 어떻게 쓰는지 관해서는 초보자가 절실히 원하는 것인데... 어버버 한다.. 얼렁뚱당 넘어가서 1점 깍았다. 또한 얼렁뚱당 할때 발음도 많이 뭉개져서 잘 몰알아 듣는다. 수강생이 돈을 내고 수강 하는 이유는 함수를 쓰는 이유.. 로직이 어떻게 타는지 그렇걸 알고 싶은데 알려 주는 경우 거의 없다.. 당장 php 컨트롤러 관련된 동영상 인강이 아직 많지 않기 때문에 이거라도 봐야 한다면 이 강의를 추천합니다. :) 제발... 발음때문에 라면 제발 자막즘 달아 주세요.. 아! 댓글 잘 달아 주는건 좋다.. 물론 영양가 있게 뽑아 먹는건 수강생들의 몫.. 답변을 해준다고 했지.. 내가 원하는 내용만 쏙 말해 준다고는 안...ㅎ.ㅐ. 읍니다
Reviews 50
∙
Average Rating 5.0
5
좋은 강의 열어 주셔서 감사합니다. 이 강의 학생분들은 http 프로토콜을 이해하셨으며 php 강의 이지만, 웹을 만들기 시작하신분 들에게 웹의 전반적인 방향과 기초를 잡아 주기에 좋은 강의 였습니다. 개인적으로 처음 웹을 만들 때 기본 보안 쪽을 어떻게 구성해야 하는 부분에서 고민이 많은 분에게도 추천 합니다. 선생님께서 많은 질문에도 친철하게 알려주셔서 카피 프로젝트를 무사히 할 수 있었습니다.(제 질문이 참고 질문에 올라와서 영광이었습니다!!^^) 다음 강의를 기다리면서 바램은 코드 폰트를 약간 키워주셨으면 하네요.^^ 감사합니다!!
으앗 수강평 남겨주셔서 감사합니다. 객체지향 쪽이 현재 문법 부분까진 제작이 되었는데, 그 다음 섹션부터는 폰트 크기를 올려야 할 듯 싶네요. (이 강좌의 첫 번째 완강자십니다. Thank you!)
Reviews 9
∙
Average Rating 5.0
5
개발 업무의 주 언어는 JAVA이지만 PHP 5.* 버전으로 만들어진 레거시 프로젝트들을 유지보수 하고 있습니다. PHP 같은 경우 얇은 책 한권과 실무를 뛰면서 독학으로 익혔다고 보면되는데요. 고도화 작업을 진행할 때 PHP에 대한 깊은 지식이 없어 답답함을 많이 느꼈습니다. 하지만 이 강의를 듣고나니 PHP 기본 문법과 개발 방식에 대해 제대로 배워 볼 수 있는 기회가 되었네요. 물론, PHP 7 버전을 기준으로 학습을 했지만 이번 강의에서 배운 내용을 PHP 5.* 프로젝트에 적용을 시켜도 문제가 되진 않더라구요. 아마도 7 버전의 제대로된 학습은 OOP 강의부터 시작이 되겠지요. 저는 잠시 여기서 쉬어가며 회사 업무와 나름데로 복습을 진행하고 OOP 강의를 학습하려 합니다. 궁금한 내용에 대해 질문을 남기면 정성스럽게 답변해주신 강사님, 모던 PHP를 학습할 수 있는 기회를 만들어주신 강사님께 감사드립니다.
강의를 봐주셔서 감사합니다. 돌이켜보면 설명이나 여러 측면에서 부족한 점이 많은 강의였는데, 이해가 되셨다니 다행입니다. 수강평 남겨주셔서 감사합니다. 객체지향 강의에서도 궁금한 점 있으시면 질문 던져주시기 바랍니다 ㅎㅎ
Reviews 2
∙
Average Rating 4.5
4
path패치, rewind리윈드 이 부분이 너무... 예... 뭐...
아 발음하는 방법이 틀렸었네요 ㅋㅋㅋ 반성할게요. 그 외에 다른 부분은 괜찮으신가요? 다른 수강평에서 언급한 것 이외에 다른 부분에 문제가 있다면 말씀해주세요 :) 이후 강의에서 개선할 수 있을거에요.
섹션4에서 레거시 프로젝트 예제를 만들고 문제점에 대해서 말씀하시고, 섹션5에서 이러한 부분을 수정하겠다고 하셨습니다. lib폴더에서 functions.php 파일을 만드실 때 그냥 게시판을 만들 때 이런 부분이 필요했었지 하고 복붙하는 느낌입니다. 물론 다 만들고 나면 이해가 되겠지만요. 실제로 구현할 때도 이렇게 한꺼번에 만드시나요? 섹션5를 시작하기 전에 라라벨을 구조를 따르는데 라라벨은 어떻고 나는 어떻게 폴더를 구성하였으며, 이 폴더가 어떻게 구성되었는지 왜 이렇게 만들었는지 설명해주시면 좋을 거 같아요. 레거시 코드 작성 때는 이러했었는데 이 부분을 이렇게 바꾸겠다. 미리 말씀하시고 강의를 진행해주시면 이해가 더 빠를 거 같아요.
확실히 functions.php 를 만들 때 너무 한꺼번에 만든다는 생각을 버릴 수는 없는 것 같네요. 그 외에 추가적인 설명이 부족했던 것도 공감합니다. 좋습니다. 소중한 의견 감사드립니다. :)
$42.90
Check out other courses by the instructor!
Explore other courses in the same field!