February 26, 2009

Flyweight pattern and Pacade pattern

here are the new two interesting patterns which I learned from many team members.
======================================

Flyweight patter is a pattern which is used to make the memory low usage by catching many the same objects in one location and take them to use in many different location or apply their style in different style. as similar as word processor that we store only characters those characters' style are apply in different way.

Pacade pattern is the common pattern which is very useful while we have many complex class that contain a lot of subsystems inside. Pacade is an interface that store or catch only the needed subsystems and apply them to all client to use.

0 comments:


Free Blogspot Templates by Isnaini Dot Com and Porsche Cars. Powered by Blogger