Your tutorials are far better than any book i ever read ,in fact far better than any vid i have ever seen ,you truly rockman ,keep the vids coming,you have a eternal fan in me ,can't wait to chek php security tuts you made but going one at a time ,will reach there shortly ,still would have liked you to make facebook application development tutorial
@derekbanas Can you not use the magical __get and __set methods in combinations with if statements within them in order to achieve the same thing with normal methods? I don't know, I think I may be confused. (This is just a spontaneous question).
I also read the same book as @JamesRCoston to teach me PHP, and I suppose this is where my question has derived. It covers OOP, but not in the way you have. I think I like your way better.
@SamuelLockyer I really liked the Larry Ullman book on PHP. I pretty much learned everything else through experience over the years. Yes there are tons of different ways you can use the magic methods. I don't use them very often in day to day coding though
@derekbanas Dang, I just bought a different book on PHP. Maybe I'll buy one of his too, just to get a wider range of techniques.
I'm at uni (web design/development) and, well… it's as if I'm not. All I really get are deadlines and a piece of paper at the end of three years. Any advice about learning to program entirely on your own?
@SamuelLockyer The only way you'll learn to program is through practice. A professor will teach you the basics, efficient coding and design patterns. In the real world you don't have time to be perfectly efficient and if you're working in a group you can't trust that everyone will understand your design patterns. If I was you I would set a goal that you want to make Facebook. It actually isn't very hard. By the end of that project you'll know more about programming than your teacher :)
@derekbanas You know what the sad thing is? I think I already do…
But that's a good idea. I'm actually trying to make my personal website; there are whole bunch of things that I want to understand first though, otherwise it will turn out to be a horrible mess. I also only have a month, so I just want to grasp OOP PHP and JavaScript(/JQuery) and I'm away. You seem to be saving my ass right now btw, so thanks!! ~_^
I really like your tutorials. Is there any way you can do a series on Drupal? Specifically how to create your own Drupal module. I can't seem to find any video tutorials on it, for free at least.
@metardd I can do that eventually. I'm kind of backed up. I did the only tutorials on making wordpress themes and plugins from scratch. You may like those. They are free on my yt channel :)
@derekbanas Yeah I noticed that you did some Wordpress tutorials but I'm trying to become a Web Developer and I've decided that I will focus on Drupal cause I'm already familiar with that cms since all my personal websites I have set up using Drupal. So I already know a few things about drupal but I don't know how to make custom modules. I really like your style of teaching, I find that it's easier to understand the way you do it compared to other folks who do tutorials.
@metardd Thanks. Most people on you tube are trying to make money. That's why they make a ton of short tutorials. The more views they get, the more money they make. I don't think it's conducive to actually learning though. Drupal is just php, JavaScript and jquery like wordpress. As soon as I can I'll cover it.
PHP and MySQL Web Development Fourth Edition has amazing coverage of OOP in PHP. I suppose the lack of coverage in books is due to how young the OO functionality is in PHP.
@JamesRCoston Yes, I've read all of the books that supposedly cover OOP in PHP. PHP isn't a OOP language, but it does allow you to implement some oop principles. I'll get into how you can incorporate design patterns into php some day. That is actually pretty useful.
@sethchilds Constants can't have access specifiers like private, public or protected. They also can only have either the value of a string or number. The constant is part of the class definition and not the objects that you create. That's why you use the scope operator (::) to access it. Hope that helps. Thanks
Your tutorials are far better than any book i ever read ,in fact far better than any vid i have ever seen ,you truly rockman ,keep the vids coming,you have a eternal fan in me ,can't wait to chek php security tuts you made but going one at a time ,will reach there shortly ,still would have liked you to make facebook application development tutorial
hotnsexyprince 1 month ago in playlist PHP Video Tutorial
There were a few tips here that helped me a lot. Thanks
CustomizeWordpress 2 months ago
@CustomizeWordpress Thank you :)
derekbanas 2 months ago
Your tuts are fantastic~!
robotworkz 6 months ago
@robotworkz Thank you. I'm glad you like them
derekbanas 6 months ago
Comment removed
SamuelLockyer 6 months ago
@derekbanas Can you not use the magical __get and __set methods in combinations with if statements within them in order to achieve the same thing with normal methods? I don't know, I think I may be confused. (This is just a spontaneous question).
I also read the same book as @JamesRCoston to teach me PHP, and I suppose this is where my question has derived. It covers OOP, but not in the way you have. I think I like your way better.
SamuelLockyer 6 months ago
@SamuelLockyer I really liked the Larry Ullman book on PHP. I pretty much learned everything else through experience over the years. Yes there are tons of different ways you can use the magic methods. I don't use them very often in day to day coding though
derekbanas 6 months ago
@derekbanas Dang, I just bought a different book on PHP. Maybe I'll buy one of his too, just to get a wider range of techniques.
I'm at uni (web design/development) and, well… it's as if I'm not. All I really get are deadlines and a piece of paper at the end of three years. Any advice about learning to program entirely on your own?
SamuelLockyer 6 months ago
@SamuelLockyer The only way you'll learn to program is through practice. A professor will teach you the basics, efficient coding and design patterns. In the real world you don't have time to be perfectly efficient and if you're working in a group you can't trust that everyone will understand your design patterns. If I was you I would set a goal that you want to make Facebook. It actually isn't very hard. By the end of that project you'll know more about programming than your teacher :)
derekbanas 6 months ago
This has been flagged as spam show
@derekbanas You know what the sad thing is? I think I already do…
But that's a good idea. I'm actually trying to make my personal website; there are whole bunch of things that I want to understand first though, otherwise it will turn out to be a horrible mess. I also only have a month, so I just want to grasp OOP PHP and JavaScript(/JQuery) and I'm away. You seem to be saving my ass right now btw, so thanks!! ~_^
SamuelLockyer 6 months ago
I really like your tutorials. Is there any way you can do a series on Drupal? Specifically how to create your own Drupal module. I can't seem to find any video tutorials on it, for free at least.
metardd 8 months ago
@metardd I can do that eventually. I'm kind of backed up. I did the only tutorials on making wordpress themes and plugins from scratch. You may like those. They are free on my yt channel :)
derekbanas 8 months ago
@derekbanas Yeah I noticed that you did some Wordpress tutorials but I'm trying to become a Web Developer and I've decided that I will focus on Drupal cause I'm already familiar with that cms since all my personal websites I have set up using Drupal. So I already know a few things about drupal but I don't know how to make custom modules. I really like your style of teaching, I find that it's easier to understand the way you do it compared to other folks who do tutorials.
metardd 8 months ago
@metardd Thanks. Most people on you tube are trying to make money. That's why they make a ton of short tutorials. The more views they get, the more money they make. I don't think it's conducive to actually learning though. Drupal is just php, JavaScript and jquery like wordpress. As soon as I can I'll cover it.
derekbanas 8 months ago
PHP and MySQL Web Development Fourth Edition has amazing coverage of OOP in PHP. I suppose the lack of coverage in books is due to how young the OO functionality is in PHP.
JamesRCoston 10 months ago
@JamesRCoston Yes, I've read all of the books that supposedly cover OOP in PHP. PHP isn't a OOP language, but it does allow you to implement some oop principles. I'll get into how you can incorporate design patterns into php some day. That is actually pretty useful.
derekbanas 10 months ago
You should note that the $object::constname syntax only works from PHP 5.3.0. Plenty of servers still have 5.2.x
sondano 1 year ago
@sondano Thanks for pointing that out. Deciding on what versions to do tutorials on is often my biggest decision.
derekbanas 1 year ago
So the constant is accessible outside of the class? Can you also make that private? Looking forward to the next one. : )
sethchilds 1 year ago
@sethchilds Constants can't have access specifiers like private, public or protected. They also can only have either the value of a string or number. The constant is part of the class definition and not the objects that you create. That's why you use the scope operator (::) to access it. Hope that helps. Thanks
derekbanas 1 year ago