Object oriented programming (OOP) was first introduced in php4. Area for oop in php version 4 was not very vast. There were only few features available in php4.
Major concept of the object oriented programming in PHP is
introduced from version 5(we commonly known as php5). Also php community
has plan to modify its object model structure in more better manner in
php6(not released yet). But still in php5 object model is designed
nicely. If you have good understanding of OOP then you can create very
good architecture of your php application. You only need to know some
of the basic principles of object oriented programming and how to
implement that concept of oop in php. In whole series I will use abbreviation OOP for Object Oriented Programming.
This tutorial series is for both beginners and middle level programmer who want to learn advance concept of oop in php from basic . In this series we will explore all aspect of OOP in PHP from beginning. In every chapter we will covers some best practices. If you are completely beginner for oop please go through every topic of this tutorial series very carefully. If you have some knowledge about the concept of object oriented programming then you can directly go to section of your choice. In every section of tutorial you can download code used in example.
This tutorial series is for both beginners and middle level programmer who want to learn advance concept of oop in php from basic . In this series we will explore all aspect of OOP in PHP from beginning. In every chapter we will covers some best practices. If you are completely beginner for oop please go through every topic of this tutorial series very carefully. If you have some knowledge about the concept of object oriented programming then you can directly go to section of your choice. In every section of tutorial you can download code used in example.
List of Topic/Chapter For OOP In PHP
| Topics | Description |
|---|---|
| Basics of OOP in PHP | In this part of tutorial you will learn about the very basic concept of OOP in php. This part will cover topic like what is object and class. How to implement class and object in php. Also here we will show you the very basic example for class. If you are beginner for OOP in PHP please you may enjoy this part. This is essential for the beginner for OOP. |
| Class and Object in OOP | In this part of tutorial you will lean about the basic and advance concept of class and object. It will cover topic like what is class, what is object, how to use implement class and object. This chapter will be started from very basic concept of class and object and will describe upto depth level. This part will cover the best practice of class and object implementation. |
| Magic Function in PHP OOP | Although this is slightly different topic of tutorial but it is included here because some of the magic method is used in object oriented programming. This chapter will cover basic magic methods/function of php which is used in OOP. |
| Visibility In PHP(Public, Private and Protected) | In this part of tutorial you can learn about the access modifier of OOP in PHP. This part will have complete coverage of what is public, private and protected. Also this will describe how to use these access modifier and best practices. |
| Static Method and Property in OOP | In this part you will learn about static method and property of the class. In this section you will learn what are the static method and properties, how to use them. |
| Inheritance in PHP | In this part of tutorial, you will learn basics of inharitance in oop. |
| Abstract class and Interface PHP | In this part you will learn about interface and class class in php. Here you will learn about what is abstract classes and how and when you should use abstract class and basic concept of interface, How behavior of one class passes to another class |
| Overloading and Overriding | This part will cover the implementation of overloading and overriding of methods in php. Here you will learn about how to overload method of class and how to override method of class. |
| Object Cloning PHP | This part will cover how to clone object of your class. In this chapter you will learn about the implementation of object cloning in PHP. |
| Method Chaining PHP | In this part of tutorial we will explore about method chaining feature of object. |
No comments:
Post a Comment