Avoid placing logic in your view. Will save you a lot of trouble later
on.

You might want to create a component and call it thereafter in
controllers. Set all the variables you need to use in the view, but
having your business logic in the view is a violation of the MVC
structure.

Also, a great advantage of this is that your Facebook code will be
easy to reuse for all of your future web-apps!

On Jul 10, 10:44 pm, Prabha Vathi <[email protected]> wrote:
> Yes
>
> I used Graph API. I didn't do it as a plugin. It is part of controller and
> view. Working good for me.

-- 
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