Playlist: PHP OOP Tutorials in Urdu / Hindi
What is OOPs? Object Oriented is an approach to software development that models application around real world objects such as employees, cars, bank accounts, etc. A class defines the properties and methods of a real world object. An object is an occurrence of a class. The three basic components of object orientation are; Object oriented analysis – functionality of the system Object oriented designing – architecture of the system Object oriented programming – implementation of the application Object Oriented Programming Principles The three major principles of OOP are; Encapsulation – this is concerned with hiding the implementation details and only exposing the methods. The main purpose of encapsulation is to; Reduce software development complexity – by hiding the implementation details and only exposing the operations, using a class becomes easy. Protect the internal state of an object – access to the class variables is via methods such as get and set, this makes the class flexible and easy to maintain. The internal implementation of the class can be changed without worrying about breaking the code that uses the class. Inheritance – this is concerned with the relationship between classes. The relationship takes the form of a parent and child. The child uses the methods defined in the parent class. The main purpose of inheritance is; Re-usability– a number of children, can inherit from the same parent. This is very useful when we have to provide common functionality such as adding, updating and deleting data from the database. Polymorphism – this is concerned with having a single form but many different implementation ways. The main purpose of polymorphism is; Simplify maintaining applications and making them more extendable. OOPs Concepts in PHP PHP is an object oriented scripting language; it supports all of the above principles. The above principles are achieved via; Encapsulation - via the use of “get” and “set” methods etc. Inheritance - via the use of extends keyword Polymorphism - via the use of implements keyword Now that we have the basic knowledge of OOP and how it is supported in PHP, let us look at videos that implement the above principles #PHP #OOP
01 - OOP Tutorial Series with PHP - (Classes and O...
Published on Jan 29, 2019
02 - OOP Tutorial Series with PHP - (Data Access M...
Published on Jan 30, 2019
03 - OOP Tutorial Series with PHP - (Encapsulation...
Published on Jan 31, 2019
04 - OOP Tutorial Series with PHP - (Setters Gette...
Published on Jan 31, 2019
05 - OOP Tutorial Series with PHP - (Inheritance)
Published on Feb 04, 2019
06 - OOP Tutorial Series with PHP - (Types of inhe...
Published on Feb 08, 2019
07 - OOP Tutorial Series with PHP - (Constructor)
Published on Feb 18, 2019
08 - OOP Tutorial Series with PHP (Connect to a Da...
Published on Feb 11, 2023
09 - OOP Tutorial Series with PHP (Query a Databas...
Published on Feb 11, 2023
2024 Best Freelancing Websites to Make Money Onlin...
Published on Apr 09, 2024
How To Create & Setup Upwork Account in 2024
Published on Apr 09, 2024