architectural-patterns Questions

5

Solved

What is the difference between an 'Abstraction' and a 'Facade'? Is there a difference at all? Or are the terms interchangeable?
Raguelragweed asked 18/2, 2010 at 12:45

6

Solved

I have debated this for a while now and still have not come to a conclusion. While most examples I see have the factories code in the application layer I tend to think it should be in the domain la...

7

How do I encapsulate the saving of more than one entity in a transactional manner using the repository pattern? For example, what if I wanted to add an order and update the customer status based on...

1

Solved

We are building a platform based on microservices. The platform will provide a number of basic functions that will be used in various independent projects. We need to come up with such an architect...

6

Solved

As per clean architecture, design Interactor is part which contains all business logic. The term Interactor is quite confusing to me. Interactor seems to me like interacting between two different l...

3

Solved

I've been using MVC for a long time and heard about the "Service" layer (for example in Java web project) and I've been wondering if that is a real architectural pattern given I can't find a lot of...
Deletion asked 18/4, 2011 at 11:51

2

Solved

It might have been asked before but I cannot find even in the official site why I should use MediatR and what problems it solves? Is it because I can pass a single object in my constructor...
Fretted asked 3/6, 2018 at 5:17

3

Using ActiveRecord you might define a class like this: class Contact { private String _name; public String Name { get { return _name; } set { if (value == String.IsNullOrWhiteSpace()) th...
Denmark asked 29/6, 2011 at 14:9

10

Solved

According to Sun and Msdn it is a design pattern. According to Wikipedia it is an architectural pattern In comparison to design patterns, architectural patterns are larger in scale. (Wikipedia...
Guttapercha asked 8/12, 2009 at 13:0

2

Solved

What is different between CQRS and CRUD and can I use the UnitOfWork and Repository patterns in both cases ? If I have a complicated relationship between the entites which one you are recommending...

8

Solved

As I mention in the title, I'm interested to know what you (as experienced developers) think about the use of the DAO pattern, specifically within a web application. What advantages have you ...
Ormuz asked 17/11, 2009 at 11:32

4

Can anyone recommend good tutorial, implementation or sample code on Query object pattern usage, in C#(Java...)? I haven't found much with google.
Shanty asked 15/2, 2010 at 10:36

2

In Patterns of Enterprise Application Architecture, Martin Fowler talks about two patterns for organizing Domain Logic: Domain Model and Service Layer. The Domain Model pattern is the "pure OOP" ap...

2

Solved

I'm a bit confused in which situations these patterns should be used, because in some sense, they seem similar to me? I understand that Layered is used when system is complex, and can be divided ...
Auvil asked 26/1, 2014 at 15:7

3

Solved

If i have two objects, namely Fruit' andColor` and their definitions are as follows: public class Fruit { public int FruitId { get; set; } public string Name { get; set; } public Color Col...
Woodwind asked 21/10, 2014 at 16:46

3

Solved

I have just started with the android development and I am trying to develop my first application, which I am actually going to publish. I have a programming background in Java and knowledge o...
Spiritualist asked 11/9, 2013 at 15:17

2

Solved

In MVC, 'Model' is just code representation of data (e.g. in ASP.NET MVC it's a class with according fields). In Knockout however (which employs MVVM), I see that object with fields is called a 'V...

3

I've been trying to find a way to implement MVVM with PySide but haven't been able to. I think that there should be a way to create Views from ViewModels with QItemEditorFactory, and to do data bin...
Glaucescent asked 14/6, 2012 at 22:22

1

Background: I have been thinking about this for quite some time and I haven´t found any good answer to it. After working for some time with WebForms and periodically with MVC 2,3 and 4 I still do n...

5

Solved

How are Views created in MVP? Does the Presenter always create them (in addition to View in case of subviews)? Or is it a separate third-party component or App or something that creates them? Let'...
Rabin asked 6/6, 2011 at 7:36

10

Solved

While going through university and from following the development of SO, I've heard a lot about the Model-View-Controller architectural design pattern. I inadvertently used the MVC pattern ev...

2

Solved

In my web application, I'd like to allow super users to impersonate other users. My Question: Is there a generally accepted design pattern that I could use to make this happen? Generally s...

6

Solved

hey, hi i want put limit on object creation means a class can have at most suppose 4 objects not more than that how to achieve this?
Copt asked 24/2, 2010 at 5:8
1

© 2022 - 2024 — McMap. All rights reserved.