PHP Tutorials By Kloplop321

PHP video tutorials, for everyone.
  • Home
  • About
  • Contact
  • Subscribe
  • Tutorial List

Category:

  • PHP
    • OOP
    • Uploading
  • Tutorial
    • PHP Tutorials
      • MySQL
        • Insert
        • PHPMyAdmin
        • Select
        • SQL
        • Update
  • Uncategorized

Archives:

  • March 2011
  • November 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009

Blogroll:

  • Tech Paul

Meta:

  • RSS
  • Comments RSS
  • Valid XHTML
  • 20Mar

    PHP OOP Tutorial 3: Implementing interfaces, utilizing structure

    OOP, PHP, PHP Tutorials 3 Comments

    This tutorial starts fresh with Object Oriented programing with a focus on implementing an interface, and using that interface for our advantage when going through an array.
    This tutorial covers

    • Creating classes
    • Creating an interface
    • Implementing an interface
    • Using a magic constant

    Here’s the video,

    Make sure to take the jump if you want to see the final source code!
    Read more…

    Tags: implements, instanceof, interfaces, magic constants, OOP

  • 13Mar

    PHP OOP Tutorial 2: Extending Object Oriented Programming

    OOP, PHP, PHP Tutorials, Tutorial No Comments

    This tutorial starts fresh with Object Oriented programing with a focus on extending other classes, and a parent class that holds collections of the account class.
    It covers

    • Class creation
    • Class Extension
    • Peak into the static keyword
    • Example of instanceof
    • Small explanation of the self keyword

    Here’s the video, I’m totally winging it without any prior planning other than to cover something more that I did not cover in the last tutorial. Thanks to you subscribers now, I don’t have to split up my tutorials!

    Make sure to take the jump if you want to see the resulting source code and textual explanations.
    Read more…

  • 08Nov

    PHP OOP Tutorial 1: an introduction to Object Oriented Programming

    OOP, PHP, PHP Tutorials 3 Comments

    This is a basic introduction to Object Oriented programming in PHP.
    Here, I introduce

    • classes
    • public/private variables and methods
    • magic methods
    • method chaining

    I use a diagram to show the concept visually before creating the code, and then I test it in the terminal.
    I also show variable casting to ensure that information is properly handled, even when it is of the wrong type.

    Read more…

   

PHP Tutorials By Kloplop321 is proudly powered by WordPress Entries RSS Comments RSS