[development] Building $node->body with arrays like FAPI
jeff at viapositiva.net
Tue Jul 18 21:18:43 UTC 2006
> MVC: nowhere, nothing, should ever build up a body except the
> theme (V in
> 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?
More information about the development