A component is coupled to the controller, a behavior is coupled to the
model, and a helper is coupled to the view.

Vendors are 3rd-party stand alone scripts.

On Apr 27, 12:50 am, emanuele <emanuel...@gmail.com> wrote:
> is there any chance to use my own component in my own datasource (
> /app/models/datasources/ I need for rest).
> thanks in advance
>
> On Mon, Apr 26, 2010 at 9:18 PM, Emanuele Gringeri 
> <emanuel...@gmail.com>wrote:
>
>
>
> > what's the difference between a component and a vendor?
> > > If you're going to do that you should of written a component instead
>
> > > On Apr 26, 8:17 am, emanuele <emanuel...@gmail.com> wrote:
>
> > >> ok thank u
>
> > >> On Mon, Apr 26, 2010 at 4:59 PM, euromark <dereurom...@googlemail.com
> > >wrote:
>
> > >>> thats not how your vendors are supposed to work
> > >>> you usually pass them the data manually
>
> > >>> like $MyVendorClassObject->doSomething($this->data)
>
> > >>> On 26 Apr., 12:58, emanuele <emanuel...@gmail.com> wrote:
>
> > >>>> Hi guys, is there any chance to access the Controller->data array from
> > >>>> a Vendors Class?
> > >>>> I ve written my own class and I want to access some $variable defined
> > >>>> at the controlloer/model layers.
> > >>>> thanks in advance.
>
> > >>>> Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp
> > others
>
> > >>> with their CakePHP related questions.
>
> > >>>> You received this message because you are subscribed to the Google
> > Groups
>
> > >>> "CakePHP" group.
>
> > >>>> To post to this group, send email to cake-php@googlegroups.com
> > >>>> To unsubscribe from this group, send email to
> > >>>> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>
> > <cake-php%2bunsubscr...@googlegroups.com<cake-php%252bunsubscr...@googlegroups.com>>For
> > more options, visit this group athttp://
>
> > >>> groups.google.com/group/cake-php?hl=en
>
> > >>> Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp
> > others
> > >>> with their CakePHP related questions.
>
> > >>> You received this message because you are subscribed to the Google
> > Groups
> > >>> "CakePHP" group.
> > >>> To post to this group, send email to cake-php@googlegroups.com
> > >>> To unsubscribe from this group, send email to
> > >>> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>
> > <cake-php%2bunsubscr...@googlegroups.com<cake-php%252bunsubscr...@googlegroups.com>>For
> > more options, visit this group at
> > >>>http://groups.google.com/group/cake-php?hl=en
>
> > >> --
> > >> Emanuele Gringeri
> > >> Computer Engineer
> > >> University of Pisa
> > >> Be my mirror, my sword and shield
>
> > >> Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others
> > with their CakePHP related questions.
>
> > >> You received this message because you are subscribed to the Google
> > Groups "CakePHP" group.
> > >> To post to this group, send email to cake-php@googlegroups.com
> > >> To unsubscribe from this group, send email to
> > >> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
> > >>  more options, visit this group athttp://
> > groups.google.com/group/cake-php?hl=en
>
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help
> > others with their CakePHP related questions.
>
> > > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > > To post to this group, send email to cake-php@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
> > >  more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> > --
> > Emanuele Gringeri
> > Computer Engineer
> > University of Pisa
> > Be my mirror, my sword and shield
>
> --
> Emanuele Gringeri
> Computer Engineer
> University of Pisa
> Be my mirror, my sword and shield
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with 
> their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en

Reply via email to