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 PHP Basics

Course Summary

At a glance, object-oriented programming can appear to be far more complex than simple procedural, or inline, code. However, this doesn’t have to be the case. Because object-oriented programing is similar to the way human beings perceive the real world, using the object-oriented approach, can help you visualize the solution to a problem more easily. Object-oriented programming, or OOP for short, is a style of coding that allows developers to group similar tasks into containers. In PHP, containers are defined using classes. A class contains all the functions and variables that describe an object.


  • +

    Course Syllabus

    Why Object-Oriented Programming?

    Object-oriented programming, or OOP for short, is a style of coding that allows developers to group similar tasks into containers. In PHP, containers are defined using classes. A class contains all the functions and variables that describe an object. 5 steps
    • Introducing the Cookbook Project 3:27
    • What is Object-Oriented Programming? 3:20
    • What is OOP? 5 questions
    • Why Use Object-Oriented Programming? 6:02
    • Why Use OOP? 3 questions

    Understanding Classes

    Object-oriented programming lets us group data as well as functions into a specific topic or piece of functionality. In PHP we call these groupings classes. We'll explore the ways a class allows us to store and retrieve data, as well as to perform actions, or functions, on that data. 9 steps

    Building the Recipe

    To build our recipe class we'll learn to use access modifiers with getters and setters to control access to properties and methods. We'll also see the single responsibility principle in action and create static methods for multiple display options. If that's not enough, we'll also become a magician! 16 steps

    Building a Collection

    Building a collection object allows us to group multiple objects together while adding functionality. We'll be creating our cookbook which will allow us to list recipes, filter recipes and create a shopping list of ingredients. 10 steps


Course Fee:
USD 25

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
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