According to the book I am reading, I understand this facts. Entity objects is like model objects in MVC which are responsible for maintaining data. Boundary objects are those which interact with external users, handling both input and output. In MVC, user input is detected by control objects, but the handling of output is the responsibility of view objects. That are the difference I have found. But when I do googling, many said that MVC is typically used in user interface design whereas ECB is most often used in business logic. What does that mean? MVC is just used for user interface? If so, what is the responsibility of the Controller and view object in MVC?
When to use MVC and ECB?
341 Views Asked by Ju Ju At
1
There are 1 best solutions below
Related Questions in MODEL-VIEW-CONTROLLER
- Getting POST 500 Internal server error while sending request via ajax call
- ASP.NET Core - Change Url of Product Details when select Color
- How to execute functions from different classes in a Model-View-Controller (MVC) architecture pattern?
- How to reroute role based user after login
- Error Connecting to a remote Windows MYSQL Windows server using Windows ASP.NET
- InvalidOperationException: Unable to resolve service for type 'Microsoft.Identity.Abstractions.IDownstreamApi'
- Create REST API Endpoints from an Existing PHP CodeIgniter Project
- Issue with Accessing Endpoints after Separating Controller Classes in Spring Boot
- C# MVC net.7 Application goes in time out
- In my .net core 8 mvc c# project, when I click on the category, the data comes as null listing the products in the relevant category
- Why do I get 500 error on Azure after using ViewBag?
- The jquery script function is not triggering in _layout.cshtml page while child page is loaded in ajax
- How to structure frontend on a Vanilla JS app on Symfony
- About Flutter MVVM Architecture with GetX
- How to join tables from multiple dbcontexts in one ViewModel?
Related Questions in UML
- steps to create a web app with backend and database and web
- How to present this example concept in UML: Using 2 LCD displays in C/C++
- In the UML diagram, in the Class diagram, what does stereotype mean <<compound>>?
- UML representation of containerized services
- uml class diagram for boxing match
- Polymorphism can be described as:
- Why am I getting a plantUML syntax error with a statechart in a package?
- System or external system as an actor in a use case?
- How to model statechart behavior inheritance using UML?
- Can we have an interface create objects of another interface in UML Class Diagrams?
- Is my relationships correct in my class diagram
- How to attach a Port shape to a class shape?
- How to correctly create a sequence diagram?
- How can I insert activity diagram image to an use case in Enterprise architect?
- Use case extends or include
Related Questions in ECB-PATTERN
- ECB pattern: can I have print method in Entity?
- UML - Can subclass of a Boundary acts as controller?
- Are these classes considered as boundary, or entity?
- Entity-Control-Boundary Pattern
- ECB pattern (Entity,Control,Boundary) implementation
- Is it possible to join 2 controller classes to 1 boundary class?
- When to use MVC and ECB?
- Benefits of using set of entites
- Storage layer and entity classes
- What is the use of control classes?
- UML Class Diagram
- Entity Control Boundary (ECB) vs Model View Controller (MVC)
- (Entity-Control-Boundary pattern) -> How to deal with two entities?
- name of boundary control entity diagram
- ECB pattern - what is really a boundary?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The two architectural patterns have a different origin:
The two patterns have some similarities. Indeed, the BCE-Entity components have the same purpose than the MVC-Model components: managing the domain objects.
However there are subtil differences: the MVC-Controller is meant to capture all the user input, and the MVC-View the outputs. The BCE-Boundary is meant to cover the full user interface (input and output) and relate to the BCE-Controler, which coordinates the other BCE components for the purpose of a use-case/goal. In other words, the BCE-Controller is related to the business logic (i.e. the model in the MVC).
If the application covers only one use-case, the main difference will be the controller. But if an application covers several different use-cases, you'll end-up with a different architecture.
In practice, BCE did not really made it through in modern user interfaces, whereas MVC is still very popular thanks to some frameworks.