[development] Node Rendering Debate

Moshe Weitzman weitzman at tejasa.com
Thu Jul 5 00:05:27 UTC 2007

The problem with drupal_render
> currently is we're limiting it to generating node bodies. This is a
> highly nestable API... I'm not sure why we aren't rendering pages using
> this as a starting point and having new renderAPI element type like
> 'page', 'section', 'block', 'container', 'node'... 

in drupal6, user profiles are printed via drupal_render(). and unlike 
nodes, this call comes right in the .tpl.php file. see 
user_profile.tpl.php in /modules/user

> I know we all probably think of this as FormAPI at the moment, but
> formAPI is the renderAPI with some form processing specifics built on
> top of it. 

i think many people now understand this distinction. it took us a while, 
but we are leaving that confusion behind ...

More information about the development mailing list