12
2010
Design Patterns : Iterator pattern
What is iteration? In computer science, an iterator is an object which allows a programmer to traverse through all the elements of a collection, regardless of its specific implementation. An iterator is sometimes called a cursor, especially within the context of a database. Intent Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation. Diagram Applicability Use Iterator pattern To access an aggregate object’s contents without exposing its internal [...]
9
2010
Design Patterns : Builder pattern
Motivation To reduce the size of a class that has many methods. Also to allow step-by-step construction of a target object. Intent Separate the construction of complex object from its representation so that the same construction process can create different representations. Diagram Applicability Use Builder pattern when; You want to vary the internal representation of the product it builds. It also hides the details of how the product is assembled. You want to construct the [...]
1
2010
Design Patterns : Adapter pattern
Motivation Sometime a toolkit class that’s designed for reuse isn’t reusable only because its interface doesn’t match the domain-specific interface an application requires. Intent Convert the interface of a class into another interface client expects. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces. Diagram Applicability You want to use an existing class, and its interface does not match the one you need. You want to create a reusable class that cooperates [...]
28
2010
Choose a language whilst browsing : PHP tutorial
Ok! This tutorial is strictly targeted towards web developers, who are looking for ways to convey or show his/her web page(s) in more than one language. Here is one smart way of doing it. I’ve made it very easy for you; I’ll give you the source-code and tell you what to do to get it working. Still have a problem? Leave a comment! I’ll help you get through. Steps to follow 1) Create a .php [...]
28
2010
Design Patterns : Facade pattern
Motivation Structuring a system in to subsystem helps reduce complexity. A common design goal is to minimize the commutation and dependencies between systems. One way to achieve this goal is to introduce a façade object that provides a single, simplified interface to the more general facilities of a subsystem. Intent Provide a unified interface to a set of interfaces in a Wrapper. Diagram Applicability Use Façade pattern when You want to provide a simple interface [...]
Recent Posts
- How to populate a dropdown menu from database in CodeIgniter [Workaround]
- How to Overclock Samsung Galaxy Mini Upto 800MHz
- Current and Future Relavance of Business Excellence / Improvement to Argos UK Ltd. Possible Benefits and Likely Inhabitors Exists
- What can Harm Your Online Reputation?
- Does Race Matter in the Choice of Popular Music among Youngsters?
The Tutebox
- Accounting
- Android Tips
- Apps
- Business
- C / C++
- Computers
- Database
- Design Patterns
- E-Commerce
- Economics
- Electronics
- Entertainment
- Finance
- Functional Programming
- Games
- Hardware
- Health
- HRM
- International Business
- Internet
- iOS Tips
- JAVA
- Life Style
- Linux
- M-Commerce
- Management
- Marketing
- Mathematics
- Mobile
- MS Office
- Network
- PC
- Personal Development
- Photography
- PHP
- Physics
- Places
- Programming
- Science
- Software
- Statistics
- Tweaks
- Visual Studio
- Web Hosting
- Windows


An article by



