This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Real World Example for Builder Patter

 
Nuwan Arambage
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have already understood the concepts behind the builder pattern
But I want to know real word example that uses the builder pattern

 
Marcin Majewski
Greenhorn
Posts: 14
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Builder pattern is a good choice when the construction of a particular object is a complex task, and you want to have a controll over each step of this construction process. The real world example could be ie. a creation of a XML file. You can define severial methods to add new nodes, set its subelements, attributes etc..
 
Muhammad Khojaye
Ranch Hand
Posts: 449
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check out this real world example here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic