Home ›
DrupalConDC The Future of CallbacksDrupalConDC The Future of Callbacks
Submitted by Benjamin Melançon on March 10, 2009 - 12:32pm
Chx presenting.
Menus and block is similar
- Page matcher (admin/* or admin/% oh well hmm)
- Multiple ways to control access
- D7: Just pieces of the page array
In Drupal7 the whole page is a renderable array, and the regions are just pieces of the page array. The center, content region is handled by the menu system, and the other regions are
They are so similar I will dare to say that they have duplicated code.
So let's unify them.
- Pick the pipes that match the page.
- Filter them with roles.
- Run the pipe.
For the first two steps, do this from the database to be able to select a small number of them.
Open problems:
Partial caching (instead of just full page caching), but cache what?
Comments
Post new comment