[support] Panels or block ?

KOBA | Hans Rossel hans.rossel at koba.be
Mon Mar 1 17:43:14 UTC 2010


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%. 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 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.)
Panels are bypassing most of these which makes it sometimes difficult to
understand when you want to do more advanced stuff. Even blocks are
basically of no use anymore in panels, but unfortunately you cannot disable
them in Drupal 6.

A nice alternative to panels is http://drupal.org/project/ds, which uses a
completely different approach much more sticking to the core architecture of
blocks, fields, ...

Hans



2010/3/1 Michel Morelli <michel at ziobuddalabs.it>

> Shai Gluskin ha scritto:
> > Michel,
> Thanks Shai, I know (a little) "panels" and infact in 10 minutes I have
> create a node of type page (A), a block (from a view based on the
> taxonomy term "class" (from Event vocabulary), html table display type)
> (B) and I have create a node panel page that contains two contents: (A)
> and (B).  In this way my client can modify (A) adding, for example,
> image, video and text. And he can create new "class" in autonomy.
>
> My questions was if this is the best way to make this type of request
> (performance side is rilevant) or there is a better alternative.
>
> 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
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
Hans Rossel
KOBA Webdesign bvba
Beukenlaan 56
9051 Gent (Sint-Denijs-Westrem)
Belgium
BTW 0817.931.516
+32.9.334.52.60
+32.472.79.32.16
www.koba.be
info at koba.be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100301/87752ad1/attachment.html 


More information about the support mailing list