Click here to Skip to main content
15,909,498 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: JSON size Pin
Gerry Schmitz2-Dec-17 10:42
mveGerry Schmitz2-Dec-17 10:42 
GeneralRe: JSON size Pin
Eytukan30-Nov-17 20:30
Eytukan30-Nov-17 20:30 
GeneralRe: JSON size Pin
Gerry Schmitz30-Nov-17 22:12
mveGerry Schmitz30-Nov-17 22:12 
GeneralRe: JSON size Pin
jschell1-Dec-17 7:52
jschell1-Dec-17 7:52 
GeneralRe: JSON size Pin
Gerry Schmitz1-Dec-17 8:22
mveGerry Schmitz1-Dec-17 8:22 
GeneralRe: JSON size Pin
jschell5-Dec-17 10:30
jschell5-Dec-17 10:30 
GeneralRe: JSON size Pin
Gerry Schmitz5-Dec-17 11:11
mveGerry Schmitz5-Dec-17 11:11 
AnswerRe: JSON size Pin
Eddy Vluggen1-Dec-17 0:50
professionalEddy Vluggen1-Dec-17 0:50 
AnswerRe: JSON size Pin
Nathan Minier1-Dec-17 1:38
professionalNathan Minier1-Dec-17 1:38 
AnswerRe: JSON size Pin
jschell1-Dec-17 7:56
jschell1-Dec-17 7:56 
QuestionDelima - User Enum or Allow User To Define Pin
Kevin Marois28-Nov-17 6:51
professionalKevin Marois28-Nov-17 6:51 
AnswerRe: Dilemma - User Enum or Allow User To Define Pin
Richard Deeming28-Nov-17 7:22
mveRichard Deeming28-Nov-17 7:22 
AnswerRe: Delima - User Enum or Allow User To Define Pin
Mycroft Holmes28-Nov-17 12:12
professionalMycroft Holmes28-Nov-17 12:12 
GeneralRe: Delima - User Enum or Allow User To Define Pin
Kevin Marois28-Nov-17 12:13
professionalKevin Marois28-Nov-17 12:13 
QuestionGeneral "design patterns" usage questions Pin
MikeTheFid13-Nov-17 12:39
MikeTheFid13-Nov-17 12:39 
AnswerRe: General "design patterns" usage questions Pin
Pete O'Hanlon13-Nov-17 19:55
mvePete O'Hanlon13-Nov-17 19:55 
AnswerRe: General "design patterns" usage questions Pin
Eddy Vluggen13-Nov-17 23:03
professionalEddy Vluggen13-Nov-17 23:03 
AnswerRe: General "design patterns" usage questions Pin
Gerry Schmitz14-Nov-17 4:14
mveGerry Schmitz14-Nov-17 4:14 
GeneralRe: General "design patterns" usage questions Pin
Eddy Vluggen14-Nov-17 5:12
professionalEddy Vluggen14-Nov-17 5:12 
GeneralRe: General "design patterns" usage questions Pin
Gerry Schmitz15-Nov-17 5:54
mveGerry Schmitz15-Nov-17 5:54 
GeneralRe: General "design patterns" usage questions Pin
Eddy Vluggen15-Nov-17 7:26
professionalEddy Vluggen15-Nov-17 7:26 
GeneralRe: General "design patterns" usage questions Pin
jschell15-Nov-17 7:43
jschell15-Nov-17 7:43 
GeneralRe: General "design patterns" usage questions Pin
Eddy Vluggen15-Nov-17 8:57
professionalEddy Vluggen15-Nov-17 8:57 
jschell wrote:

Yes, but does that really relate to what GoF defines?
I'd seriously wouldn't know, I don't go there often Smile | :)

jschell wrote:

When you and/or the Architect says 'Factory' in a design discussion is the idea that it will follow, exactly, the first definition above?
No, just the generic idea, otherwise he would specify exactly what the requirements are. If he doesn't, then it is up to the developer to choose the most appropriate solution - which usually means going for the simplest thing possible (whilst still only returning an interface).

..but when in doubt, simply ask Thumbs Up | :thumbsup:

jschell wrote:
As for myself I am rather certain I follow neither. I expect that I use "Factory" to mean what GoF documents in the "Factory Method" to be 'ConcreteCreator' and I might use "Abstract Factory" in implementation (if I use it at all) as something that more closely resembles what "Factory Method" is. But not exactly.
Depends heavily on what is required; do you want a static factory, a singleton, or would you prefer an object? If it has to be combined with an object-manager pattern, then I'd think that the object is preferred. Do you want one object, or do you want multiple objects? In the first case, all objects created in the factory will be available over the manager globally. In the second case, only those objects are available that the specific factory created (in that thread).

Point is, you don't want to explain how a "single point of creation in code" can save you from having to update a 1000 references in code where there's normally a "new"-keyword. That's the problem that a factory solves, with the trade-off that one introduces a tiny bit of overhead (in terms of execution).

It is not just something you learn to impress during the interview, they're simply descriptions of a way to solve something. Lots of "developers" here would struggle with a undo/redo pattern, while others simply request a memento-pattern.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: General "design patterns" usage questions Pin
jschell16-Nov-17 11:18
jschell16-Nov-17 11:18 
GeneralRe: General "design patterns" usage questions Pin
Eddy Vluggen17-Nov-17 0:14
professionalEddy Vluggen17-Nov-17 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.