You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ISL-R design pattern is a component-oriented rehash of MVC (MVVM, MVP), but with more practical (less computer-sciencey) naming.
A component (or package or module) can be thought of as parts:
Interaction (parsing arguments, query, etc)
Shape (typeable adaptation of storage)
Logic (testable, valuable logic)
and Routing (index of capabilities)
Component Architecture
As opposed to category architecture.
Meaning "all the stuff related to widgets goes together, and all of the stuff related to gizmos goes together" instead of "all the stuff related to data storage goes together".
Grouping things by how they could be exported as a small, independent unit.
Gizmos.data.getUpsideDownGizmos=asyncfunction(){// ...};Gizmos.lib.calculateAveragePrice=function(gizmos){// ...};Gizmos.json.showAverageCost=function(req,res){letgizmos=awaitGizmos.data.getUpsideDownGizmos();letaverage=Gizmos.lib.calculateAveragePrice(gizmos);res.json({ average });};
Separating the bits that handle how a user (developer, machine, or product customer) interacts with the system from the unique, valuable work (business logic).
Shape
TODO
Logic
TODO
Routing
TODO
The text was updated successfully, but these errors were encountered:
Re:
The ISL-R design pattern is a component-oriented rehash of MVC (MVVM, MVP), but with more practical (less computer-sciencey) naming.
A component (or package or module) can be thought of as parts:
Component Architecture
As opposed to category architecture.
Meaning "all the stuff related to
widgets
goes together, and all of the stuff related togizmos
goes together" instead of "all the stuff related to data storage goes together".Grouping things by how they could be exported as a small, independent unit.
❌ Not this
✅ This
./lib/gizmos.js
:router.js
:Interaction
Separating the bits that handle how a user (developer, machine, or product customer) interacts with the system from the unique, valuable work (business logic).
Shape
TODO
Logic
TODO
Routing
TODO
The text was updated successfully, but these errors were encountered: