* Fix languages * Missed change for version number * Add language field for presentation * Revert change in README for double buffer Co-authored-by: Jackie Nim <=>
25 lines
996 B
Markdown
25 lines
996 B
Markdown
---
|
|
layout: pattern
|
|
title: Step Builder
|
|
folder: step-builder
|
|
permalink: /patterns/step-builder/
|
|
categories: Creational
|
|
language: en
|
|
tags:
|
|
- Instantiation
|
|
---
|
|
|
|
## Intent
|
|
An extension of the Builder pattern that fully guides the user through the creation of the object with no chances of confusion.
|
|
The user experience will be much more improved by the fact that he will only see the next step methods available, NO build method until is the right time to build the object.
|
|
|
|
## Class diagram
|
|

|
|
|
|
## Applicability
|
|
Use the Step Builder pattern when the algorithm for creating a complex object should be independent of the parts that make up the object and how they're assembled the construction process must allow different representations for the object that's constructed when in the process of constructing the order is important.
|
|
|
|
## Credits
|
|
|
|
* [Marco Castigliego - Step Builder](http://rdafbn.blogspot.co.uk/2012/07/step-builder-pattern_28.html)
|