This pattern is used in applications when only a single instance of a resource is required
Most common type of resource, on which this can be applied is database connection
You want to share the database handle in an application because it's an overhead to keep opening and closing connections, particularly during a single page fetch
An object is a singleton if the application can include one and only one of that object at a time
Model-View-Controller, this is the most commonly used design pattern
This patterns separates the business logic and presentation logic in such a way that any changes in the presentation logic should not interfere with the business logic and vice-versa
This is done with the help of a middle object called controller whose job is to take the request from the view pass it on the model
if required present the updated/new view to the user.
MVC Pattern ...
Factory Method is a object oriented creational pattern
The method is used to create and initiate objects for classes
Use of factories gives the programmer the opportunity to abstract the specific attributes of an Object into specific subclasses which create them
i.e. it defines an interface for creating an object, but let the subclasses decide which class to instantiate.
Factory Pattern ...
Observer pattern allows one object (the observer) to watch another (the subject)
The subject object notify the observer object if the subject’s state changes (Conceptually, the Observer pattern in something like a trigger in a database, which runs a stored procedure when a table row is modified
The main advantage of this pattern is that it decouples the observer from the subject
The subject doesn’t need to know anything special about its observers. Instead, the subject simply allows observers to subscribe.
Observer Pattern ...
Design patterns have two major benefits.
First, they provide you with a way to solve issues related to software development using a proven solution. The solution facilitates the development of highly cohesive modules with minimal coupling
Second, design patterns make communication between designers more efficient. Software professionals can immediately picture the high-level design in their heads when they refer the name of the pattern used to solve a particular issue when discussing system design.
Benefits of Design Patterns ...
There are many other reational/structural/ behavioral patterns, like Iterator, Adapter, Prototype, State etc.
But in order to implement a pattern effectively a detailed study is done at our end here at Mobicules Systems to understand the nature of the problem and how a particular design pattern solves it.
We can do the following for your app:
Conceptualize, or participate in the process
Design it, incorporating top notch ease of use
Architect it to be future ready
Develop it fast, using the best solution available
Maintain it efficiently
Scale it to a huge user base
We offer services in the areas of:
Social Networks and Platforms Development
Symfony apps Development: Social Networks, Travel Sites, CRM systems etc
Drupal apps Development: Social Networks, Brochure sites etc
Facebook and OpenSocial apps Development
Mobile apps Development – iPhone, Android, J2ME, Blackberry, WinMo
Contact Us Development Center: B-35, First Floor, Sector-57, Noida-201301 (INDIA) Phone: +91-9873778077, +91-1204358187+1-213-291-1527 E-mail: [email_address] www.mobicules.com