cakephp.saint

It seems like your strategy could work. But it sounds like you are
asking a question of 'style'. I don't think Helpers are meant to have
this kind of logic in them. I believe they are meant to simplify
output to your views.

A Component might be a better choice to do the query logic. Or you
might want to put this logic in AppController.

Once the Component or Controller logic is finished I think an Element
or Helper would be the natural choice to create the html fragment you
want for your page.

Regards,
Don

On May 13, 12:05 am, "CakePHP.Saint" <[email protected]>
wrote:
> Hi I plan to display images in view files through out the site so can
> i import the model and write the query in app_helper file???
>
> Are its a Good format to write find query in app_helper especially in
> cakephp?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to