3 ms·
Well, it certainly meets those goals, but it does so by putting view logic into the model layer. You might take a look at the Presenter pattern; Draper is an e
by cheald 12y ago
Well, it certainly meets those goals, but it does so by putting view logic into the model layer.
You might take a look at the Presenter pattern; Draper is an excellent implementation of it, which permits for this kind of "model-attached" view behavior, while maintaining proper MVC separations.