If you actually look at the performance of doing it with the action stack vs doing it with custom view helpers you actually see a rise in pages per second served.
Jurian Sluiman wrote:
I have almost the same usage. I create "pages" in XML which are decoupled from the modules. I.e. a contact page uses the module "text" to render some text and the module "contact" for the contact form. A page "Threecolumns" is just as simple as three times the module "text" being called. But there are pages ("blog") which just contains the blog module. I have posted about this issue some time ago, but nobody is able to justify why you shouldn't use the action helper / stack in this context. Of course you shouldn't use the stack for breadcrumbs or other *very simple* placeholders (like your shopping cart inside a storefront module). But these "blocks" where Christian (I think) and I am talking about are much more than some simple placeholders. So I don't seem how you're able to use view helpers with very complex situations. Regards, Jurian
没有评论:
发表评论