Tags » Design Patterns

Creational Pattern

SInce i am in the world of Java , sometimes i felt that some technology steals our job, example SAP because it is a creative in building applications. 38 more words

Design Patterns

Design Patterns(In our daily life)

Lets see the design patterns applied in our daily life.

Christopher Alexander says, “Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice”. 194 more words

Design Patterns

#3 Decorator Pattern

When to Use Decorator Pattern?

Add New Responsibility(functionality) to the class,without breaking the existing functionality.

Usage:

1.Component as abstract class/Interface.

2.Concrete Components Implementing the Components. 47 more words

Design Patterns

Beyond Inheritance Part 2 : Push then Pull

ผ่านไปอีกหนึ่งสัปดาห์หลังจากสรุป Head First Designs Patterns บทแรกไว้ในตอน Beyond Inheritance อาทิตย์นี้ก็ยังคงอ่านเรื่อยๆ จนจบบทที่สอง เลยสรุปไว้ต่อเป็น part2

บทนี้กล่าวถึงแพทเทิร์นที่ผมคิดว่าเป็นหนึ่งในแพทเทิร์นที่มีการใช้งานกันมากที่สุด แพทเทิร์นนั้นก็คือ Observer Pattern

Development

State Pattern

When to Use State Pattern?

Lets Assume a Case where we design a CardReader System.The specification of  the CardReader would be something like at a given point of time the machine can either insert or discard or hold the card for processing.so we find the Usage of State in CardReader . 329 more words

Design Patterns

Domain Model

While designing an application domain model would you first start with database design or object model design. You can follow whichever approach you feel is appropriate, but in my experience designing the object model first before the underlying database design, helps to implement… 348 more words

Software Architecture

Protect Users’ Work

Nhắc lại khái niệm usability căn bản: Đừng cản trở người dùng

(Hình 1: Ảnh chụp màn hình Foody app yêu cầu người dùng nâng cấp phiên bản mới) 1,137 more words

Truong Dac Binh