Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ AWS Certified Developer - Associate
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Mindfulness Personal Transformation Meditation Life Purpose Coaching Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee

This course includes:

  • 10.5 hours on-demand video
  • 24 articles
  • 6 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
Development Web Development Object Oriented Programming

Complete PHP OOP Concepts for Absolute Beginners + Projects

Learn PHP OOP from Scratch: Object Oriented Programming Concepts with Examples and Projects. Learn PHP OOPS Guaranteed!
Rating: 4.5 out of 54.5 (271 ratings)
32,498 students
Created by Srinivas Vanamala
Last updated 12/2019
English
English [Auto]
30-Day Money-Back Guarantee

What you'll learn

  • Learn PHP Object Oriented Programming Concepts.
  • How to Apply OOP Concept in your Project.
  • Implement OOP Concepts like Inheritance, Polymorphism, Data Encapsulation, Data Abstraction and Overriding.
  • Learn How to Write Modular Code and Reusable Code using OOP Concepts.
  • Learn to Write Classes, Interface, Abstract Classes and Traits.
  • Learn PHP OOP with Examples, Exercises, Assignments and Quiz.
  • Understand Concepts like Magic Methods, Type Hinting, Namespaces and Dependency Injection.
  • Learn to use final, static, public, private and protected keywords.
  • Learn S.O.L.I.D - Object Oriented Principles.
  • How to Change your Procedural Programming Style to OOP Style.
  • Understand AutoLoading and Dynamic Calling with Examples.

Course content

25 sections • 180 lectures • 10h 26m total length

  • Preview04:40
  • Course Prerequisite
    00:49
  • 16+ hours of FREE PHP Basics Training
    00:02
  • Download Course Materials
    00:02

  • Preview00:58
  • Preview18:47
  • Preview10:52
  • Preview13:13
  • What is Property and Methods?
    06:59
  • What is Objects?
    05:23
  • How to Define Objects
    04:49
  • Define Methods with Parameters and Return Value
    06:27
  • Use case of Users with Class and Objects
    07:14
  • Preview11:13
  • Preview10:05
  • Exercise 2: Create a Files Class, Object, Property and Methods
    06:03
  • Assignment: Create a Student Class, Object, Property and Methods
    1 question
  • Quiz: OOP Basics
    3 questions
  • Resources: OOP Basics
    00:00
  • Summary: What you have learned in this Section
    01:02

  • Objective: What you'll learn in this Section
    00:44
  • What is $this keyword?
    03:58
  • How to use $this keyword
    08:51
  • Exercise 1: Write a Student Class using $this and Access Properties and Methods.
    07:14
  • Assignments: Write a Calculator Class using $this Keyword
    1 question
  • Quiz: $this keyword
    2 questions
  • Resources: $this Keyword
    00:00
  • Summary: What you have learned in this Section
    00:22

  • Objective: What you'll learn in this Section
    00:41
  • What is Constructor?
    04:56
  • Define and Call Constructor
    05:35
  • Purpose of Constructor
    03:28
  • Initialize the Properties with Constructor
    05:38
  • What is Destructor?
    01:56
  • Define and Call Destructor
    02:11
  • Purpose of Destructor
    01:38
  • Project: Improve Employee Class with Constructor
    03:39
  • Exercise 1: Create Files Class with Constructor and Destructor
    10:54
  • Quiz: Constructor and Destructor
    2 questions
  • Assignments: Improve the Calculator Class with Constructor and Destructor
    1 question
  • Resources: Constructor and Destructor
    00:00
  • Summary: What you have learned in this Section
    00:32

  • Objective: What you'll learn in this Section
    00:42
  • How to Chain Methods and Properties
    11:32
  • Exercise 1: Implement Chain Method for Posts Class
    03:21
  • Assignments: Chain the Calculator Operations
    1 question
  • Summary: What you have learned in this Section
    00:26

  • Objective: What you'll learn in this Section
    00:55
  • Understanding Access Modifiers
    02:18
  • What is public Access Modifiers
    04:27
  • What is private Access Modifiers
    01:52
  • How to use private Access Modifiers
    06:32
  • public vs private Access Modifiers
    01:24
  • Use Case: Improve Employee Class with Access Modifiers
    05:46
  • Exercise 1: Create the Bank Class with private Modifiers
    06:15
  • Quiz: public and private Modifiers
    2 questions
  • Assignment: public and private Modifiers
    1 question
  • Resources: public and private Modifiers
    00:00
  • Summary: What you have learned in this Section
    00:34

  • Objective: What you'll learn in this Section
    02:01
  • What is inheritance?
    07:36
  • Child Class Inherits from Parent Class
    06:46
  • Child Class Own Methods and Properties
    15:53
  • What is protected Access Modifiers
    02:16
  • protected Access Control Modifier in Inheritance
    05:15
  • Overriding: Child Class Override Parent Class Methods and Properties
    05:22
  • Single and Multiple Inheritance
    06:13
  • Use Case: Course and Lesson Class with Inheritance Concept
    04:06
  • Exercise 1: Show Inheritance Concept with Animal Class
    08:34
  • Quiz: Inheritance
    2 questions
  • Assignment: Create Father and Son Class and Show Inheritance Concept.
    1 question
  • Resources: Inheritance
    00:00
  • Summary: What you have learned in this Section
    00:39

  • Objective: What you'll learn in this Section
    01:07
  • What is final keyword?
    03:53
  • Hiding: Prevent Child Class Overriding Parent Class Methods and Properties
    03:01
  • Exercise 1: Create a Driver Class and Restrict Inheritance
    02:51
  • Assignment:
    1 question
  • Resources
    00:00
  • Summary: What you have learned in this Section
    00:40

  • Objective: What you'll learn in this Section
    01:25
  • What is Interface?
    07:27
  • How to Declare and Implement Interface
    05:45
  • Implement more than one Interface to Class
    03:59
  • Use case of Interface
    03:00
  • Exercise 1: Create a Phone Interface and Implement iOS Class
    03:28
  • Quiz: Interface
    2 questions
  • Assignment
    1 question
  • Resources
    00:00
  • Summary: What you have learned in this Section
    00:32

  • Objective: What you'll learn in this Section
    00:51
  • What is Abstract Classes and Methods?
    06:11
  • How to Declare Classes and Methods as Abstract
    04:13
  • Use case of Abstract Class
    01:41
  • Exercise 1: Define Database Class as Abstract Class
    04:48
  • Assignment
    1 question
  • Quiz: Abstract Classes and Methods
    2 questions
  • Resources
    00:00
  • Summary: What you have learned in this Section
    00:36

Requirements

  • You should know PHP Basics.
  • Windows or Mac Machine with PHP Installed.
  • Able to Understand English Language.

Description

Right After this course, you can write Modular Code using Classes and Objects ......

During Interview, You will be able to explain OOP concept with written examples ......

Apply the OOP Concepts right away into your existing project ......

You will understand how others develop and use OOP concept in the PHP Libraries ......

Learn PHP OOP 10X times faster with Examples, Exercises, Assignments, Blogs and Quiz ......

You will learn OOP Concept with real time Examples - Database, Files, Posts, Students, Bank, University, Course, Lectures and many more Classes ......

16+ hours of PHP OOP Training fully focused on Writing and Learning PHP OOP Concept ......

-------------------------------------------------------------------------------------------------------------

Why should I learn OOP?

Object Oriented Programming (OOP) is programming concept which brings the following benefits to your program:

  • You logical group your code into Components.

  • You build Small Components of code which can be reused.

  • Components are extend or leverage from other Components.

  • Simplify the complex concept into smaller Components.

  • Extending the component, Reusing the Component, Hiding Features and many other benefits.

If you want to be senior developer or build website for business then you should know how to write in OOP.

Even when you use the 3rd Party Libraries they are built using OOP and without knowing this OOP it is really difficult to use 3rd Party Libraries as well.

Building your projects using OOP will be easy to extend and share by other developers as well.


How this course can help me learn OOP?

This course is designed to teach you OOP in two simple ways:

  1. Understand and Able to Explain OOP Concept.

  2. Implement OOP Concept using the real time examples.

There are Exercises, Assignments and Quiz focused to make sure you go thru the practical hands-on to remember the concept thoroughly.


100% Guaranteed Learning Experience:

We teach one concept at a time and then leverage that skills to learn new topics.

Lectures are broken into specific outcome and carefully explained with theory and examples.

Every sections from Starting to Last is carefully organised into these categories:

  1. Objective - What you'll learn in this section

  2. What is it? - Explain about the Concept

  3. Examples - Convert Concept into Real time Examples.

  4. Exercises - Practice, Practice, Practice

  5. Quiz - Test yourself

  6. Assignments - Practical Handson

  7. Blogs - References

  8. Summary - What you have learned in this section

With lots of time spent in organizing these topics and making sure you get to learn PHP OOP Concept faster and with tons of supporting source code and proper guidance.


What will I do in this Course?

You will get to know the Basics OOP Concept with examples.

Learn how to apply that OOP Concept into real world examples like Database and File Operations.

We provide hands-on material upfront so that you have all tools and code to start with.

You will start with starting point source code and ending source code so that you know where you will start and end.

You will be:

  • Learning how to write PHP OOP with Examples.

  • Then do Exercise on the same topic by your own. (We provide solution as well)

  • After that take the Quiz.

  • Then take the Final Assignment Test. (Challenge yourself)

  • Finally some reference blogs for continuing your study offline.

With proper source code materials, you are never lost.

Sections have a proper outcome before we start. So, know what you will learn after the section.


Don't take our words, watch the free lessons ......

We have already trained so many students to learn PHP and based on the feedback we know our materials are useful and easy to learn.

  • 10+ hours of Course Materials.

  • Defined Outcome with Objective and Summary.

  • Access to Materials so that you can refer back.

  • Assignment and Quiz so can test yourself.

  • HD Quality and Clear Voice. (Needless to say but anyway...)

  • Forum Support.

  • many others once you get to know about us.


This course will help you learn ......

  1. Understand What is Object Oriented Programming?

  2. What is Class?

  3. How to Define a Class, Properties and Methods.

  4. How to Define Objects and Use it.

  5. Write Methods with Parameters inside the Class.

  6. Apply the OOP Concept with Users, Bank and File Class.

  7. Simple Project to Calculate Employee Salary.

  8. Learn about the importance of $this keyword.

  9. How and When to use $this keyword.

  10. Write a Student Class by using the $this keyword.

  11. Learn What is Constructor and Destructor?

  12. Define and Use Constructor in a Class.

  13. Define and Use Destructor in a Class.

  14. Purpose of Constructor and Destructor.

  15. Implement Constructor and Destructor using File Class.

  16. Learn How to Chain Methods using Posts Class.

  17. Understand the most important concept of Access Modifiers - public and private.

  18. How Access modifiers help to restrict access to methods and properties in a Class.

  19. Understand What is Inheritance?

  20. How a Child Class Inherits from Parent Class.

  21. How a Child Class Own Methods and Properties.

  22. Learn about protected Access Modifiers.

  23. Overriding: Child Class Override Parent Class Methods and Properties

  24. Learn about Single and Multiple Inheritance and which one is supported.

  25. Implement Inheritance Concept using Course and Lecture Real Time example.

  26. Learn when to use the final keyword.

  27. Hiding: Prevent Child Class Overriding Parent Class Methods and Properties.

  28. Use final keyword using a Driver Class.

  29. Learn What is Interface?

  30. How to Declare and Implement Interface.

  31. Implement more than one Interface to Class.

  32. Use case of Interface and where to use them.

  33. Create Phone Interface and Learn how to implement it in real time.

  34. What is Abstract Classes and Methods?

  35. How to Declare Classes and Methods as Abstract.

  36. Abstract Class with Non-Abstract Methods.

  37. Use case of Abstract Class.

  38. Real time example of Abstract Class.

  39. What is Static Methods and Properties?

  40. Define and Access Static Methods and Properties.

  41. self:: Keyword.

  42. Use case of Static Methods and Properties.

  43. Real time Example of Static Methods and Properties.

  44. What is Polymorphism?

  45. Example of Polymorphism.

  46. Understand Data Encapsulation Concept.

  47. Do an Example of Data Encapsulation.

  48. Understand Data Abstraction Concept.

  49. Do an Example of Data Abstraction.

  50. Understand What is Overriding?

  51. Example of Overriding.

  52. Understand Difference between Overloading vs Overriding.

  53. What is Magic Methods?

  54. Work with _set and _get, _call, _toString and _debuginfo Magic Method.

  55. Learn What is Type Hinting?

  56. Example using Type Hinting Methods with Arrays

  57. Example using Type Hinting Methods with Objects

  58. Write a Posts Class to savePost() and fetchPosts() with Proper Type Hinting

  59. What is Namespaces?

  60. Define and Use Namespace

  61. Alias Name and Global Namespace

  62. Understand What is Dependency Injection?

  63. Example of Dependency Injection.

  64. Show an Example of Dependency Injection using University and Student.

  65. Learn to Clone Objects, Serialize Objects, Cache Objects, Comparing Objects and Iterating Objects.

  66. Understand What are Traits?

  67. Define and Use Traits.

  68. Multiple Traits in one Class.

  69. Create Trait for Files Operation and use it in Posts Class.

  70. Understand What is AutoLoading?

  71. Example of Autoloading Functions.

  72. Example of Autoloading Namespace.

  73. Learn about S.O.L.I.D - Object Oriented Principles.

  74. Projects with Database Class, Students Class and University Application Class.

  75. and many more topics ......

Trust me you will learn more than what we have shown here.

Who this course is for:

  • PHP Programmers who wants to start writing PHP code using OOP.
  • Students who wants to explain OOP Concept in Interview.
  • Students who wants to understand OOP Concepts.
  • Students who want to learn how to write modular and reusable code using OOP.

Featured review

Devavrat Singh
Devavrat Singh
42 courses
6 reviews
Rating: 5.0 out of 5a month ago
Thank you for this amazing course. I have got the job opportunity after finished Some Chapters from your course. The Concepts you use are very helpful. Now I am focusing to finish this course to grasp my knowledge.

Instructor

Srinivas Vanamala
Web Developer and Bootcamp Instructor
Srinivas Vanamala
  • 4.5 Instructor Rating
  • 4,949 Reviews
  • 170,709 Students
  • 8 Courses

Hi! I'm Srini. I enjoy teaching and love to help students bring to next level.

Last couple of years, I have released massive amount of course content that has helped students to become web developer. I am glad that my courses has helped many students to build a career in the Web Developer Space.

I also run Bootcamp programs where we lock ourself in the training rooms for 5 days and go thru some serious training to teach students complete Full Stack Web Development.

My formula to teach is very simple:

"You learn by doing and not by watching..."

That is the reason I stress more about exercises, assignments and quiz.

I personally believe if Students come up with the solution to any problem that will help them to remember things for longer time.

I follow a proven and structured method of teaching which can help students to learn any concept 10x times faster.

You will find me teaching in defined outcomes for each section of the course with lots of home work for students to practise..:)

Join me on this passionate and fun journey of learning Web Development!

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.