Re: How would I make a site with "modules?"

2006-05-07 Thread the_undefined

I would recommend you to use Plugins. Plugins are mini-apps that rest
inside the app/plugins folder and can have their own controllers,
models, views, etc. If you need your shoutbox data you'd just do:
$this->requestAction('/shoutbox/view');

Unfortunatly there is not a ton of docs on plugins (at least as far as
I know). But some release anouncement contains the basic information
you need to get them going.

Felix, aka the_undefined

http://www.thinkingphp.org


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: How would I make a site with "modules?"

2006-05-07 Thread [EMAIL PROTECTED]

Oh...Question...
Lets says I make an element view - Would I code all the logic inside
that view? Such as a "comment" handler for a shoutbox? Or do I place
that in an alternate file?

I was told in irc to put a file in vendors with all my logic? Is that
correct? Is their any more info on that?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: How would I make a site with "modules?"

2006-05-07 Thread [EMAIL PROTECTED]

Elements seem perfect for the job...Thanks!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: How would I make a site with "modules?"

2006-05-07 Thread Mika

Well you might want to look up layouts and elements in the manual.
http://manual.cakephp.org/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---