Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for peey‭

Type On... Excerpt Status Date
Comment Post #281606 @elgonzo because it's about the two particular instances ("testing" server and "prod" server in the example). There may be other instances which `X` doesn't care about, and neither does `SomethingElse`
(more)
over 3 years ago
Comment Post #281606 @elgonzo I'm also feeling similarities with Facade, but I am not completely sure due to it not being a facade on classes but on some well-known instances. Perhaps what I have here is a weird mix of 2 design patterns which is becoming the root cause of the confusion.
(more)
over 3 years ago
Comment Post #281606 @Alexei that's a useful comparison. I think redux but without centralizing everything, and just centralizing a subset of data is a useful comparison. In my real scenario the data is related to state, but I've tried to generalize it in the question.
(more)
over 3 years ago
Edit Post #281606 Post edited:
Clarify by adding an example
over 3 years ago
Comment Post #281606 I'll add an example so that things are clearer.
(more)
over 3 years ago
Edit Post #281606 Initial revision over 3 years ago
Question Is this a known design pattern: a piece of code is responsible for acting as a central proxy for data distributed in various places?
I have several classes (`C1`...`Cn`) and their instances (`I1`....`Im`). I have a "Registry" `R` of these. There are several pieces of data (`d1`...`dk`) spread across various instances. This much is set in stone, i.e. I consider the data being spread across the instances as appropriate design. ...
(more)
over 3 years ago