Hey, Component is the C (not exactly but its an extension to the C layer;) in MVC and you should avoid mixing the 3 layers. in some _very_ rare cases it's allowed (that's why the possiblity exists) Maybe you want to use behaviors ?
Apart from that this topic was brought up many times. HTH, On Sat, Jun 21, 2008 at 2:45 PM, dominik <[EMAIL PROTECTED]> wrote: > > Hello, > according to the manual, it is generally not recommended to access > models from components: > > "To access/use a model in a component is not generally recommended;" > > Why is that? > > I am looking for a way to cleanly create a framework for my new apps. > That framework should contain functions e.g. for billing and > accounting. > > So, is it a smart way to capsule these functions into Cake > components? > > I dont want to run in a trap as future versions of cake may lose model > access for design reasons. > > Thank you! > > > > -- Marcin Domanski http://kabturek.info --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
