PHP OOP Design Patterns and Principles Course Introduction

Author: Al-mamun Sarkar Date: 2021-05-02 11:28:04

Object Oriented PHP, Design Patterns and Principles গুলো নিয়ে একটি নতুন Course শুরু করতে যাচ্ছি। অবজেক্ট অরিয়েন্টেড প্রোগ্রামিং এর অনেক ফিচার সকলে বোঝে কিন্তু কোথায় কোনটা কিভাবে ব্যবহার করতে হয় সেটা বুঝতে সমস্যা হয়। বিশেষ করে Interface, Abstract Class, Static Methods and Properties, trait এগুলো কিভাবে ব্যবহার করতে হয় সকলেই জানে। কিন্তু ডেভেলপমেন্ট এর ক্ষেত্রে কোথায় কোনটা ব্যবহার করা উচিত এবং ব্যবহার করলে কি সুবিধা হবে এটা বুঝতে অনেকেই সমস্যায় পড়ে যায়। Object-oriented স্টাইলে Code কে কি করে সুন্দরভাবে Organize করতে হয় সেটা এই কোর্সে আলোচনা করব।আশা করি কোর্স টি সকলের ভাল লাগবে।

Course Outline:

Object-Oriented PHP:

  • What is OOP
  • Class and Object
  • Properties and Methods
  • The $this keyword 
  • instanceof operator
  • Constructor and Destructor
  • Inheritance
  • Multilevel Inheritance
  • Access Modifiers
  • Method Overriding 
  • Constructor Overriding
  • Constant
  • Static Methods and Properties
  • Interface
  • Abstract Class
  • Trait
  • Namespace

 

Playing with OOP:

  • Use of Composer
  • More about Namespace
  • More about Inheritance
  • Playing with static
  • Why do we need Interface
  • Polymorphism
  • Dependency Injection
  • Why we need abstract
  • Play with Interface and trait

 

Design Patterns:

  • What is Design Patterns
  • Types of Design Patterns
  • Singleton patterns
  • Factory Patterns
  • Observer patterns
  • Adapter Pattern
  • MVC Pattern
  • Facade Pattern
  • Proxy Pattern

 

Principles:

  • SOLID Principles
  • DRY Principle
  • KISS Principle