[support] Panels or block ?

Michel Morelli michel at ziobuddalabs.it
Tue Mar 2 08:48:43 UTC 2010


KOBA | Hans Rossel ha scritto:
> I remember that Earl Miles admitted during his presentation of Panels 
> 3 during one of the last Drupalcons that there was quite a performance 
> issue with Panels of if I remember correctly 12%.
12% is not so bad. And in my case is active only for a few page/node.

> Its a huge module with lots of options, but I would only use it if you 
> construct the whole site on the panel principles and use them then 
> intensively. Maybe if you are bad at theming and have a lot of 
> homepage like pages with interconnected related content it could be 
> useful.
I'm not bad at theming, but I need a way to permit to my client to 
change the content of a page/node (A), and at the bottom of this page I 
need to display a list of events (B). So, there are 2 options: use 
"panel" and create a "panel page" that contains (A) and (B) or create a 
page/node (A) and use block system to add (B) at the bottom of the page. 
I can have a few of this situations, so if I use "block system" I will 
have a region (bottom content) with few useless block for more and more 
page, and for every pages Drupal need to found which blocks must to be 
included.



> I try to avoid panels and just use template files, blocks, views 
> arguments, which is the normal Drupal approach and obviously faster 
> than adding an extra huge module. (Just make sure you set block 
> visibility settings very well for each block so they are not 
> calculated on pages where they are not needed.)
But for every page that Drupal need to create the system need to found 
which blocks must to be included. Ok, some numbers: say only 50K of 1.5M 
page views needs a block at the end (in the "bottom content" region). 
So, for ~1.450M page views the system check for every blocks in the 
"bottom content" region to see if  some blocks need to be included but 
the reply is always "no". Or the system is so smart that don't make this 
check for every page ?

M.

-- 
Michel 'ZioBudda' Morelli                       michel at ziobuddalabs.it
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ziodrupal.net       			MSN: michel at ziobuddalabs.it                   
						JABBER: michel at ziobuddalabs.it



More information about the support mailing list