Articles tagged with "elements"

Optimizing your CakePHP elements and views with caching

By Tane Piper
As I have developed my CakePHP application, I have discovered new and useful functions every day - and today I want to talk to you about caching, and how easily it can be implemented. When I implemented it on my front page, I went from having 7 database queries down to 1.
[Read more]

Creating Reusable Elements with requestAction

By gwoo
This is a brief tutorial on using requestAction to produce reusable elements. Code samples for 1.1 and 1.2 are provided.
[Read more]

Cache Elements Individually For Each User.

By Ketan
Caching elements in general has been discussed before on bakery and this article takes caching of an element to a higher level. This article explains how to cache elements individually for each user.
[Read more]

Element Helper

By Stefan Zollinger
I needed a simple, yet flexible way for backend users to add certain pre-defined HTML
elements like Youtube videos to posts. I came up with this little
helper that replaces bbcode-like element tags with the contents of an element.
[Read more]