[development] Node Rendering Debate

Darrel O'Pry dopry at thing.net
Thu Jul 5 00:14:45 UTC 2007


On Wed, 2007-07-04 at 20:05 -0400, Moshe Weitzman wrote:
> 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

Oooh.  I gotta go look at that and the schema stuff that got added as
well.

> > 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 ...


/me stops sounding like a broken record...



More information about the development mailing list