I am currently learning the builder pattern. All the tutorials, everything is great, but when it comes to working with real data (not hard-coded strings inside your SetFoo(), SetBar() (in the builders)), I realized that I need to pass to the builder from inside the controllers (MVC). And then my controller happens to be the director right?
My constructor method is gone now since the data is already set by the setters of the builder.
Example:
fooBuilder.setBar("real data from db");
fooBuilder.setFoo("more real data from the database");
Does it violate the principles of the builder pattern?