The core understanding behind the observer pattern is that it is an object (other known as a “subject”), which has many dependents (other known as “observers”). When something changes at the subject, it then lets all the observers know about the change. This can be done in many ways, with the most popular being using a method within the observers.
The key aspect of the observer pattern is that it focuses on implementing distributed event handling systems. When implementing the observer pattern, the observers will not have to constantly reach out to the subject to see if changes have been made, but rather, the subject will notify the observers when any change is made.
One core aspect to programming these days is “design patterns”.. Wikipedia defines them as “general reusable solution to a commonly occurring problem within a given context” (read more here: http://en.wikipedia.org/wiki/Design_pattern_(computer_science)).. To most developers, the “Gang Of Four” is the first thing that pops into our heads when we hear the words “design patterns”. The Gang Of Four are generally considered to be the founding fathers of design patterns, who have designed 23 software design patterns, which are characterised into 3 groups: Creational, Structural and Behavioral.
Software design patterns have become a core essential to all developers and I am going to keep on learning more and more about them as I go.. hope you enjoy the journey with me 🙂
This.. is my core development framework.. However, I have spent a little time on PHP, and developing straight up Java applications.. (oh yeah, we pronounce .Net as “dot net”)
The .Net framework is a framework originally developed by Microsoft, it primarily runs on Microsoft Windows.. it provides a large library of different functionality that allow for language interoperability across several programming languages. The .Net framework executes on the CLR (Common Language Runtime).. The CLR is a totally different subject matter all on it’s own!!
Microsoft began development on the .Net framework in the late 1990’s, with the beta release of version 1.0 being launched in 2000. Nowadays we work with version 4.5 and are awaiting the final release of 4.5.1.. you’ll be glad to know, it’s has been launched as a preview!! Get your very own download here: http://www.microsoft.com/en-us/download/details.aspx?id=39328
So.. first off, why am I doing this?
It’s easy.. I’m a developer (apart from many other things).. a web and software developer, and like all developers, I want to learn MORE 🙂
Come and join me on my mission to learn more about anything and everything I like doing with technology and development!!
P.s.. i do have many other hobbies, so please don’t be frightened when you come across a post that doesn’t necessarily relate to technology in itself..