|
|
|
|
|
by pselbert
4840 days ago
|
|
There are numerous benefits to using a presenter, or at least a "renderContext" object. Most conversion, formatting, predicates, and lazy attributes won't come through with toJSON(). The performance penalty is negligible compared to the benefit of testable presenter methods, logic out of the view, etc. Performance isn't the only thing to consider. |
|