Re:FastAPI – Easily create robust, standardized API endpoint...
by cheald on Tuesday July 29, 2014 @01:32AM
(#8100838)
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.
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.