Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

PHP OOP Tutorials: Classes, Properties and Methods

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
9,870
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 1, 2011

Basic OOP (Object Orientated Programming). Working with Classes, Properties and Methods. How to define them, and how to use them.

WEBSITE
http://phpacademy.org

FORUM
http://phpacademy.org/forum

TWITTER
http://twitter.com/phpacademy

FACEBOOK
http://www.facebook.com/group.php?gid=64583401868

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (phpacademy)

  • hello Sir how r u.

    Where is the other parts of this tutorial

    Please Please Please Please Teach us with DETAIL of OOP

  • @deemipk More to come soon...

  • Whats the difference between classes and functions? Is there a reason classes (may) are better?

  • @CommentBBScript You can create many instances of the same class, however, the properties and methods for each declaration will be unique to the variable you assign the instance to. Hopefully this makes sense? Obviously, with a function you can't do this. This is the overall point of OOP.

  • Nice video. I've not used OO PHP before and it's something I'm going to be moving onto in the near future so this vid was good to clear up a few basics :)

  • @tctctc91 Excellent, look forward to more in the very near future.

Top Comments

  • can you after you have done a few more videos on OOP do a demonstration of how it could be used in action? I'm not sure what you could build as a demonstration but i'm sure you get my point. Also, can you do some videos on securing you're PHP scripts and methods help prevent hacking?

  • do more about oop.

    it's a good subject! thanks.

see all

All Comments (67)

Sign In or Sign Up now to post a comment!
  • This video remembers me of my days learning Java language XD

  • Hello, this is a very interesting part of php, could you make more tutorials abou this?

    zipron

  • This man is a genius. I have read a lot about OOP. But Alex made it too easy for me.

    Alex please kindly make more videos on OOP. I will surely donate. I almost never forget anything I learn from Alex. It just sticks!!

  • IN the second part (where you make a method), I assume you could change the variable to

    private $gender = 'Male';

    and it would still work for the method when you call "$this->gender" because that method is part of the same class?

  • That was fantastic keep them coming... Hope you get rewarded in some way! Many thanks

  • I'm eating. I'm male.

  • @phpacademy your comment was left 3 months ago ... how soon is soon? ... i do realize and appreciate that you do these on your own time and give them out for free.... thank you .. but how soon can we expect more on classes/oop please?

  • Hey, I really liked your video; I'm not trying to be a prick but I just thought I'd like you know that it's not called Object OrientATed Programming; its actually Object Oriented Programming; you are mispronouncing the word Orientated in the video

  • I do tons of work with PHP and big applications but have had a need to use Classes. It seems more like an organizational thing.

  • thenewboston sent me here .... Subbed !!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more