if you just need to write some data to the file system, you can do it right in the model.
...and in controller you could call it, like: $this->ModelName->exportAsiCal(); On Nov 10, 12:05 pm, fred <[EMAIL PROTECTED]> wrote: > Hello, > > I am new to CakePHP and MVC. I have created models to access a MySQL > database. Perfect. Now I need to export some date in an iCal file > format. I was wondering where to place that code in order to respect > the MVC paradigm : in a controller or in a model? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
