Other Benefits of Store Objects
Now that you’ve changed Nerdfeed to use a store and added new features involving external sources of data, let’s return to the general concept of store objects and the benefits of using them.
The main selling point of store objects is that we move the burden of dealing with external sources of data away from controllers and put all the request logic in one place. This is reason enough to use MVCS, but we’ve found other benefits of using store objects that we’d like to share.
We can write the controller logic of an application independently of its store logic. This really carries two benefits because the controller and store logic are independent in time and in space.
When beginning a project, sometimes the external ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access