3
votes
Accepted
How to make domain objects accessible to MVC controllers and views?
Fact 1: True.
Fact 2: True in principle. Business logic objects should be "technology-agnostic," unless the stated purpose of a particular object is to interact with a particular technology.
...
1
vote
How to make domain objects accessible to MVC controllers and views?
In MVC changes are initiated by Controllers. so the Controller can raise the change event rather than the model.
If the model changes by itself, then there will be some "refresh" event ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mvc × 935design-patterns × 187
php × 138
design × 97
architecture × 93
object-oriented × 86
java × 77
asp.net-mvc × 68
c# × 54
asp.net × 42
javascript × 35
web-development × 35
web-applications × 32
model × 31
object-oriented-design × 27
rest × 26
ios × 26
mvp × 25
mvvm × 24
business-logic × 23
frameworks × 19
ruby-on-rails × 19
.net × 17
architectural-patterns × 17
programming-practices × 16