Added: 1 year ago
From: derekbanas
Views: 1,637
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (21)

Sign In or Sign Up now to post a comment!
  • 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

  • There were a few tips here that helped me a lot. Thanks

  • @CustomizeWordpress Thank you :)

  • Your tuts are fantastic~!

  • @robotworkz Thank you. I'm glad you like them

  • Comment removed

  • @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 :)

  • 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.

  • You should note that the $object::constname syntax only works from PHP 5.3.0. Plenty of servers still have 5.2.x

  • @sondano Thanks for pointing that out. Deciding on what versions to do tutorials on is often my biggest decision.

  • So the constant is accessible outside of the class? Can you also make that private? Looking forward to the next one. : )

  • @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

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