Hi, I'd also like to know how to accomplish this.
On Jan 14, 12:34 am, NewbieCaker [EMAIL PROTECTED] wrote:
Hi All,
I am new to CakePHP and have a question regarding modular coding in
cake.
Basically, let's say I am implementing a bookstore, and I want to have
a generic layout that will
I don't know if this is the right way to do things or not
On Jan 24, 2:05 pm, Davy [EMAIL PROTECTED] wrote:
Hi, I'd also like to know how to accomplish this.
On Jan 14, 12:34 am, NewbieCaker [EMAIL PROTECTED] wrote:
Hi All,
I am new to CakePHP and have a question regarding modular
On 1/13/07, NewbieCaker [EMAIL PROTECTED] wrote:
A typical usage of this is the modules concept on Joomla/Mambo...
Well, this ain't Joomla/Mambo now, is it? ;)
Trying to import non-MVC concepts into an MVC framework are difficult
because, well, they're not MVC.
I think dkarlson pointed
I believe the correct way to have self-contained elements is for the
element to perform a requestAction to get the data it needs. If you
have
$data = $this-requestAction( '/books/toplist' );
in your element, and your /books/toplist action is something like
function toplist(){
return
You might try using the requestAction() method which exists in the view
class (and also controller class). This allows you to make requests to
any other controller that you want to envoke, which would make Cake
work in a modular fashion.
robechar.
On Jan 24, 12:44 pm, Chris Hartjes [EMAIL
I want my modules to be totally independent and completely modular,
in an encapsulated way that they
will have their own model/own controller and own view and I just want
to include this as a black box.
I think Cake plugins are the nearest match to this - see the manual: