Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.

Let Your Properties be Properties

May 8th, 2007

There is a coding pattern that I see (and have used) in PHP code that defines generic methods on a class for setting and getting properties.
 
function set($name, $value);
function get($name);
 Google code search for examples
Some times there are some ancillary methods to deal with unsetting, checking for existence, setting via an array, or dealing with references in [...]

14 Comments | Read the full post »

Harry Fuecks, PHP Patterns and Dynamically Typed

November 4th, 2005

I was reading this post over at Dynamically Typed and I was thinking to myself, this looks like something that Harry Fuecks would write. A glance at the top of the page confirmed my suspicions. Harry has been writing a few new blog posts over there. That and the resurrection of the [...]

5 Comments | Read the full post »

    Subscribe Feed
    Share Subscribe to this blog…
    Share Bookmark or share this page…
  • About

    My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.

    More about me…

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (17)
    • Open Source (14)
    • PHP (98)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • flickr case study  3
      bookmarking demon software, php-trivandrum.org, Harry Fuecks
    • rsync to remote server via ssh  7
      Burton Haynes, James, Mike [...]
    • Yahoo YUI wins JavaScript Library Wars  10
      Lera Bride, Scott, Jeff [...]
    • OOP is Mature, not Dead  15
      Avery Depew, Fernando, deltawing [...]
    • Ruby versus PHP or There and Back Again  10
      Solar Pumps, Amsterdam, Hari K T [...]
    • Looking Towards the Cloud  22
      Driver License, Jamel Sawyer, enculez. [...]
    • ZendCon: Writing Maintainable PHP Code  8
      IT Ninja, nicopico, Arif [...]
    • Jason Sweat's Blog  1
      Stop Sweating
    • PDO versus MDB2  13
      Gavin, stot, Dapra [...]
    • Why PHP is easier to learn than Java  14
      Ian, , [...]
  • Site

    • Archives
    • Log in
  • Search