If your iPhone3GS has been mysteriously restarting itself since you upgraded to iOS5, then the following steps should help you get out of trouble with the phone. It’s worked for me twice: 1- Remove the SIM card from your mobile 2- Enable the (3G & cellular Data) 3- Add the SIM card again. 4- Now .. it will working fine. Also you can Disable the (3G [...]
Design Patterns Uncovered: The Bridge Pattern
Today’s pattern is the Bridge pattern, which allows you to vary both the implementation and the abstraction by placing both in seperate class hierachies. Bridge in the Real World The display of different image formats on different operating systems is a good example of the Bridge pattern. You might have different image abstractions for both [...]
Design Patterns Uncovered: The Builder Pattern
Today’s pattern is the Builder pattern,which allows for dynamic creation of objects based upon interchangable algorithms. Builder in the Real World The purpose of the builder pattern is to separate the construction of a complex object from its representation. so that the same construction process can create different representation. An example of this is happy [...]
Design Patterns Uncovered: The State Pattern
Today’s pattern is the State pattern, which allows objects to behave in different ways depending on internal state. State is used when you need a class to behave differently, such as performing slightly different computations, based on some arguments passed through to the class. State in the Real World Vending machines maintain an internal state [...]
Design Patterns Uncovered: The Flyweight Pattern
Today’s pattern is the Flyweight pattern, used to share large number of objects in an efficient way. Flyweight in the Real World The classic example of the Flyweight pattern is the representation of a character in a word processor. Rather than each character having seperate glyph objects that represent the font and formatting data, each [...]
Design Patterns Uncovered: The Composite Pattern
Today’s pattern is the Composite pattern, which comes into play when developing a system where a component could either be an individual object or a representation of a collection of objects. Composite in the Real World In programming, composites are used when dealing with tree structures. This itself is quite an abstract concept. One example [...]
Design Patterns Uncovered: The Singleton Pattern
The next pattern in our series is the Singleton pattern. Singleton is probably the most infamous pattern, as it’s use causes a divide in the development community- some say it belongs, others say it’s against object-orientation. Singletons in the Real World In the real world singletons represent anything that is unique, so in theory, every [...]
Design Patterns Uncovered: The Template Method Pattern
Today’s pattern is the Template Method pattern, which defines a stub for an algorithm, deferring some implementation steps to subclasses. Template in the Real World The Template Method pattern is used when two or more implementations of a similar algorithm exist. In the real world templates are used all the time: for architectural plans, and [...]
Getting To Grips With the Equinox Console
When developing Eclipse RCP applications, sometimes you’ll find that your plug-in’s capabilities don’t seem to available. The Equinox OSGi console is one of the most useful tools to inspect the state of all the plug-ins in a running application. This article gives a brief introduction to the console, and how it can be used to [...]
by James on July 20, 2011 in Eclipse, Software Development
Design Patterns Uncovered: The Strategy Pattern
Having focussed on the two factory patterns over the last week, today we’ll take a look at the Strategy Pattern, a useful pattern in changing algorithm implementations at runtime, without causing tight coupling. Strategy in the Real World To explain the strategy in the real world, let’s take the example of a software developer. If [...]
Follow @dzonejames on Twitter




