design-principles
Web programming principles
Coming from a bit of a conventional (if rusty) programming background, I am busy getting to grips with the \"stateless\" nature of web sites.It is quite a mindset change![详细]
2023-04-08 12:06 分类:问答Help choosing my DDD aggregate roots within a provided scenerio?
I\'m fairly new to DDD and have read a few articles about the concept so pardon if I\'m lacking some knowledge. I\'m curious on how this example should be modeled with aggregate roots.[详细]
2023-04-04 23:37 分类:问答Java Program Design - Card Shuffler
I am trying to write a card shuffler, and I know the method by which I wish to shuffle the cards.However, I am at a loss of the best object-oriented way in which to write it.[详细]
2023-04-04 22:44 分类:问答What is an effective way to validate a bunch of variables before moving on?
I\'ve been reading about the ideal size of methods and the single responsibility principle then I go look at some of my code. I feel I can break up a lot (>90%) of my stuff to be small manageable meth[详细]
2023-04-03 11:38 分类:问答interface, interface client, vs inheritance, Software design principles, compoment packaging issue [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-18 07:29 分类:问答Graph database design principles, general principles and granularity issue
In relational database design, there are normal forms to guide the design process. Are there similar prinicples that apply to the design of graph databases like neo4j?[详细]
2023-03-15 05:51 分类:问答Calling the variable property directly vs getter/setters - OOP Design
I know this is probably subjective but I read this optimization page from Google for PHP and they suggest use the variable property directly without the need of getters and setters. Understandably I s[详细]
2023-03-10 11:08 分类:问答UML help C# Design Principles
I have a problem understanding an UML below: Specifically, what is the relationship between PersistentSet and ThirdPartyPersistentSet?[详细]
2023-03-09 17:50 分类:问答Grasp creator vs. dependency Injection
Is GRASP Creator a complete contra开发者_StackOverflowdiction to Dependency Injection? If it is not, please explain why.It is not a Contradiction, however they are both used in different circumstance[详细]
2023-03-06 19:00 分类:问答Trying to understand MVC - am I already doing it?
I\'m quickly getting knee-deep in larger and larger applications so I thought it\'d be a good idea to learn what patterns are and how they work, etc.So, I\'m watching some tutorials on youtube and rea[详细]
2023-02-22 00:33 分类:问答