Object-Oriented PHP: Delving Deeper into Properties and Methods

Discussion in 'Design & Development' started by Samuel, Jan 9, 2012.

  1. Samuel

    Samuel
    Expand Collapse
    Admin

    Joined:
    Dec 20, 2011
    Messages:
    5,576
    Likes Received:
    71
    Published in PHP Objects

    [​IMG]

    Welcome to the second article in our series on object-oriented PHP programming.

    In this article, you're going to delve a bit deeper into properties and methods in PHP. You'll explore constructors and destructors; static properties and methods; class constants; type hinting; and the __get(), __set(), and __call() magic methods. We've included lots of code examples to help you learn the concepts.

    This article will give you a solid grounding when it comes to using objects in PHP, before we move on to more advanced topics such as inheritance in later articles.[​IMG]

    Continue reading...
     
  2. Website Magick

    Website Magick
    Expand Collapse
    Established Member

    Joined:
    Dec 22, 2011
    Messages:
    673
    Likes Received:
    102
    Great article,
    A project that we worked on last year required a custom login for members and thus database (mysql). I'm adept with HTML/CSS but php is not my strong point. I did get the login working properly but security was an issue with the login code showing in the source code. So how do you hide this info?
     

Share This Page