18 Jul
2006
18 Jul
'06
11:18 p.m.
MVC: nowhere, nothing, should ever build up a body except the theme (V in MVC).
That is where the real problem lies. We really don't want to pass large chunks of ugly HTML around. We certainly don't want "developers" to make nice presentations (build HTML and glue that to a $node->bopy blurp :p .
We want our modules and core, to present the theme-layer a nice structure filled with metadata. Then let the theme (trough handy APIs) build a body from that.
The man speaks the truth. Although there are some edge cases that get complicated -- modules like inline, insert_view, and so on that all need to filter the final result of an assembled node. What's the best solution for that? --Jeff