PHP Design Patterns: Singleton Pattern Example

php_logo_128The Singleton pattern is generally the first Design Pattern a developer is exposed to, because it solves a common problem and it is easy to understand and implement. Even though Design Patterns are language independent, each language often implements them differently. It is also important to remember that the context of the application can cause the implementation to change as well. Design Patterns are patterns not rules.

PHP allows you to create the Singleton in such a way that the internal code of the class can be agnostic. Changing the package or class name does not affect the Singleton implementation itself. (more…)

Hello, world!

No this isn’t the post that came with Wordpress. I figured, since my blog is focused on coding and other related items, what better way to start off this blog than with a “Hello, world!” post? I decided to create this blog rather than continue with the one I have on my previous site Flash Extensions for several reasons: 1) My previous blog had been seriously neglected; 2) This blog lets me talk about any technology and not limit my posts to discussions relating to just Flash, Flex, and ActionScript.

Who am I?

If you would like to know who I am, go to About.

So what are the things I discuss?

Primarily things that I have found that have helped me in my daily programming environment: Tips, Frameworks, IDEs, Servers, Web Services, etc. The great thing about our industry is that its constantly evolving. The bad thing is that it can be daunting to keep up with it all. I have currently honed programming in Flex, PHP, and Java. I find these to be well supported by both a company and an large community of developers. So, hopefully you will subscribe to this blog and I can give you some insight to things I have learned prior and am currently learning.

If you find something that you wish to share or provide feedback, then drop me a line!

Rob

 Page 2 of 2 « 1  2