Articles tagged with "elements"
Optimizing your CakePHP elements and views with caching
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
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.
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
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] 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.
Latest Comments