At Brevitaz, we use a combination of quality communication and superb software maintenance to help our clients build solid online infrastructures. Our team of industry professionals, based in Ahmedabad, India, has over a decade of IT experience under our belts....
Race condition is one of the famous concurrency problems that every developer encounters when working in concurrent programming. Race condition may lead to inconsistent state of the system. The article explains race condition and its types with examples, root causes...
Object-oriented programming tries to model real-life objects into the programming world. This makes the programs easy to co-relate with real-world and understand. Encapsulation is one of the key concepts, which plays crucial role in this modelling along with Abstraction and...
English meaning of abstraction Something that exists only as an idea. Technical translation Abstraction is the concept of representing something at high level, without going into too much details. Anyone involved into object oriented programming would be already aware of...
When developing desktop based or similar applications, it becomes headache to synchronize data between different pages. Say when Delete is clicked in context menu of some node of tree, Grid and some other panels need to be notified. Here is...
In recent posts, we identified what issues can arise if we keep going with the design shown in Class Explosion and Etymology Of Decorator Pattern. Lets take a quick look at what fundamental design problems exists in this design. Exsisting...
Today our purpose is to know why and when to use decorator pattern. In last post about class explosion, we found that there is class explosion if we go with the first trial. Now what we can do to improve...
To understand a typical design anti-pattern causing Class Explosion, consider a use-case of Restaurant. They need to serve several menu items, some of them are listed below in form of Class names. DoubleCheesePizza ItalianPizza FreshVeggiePizza Vegetable Sandwich Cheese Sandwich Aalu-matar Sandwich...
Why Pattern? When developing client tier of application using html, there are certain limitations in the way we can organize the things. Because the code is in XML. Religious java developers are generally seen more inclined towards GWT rather than...