From: Nico G. <sc...@ac...> - 2001-05-24 09:52:39
|
--* Alex Black (Tue, May 22, 2001 at 12:11:06AM -0700) *-- > master templates, and module layouts, are normal php-in-html for a numb= er of > reasons, not least of which we'd have to generate a huge amount of xml = for > every page render, only to be hurt by using xsl. > > some examples: > -you can entirely omit the $bc_page[templates] array (you don't hav= e to > have a master template.. if you don't the module groups will just be pr= inted > in sequence. what i was wondering, if we're always trying to separate code and layout, how come we have a 'hello world' module that echo()'s a content? ok i agree, it's an example module, so echo()'ing stuff is it's job (as in the "hello world" module definition), but shouldn't be the table layout defined in this module be somewhere else? or am i missing the point once again? --nicolas -- nico galoppo - tremelo/leuven, belgium - erasmus/socrates student in grenoble, france - 4, rue b=E9ranger -- phone: +33-(0)76-85 23 19 --------------------------------------------------------------- [bash]:~$ man woman nico at crossbar dot net No manual entry for woman debian linux :: vim powered |