No, No logic in view, I have written the login in users_controller is that okay? I didnt use component too
On Mon, Jul 11, 2011 at 10:12 AM, Angad Nadkarni <angad.nadka...@gmail.com>wrote: > 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 <prabha.ridd...@gmail.com> 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 > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- -- Prabhavathi -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php