@miXn I have done 1 or 2 RoR tuts lately, one of which uses the basic "devise" authentication system with Ryan Bates' "nifty-generators" system. If you haven't used RoR before, it's a nice example of how to get up and running with a nice authentication system and basic layout in just a few minutes -- it also shows basic RoR concepts such as "rake db:migrate".
@ConnorAlves RoR, really cool. Read 2 books about Ruby (without Rails), so getting to know more about RoR would be cool. Maybe a tut, or should I better stop hoping? ;)
@miXn Honestly, learning about private, protected, and static variables are not the most important things for a bare-bones basic OOP tutorial in my mind. And no, I am not planning on doing any PHP tutorials soon. I now mostly only do Ruby on Rails, and Objective-C (iPhone) development nowadays.
@ConnorAlves I see, but still, don't you think this is exactly why you SHOULD be explaining it a bit more? :) Since it's a beginning, basic OOP tut...
Are you planning on doing more tuts soon? I was searching for good, more advanced tuts (OOP), but came up with nothing.
@miXn This was really meant to be just a beginning, basic OOP tutorial -- not for explaining every little thing. Not to mention, this was in 2008 and I really didn't know as much as I do now. Thanks for the feedback.
It's nice that you're trying, but this wasn't that good... you don't explain really explain things, you just do that. What's public? Why public? Why not private, protected, static? What's private, protected, static? And naming functions, variables and classes the same way is more than confusing.
Not hating, just saying what I think... anyway, thanks for the tut, appreciated.
what is the difference between including the file class.php and not using it as a class and including class.php and initiating it as $first->function(). because you can make a whole class.php with bunch of functions and then include the php file with all your functions and just call them without using $class->function()
ConnorAlves: u should show the output of the code before ending the video so the viewer can ensure that the class is working..good video by the way & good luck in your PHP programming.
This a nice step up for oop starters!
For those who are still doubting to leave their "safe" procedural programming, this should convince them.
I think you are very young but very talented, good job in making this vid.
I guess text is just that much more subjective with out all the metadata we get in face to face communication... saying 'Please don't spread this type of practices, there is a more than enough bad code out there. Thank you. ' sounds kind of jerkish to me considering he's one of the few people I can find even taking the initiate to do this stuff on video media. No hard feelings though man, I say jerk like things at times too, like my response to you on here :P Sorry.
Dude I was trying to help. The most important aspect of learning or teaching a programming language is to be consistent. This is exactly why these programming concepts are the same across all programming languages.
Even tho you called me a jerk lol, I will suggest you visit the forums @ phpbuilder[DOT]com if you are serious and wish to learn good Php.
He's trying to help people man. There are very few video resources for this stuff. Its good to correct people where needed but don't be a jerk about it and act like he's spreading the plague here... This stuff can be confusing, given the way PHP has gone from a mostly broken OOP implimentation to a fairly decent one in one version number. I for one applaud this guy for taking the time to put a video together at all and I hope he continues to make them!
hey connor - great that you are having tutorials - but have to accept, malgacho is right. var $text is how you 'declare' the variable - initialization happens when a declared variable is given a value and that is true for all programming languages.