albert's blog
Showing posts with label
Design Pattern
.
Show all posts
Showing posts with label
Design Pattern
.
Show all posts
2019/03/11
[Java] [Design Pattern] An example for Template Method Pattern
›
Here has four steps to demonstrate template method pattern: 1. Create an abstract class with a template method being final. package co...
2017/06/10
[Design Pattern] Builder Pattern
›
Definition of Builder Pattern The builder pattern, as name implies, is an alternative way to construct complex objects. A builder patte...
2017/03/08
[Design Pattern] Command Pattern
›
在 97 Things Every Programmer Should Know 一書中提到: 雖然在一般遇到的案例裡,使用 if - then - else 比多型更實用些,但絕大多數用 polymorphism 的寫作風格會讓程式碼更精簡、更易讀,且更少脆弱的程式碼。所以...
2017/02/04
[Design Pattern] Strategy Pattern
›
Assume I have a data exporter which can export data to PDF, XLS or HTML format. It can export data to different format depends on your deman...
2017/01/09
[Design Pattern] Factory Pattern
›
Assume I have a juice store, which provide apple juice, orange juice and kiwi juice. As I accept customer's order, I will make juice and...
2011/06/11
Apply Template Method Pattern in Report Implementation
›
View more presentations from Guo Albert
2009/04/10
Template method pattern example
›
http://www.slideshare.net/junyuo/template-method-pattern-example
2008/09/19
Spring + JPA + TOPLink + DAO Step by Step
›
Spring + JPA + TopLink + DAO Architecture Spring/Persistence Config File Implement DAO – CRUD Implement ServiceBean Implement Client Si...
2008/09/03
Spring + JPA + DAO Step by Step
›
Spring + JPA + DAO Step by Step Spring + JPA + DAO Architecture Spring Config File Implement DAO – CRUD Implement ServiceBean Imple...
›
Home
View web version