|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/the-complete-php-object-oriented-programming-oop-2022/
课程评论:没有评论
**课程名称:** PHP 面向对象编程 (OOP) 完全教程 **课程概述:** 本课程旨在帮助您掌握 PHP 面向对象编程 (OOP) 的核心概念。如果您在学习 OOP 时遇到困难,或者觉得相关的书籍和视频教程不够全面,那么本课程将是您的理想选择。讲师通过多年的研究和实践,从书籍和在线教程中收集了 OOP 的所有基础知识,并为每个概念提供了至少 2-3 个简单而有意义的示例进行讲解。 **课程内容:** 您将学习到以下 OOP 概念: * 类 (Classes) * 属性 (Properties) * 方法 (Methods) * 对象 (Objects) * `$this` 关键字 * 构造函数 & 析构函数 (Constructors & Destructors) * 方法链 (Chaining Methods) * 公共 & 私有访问修饰符 (Public & Private Access Modifiers) * 继承 & 受保护访问修饰符 (Inheritance & Protected Access Modifiers) * 方法重写 (Overriding) * `final` 关键字 * 接口 (Interface) * 抽象类 & 抽象方法 (Abstract Classes & Abstract Methods) * 静态方法 & 静态属性 (Static Methods & Static Properties) * 多态性 (Polymorphism) * 封装 (Encapsulation) * 数据抽象 (Data Abstraction) * 类型提示 (Type Hinting) * 依赖注入 (Dependency Injection) * Traits * 自动加载 (Autoloading) * 命名空间 (Namespaces) **学习目标:** 本课程强调通过实践和创建自己的示例来巩固学习。通过跟随课程内容,您将能够: * 掌握 PHP OOP 的所有核心概念。 * 能够用自己的语言解释这些概念,并在面试中进行展示。 * 逐步从过程式编程过渡到面向对象编程的世界。 * 理解并参与到更大型的项目中。 * 以更少的精力编写模块化、可重用的代码。 * 理解面向对象编程的实用性和重要性。
Hello there!Are you struggling to learn PHP Object Oriented Programming like I was some years ago?Are you desperate because there are very few books or complete video tutorials with all the core concepts of Object Oriented Programming?Well now you are in the right place because after my research I have collected from books and several online tutorials all the basic concepts for you and tried to explain them using at least 2 or 3 simple and meaningful examples for each one.What will be taught:classespropertiesmethodsobjects$this keywordconstructors & destructorschaining methodpublic & private access modifiersinheritance & protected access modifiersoverridingfinal keywordInterfaceabstract classes & abstract methodsstatic methods & static propertiesPolymorphismEncapsulationData AbstractionType HintingDependency InjectionTraitsAutoloadingNamespacesThe way to learn these concepts is not only by practicing but also by making your own examples for each one.So if you follow me step by step you will achieve that and you will be able to explain these OOP concepts using your own examples if needed in a job interview.In that way you will gradually make a transition from procedural to object oriented world and you will have the opportunity to understand and get involved to bigger projects. In addition you will be able to write modular and reusable code with less effort and understand why Object Oriented Programming is so useful.