MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

Object-Oriented Programming with PHP

Course Summary

Shows how to integrate the principles of object-oriented programming into the build of a PHP-driven web page or application.       

  • +

    Course Syllabus

       Exercise files
       What you should know
    1. Introduction to Object-Oriented Programming
       What is an object?
       What is a class?
       Why should you use object-oriented programming?
       The history of object-oriented PHP
    2. Creating Your First Object
       Defining a class
       Defining class properties
       Creating a method and exploring object context with $this
       Instantiating an object and accessing its contents
       Specifying the visibility scope
    3. Overloading with Magic Methods
       What is a magic method, and do I need one?
       Overloading property access
       Customizing object construction
       Standardizing object rendering as a string
    4. Accessing Classes without Instantiation
       Using the static keyword
       Leveraging scope resolution operators
       Setting constant values
       Implementing static methods
       Creating a database class
    5. Class Relationships and Interactions
       Extending your class
       Abstracting classes
       Sharing interfaces using polymorphism
       Overriding methods, properties, and constants
       Cloning and comparing objects
       Referencing objects
    6. Built-In PHP Objects
       Leveraging standard class objects
       Retrieving objects from the database
       Error handling with exceptions
       Customizing PHP exceptions
    7. Design Patterns
       Identifying the singleton pattern
       Using the factory method pattern
       Implementing a strategy pattern
       Looking forward to namespaces
       Next steps

Course Fee:
USD 19.99

Course Type:


Course Status:



2 - 3 hours / week

This course is listed under Open Source and Development & Implementations Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top