Welcome to MVCForge!
A social news site written by programmers for programmers who build applications using MVC Frameworks like CodeIgniter, CakePHP, Ruby on rails, Django and more.

element

4

When to use element() and when to requestAction()

http://www.endyourif.com

Several times a week it seems, someone at my office is asking, “Jamie, should I use $this->element() or $this->requestAction()?”

Every time they ask, I ask them back, “What do you need to do?”

There are a few simple ways to determine if using an element is better or a request action is better.

More »
endyourif's picture
Created by endyourif 1 year 19 weeks ago – Made popular 1 year 19 weeks ago
Category: cakephp   Tags: