Understanding REST REST (Representational State Transfer) was introduced and defined in 2000 by Roy Fielding in his doctoral dissertation. REST is an architectural style for designing distributed systems. It is not a standard but a set of constraints, such as… Continue Reading
For building a web application we spend a lot of time in writing the same code again and again. Frameworks provide a starting block and minimize the amount of code needed to build a website. CodeIgniter is PHP driven framework… Continue Reading
Laravel is a prominent member of a new generation of web frameworks. It is a free, open-source PHP web framework, created by Taylor Otwell back in 2011 and intended for the development of web applications following the MVC model. Some… Continue Reading
SOA (Service Oriented Architecture) A Service Oriented Architecture is a software architecture pattern, which application components provide services to other components via a communications protocol over a network. The communication can involve either simple data passing or it could involve two or more… Continue Reading
This pattern allows a client object to construct a complex object by specifying only its type and content, being shielded from the details related to the object�s representation. This way the construction process can be used to create different representations.… Continue Reading
A DAO is much closer to the underlying storage, it’s really data-centric. That’s why in many cases you’ll have DAOs matching db tables or views 1 on 1. A DAO allows for a simpler way to get data from storage,… Continue Reading
Provide an interface to create the family of a related object of a class without exposing the creational logic. Example – Factory of Factory.
Provide an interface of two incompatible interface/object. Works as a bridge/mediator between two different objects. A great application is constantly hooked into other libraries and APIs, so we implement the adapter method So that we do not experience any trouble… Continue Reading
Provide an interface to create a related object of a class without exposing the creational logic. Example – Vehicle Factory – Car, Bus, Truck.
The observers will be monitored and notified of every state change of subject until they stop observing the subject. So it follows Hollywood principle-“Don’t call us, we will call you”. Defines a one-to-many dependency between objects so that when one… Continue Reading