مشاهده همه دوره‌ها
Languagesتازه‌کار10 قسمت

اصول شیءگرایی در PHP

Object-Oriented Principles in PHP

Beginning developers are usually first introduced to procedural programming. But, before too long, they level up. Suddenly, an entirely different paradigm is introduced: object-oriented programming. Little do they know that they'll spend years researching and learning exactly what it means to work with objects and messages.

In this course, you'll be introduced to the core principles of object-oriented programming through the lens of PHP. We'll begin with the basic constructs and work our way up. The only prerequisite is an elementary understanding of the PHP language and syntax.

قسمت‌های دوره

9m 12s

Discover PHP classes as blueprints for your code. Learn how to define structure and behavior to build clean, organized applications in this friendly Laracasts lesson!

10m

Learn how to create and use objects in PHP by working with class instances, constructors, and internal state. Build solid OOP foundations in this Laracasts lesson!

DTOها، انواع و تحلیل ایستا

12m 22s

Learn how to create DTOs in PHP and use static analysis with types to ensure data validity. Boost your code quality in this clear, hands-on Laracasts lesson!

وابستگی‌ها، اتصال و اینترفیس‌ها

20m 6s

Understand dependencies, coupling, and interfaces to write flexible, maintainable code. Join this Laracasts lesson to improve your object-oriented skills!

وراثت و کلاس‌های انتزاعی

19m 45s

Learn inheritance and abstract classes in PHP with clear, practical examples. Understand how class hierarchies work to write cleaner, reusable code.

اینترفیس‌ها به عنوان فیلترهای ویژگی

12m 43s

Explore how interfaces in PHP can act as feature filters, not just contracts. Learn to control functionality and enhance your code’s flexibility and design.

کپسوله‌سازی و دید

20m 55s

Understand encapsulation and visibility in programming. Learn how hiding internal object states improves class APIs and keeps implementation details private.

از Getter و Setter به Property Hooks

15m 23s

Discover how PHP 8.4 property hooks transform class design. Learn the role of getters and setters and modernize your code with new language features!

درک ترکیب اشیاء و انتزاعات

19m 16s

Explore object composition and abstractions to build complex systems from simple parts. Learn how classes can connect for powerful, flexible code design!

کارگاه شیءگرایی

30m 46s

Build a flexible FileStorage interface in this hands-on workshop. Learn to swap implementations based on environment and master object-oriented design!

یادگیری را ادامه دهید

تصویر بندانگشتی کارگاه Wordle
کارگاه Wordle

با Jeffrey Way

  • 17 قسمت
  • متوسط
  • Languages
تصویر بندانگشتی CSS Gridها به زبان ساده
CSS Gridها به زبان ساده

با Shruti Balasa

  • 12 قسمت
  • متوسط
  • Languages
تصویر بندانگشتی PHP 7 راه‌اندازی و اجرا
PHP 7 راه‌اندازی و اجرا

با Jeffrey Way

  • 7 قسمت
  • متوسط
  • Languages
تصویر بندانگشتی CSS Flexbox به زبان ساده
CSS Flexbox به زبان ساده

با Shruti Balasa

  • 12 قسمت
  • تازه‌کار
  • Languages
تصویر بندانگشتی جاوااسکریپت: اولین گام‌ها
جاوااسکریپت: اولین گام‌ها

با Andre Madarang

  • 30 قسمت
  • تازه‌کار
  • Languages

دوست دارید گاهی خبرهای Laracasts را ایمیل کنیم؟