I would agree with Rob on this one.  Since the iCal is not a cache or
other temp file. I would make an extension based view for this.  That
will keep things flexible. And iCal is just a specific way of looking
at the data much like HTML or CSV is.

-Mark

On Nov 11, 11:56 am, Rob <[EMAIL PROTECTED]> wrote:
> In the MVC paradigm, this would still be considered a view, since the
> data is being consumed outside the system.
>
> Remember the whole point of MVC is to isolate the model from the view
> using the controller. teknoid makes a good point that you can create
> data from a model, but if you really want to stick with MVC, you need
> to think about how the data will be used (which to me this sounds like
> you are creating a file that will be pulled from your web server,
> which is essentially the same thing as a web page, just a different
> mime-type).
>
> On Nov 11, 6:20 am, fred <[EMAIL PROTECTED]> wrote:
>
> > > That would be true, if data was meant to be displayed to the user.
> > > If you are writing data to a file, cache or different data source, it
> > > can be handled at the model layer.
>
> > Yes indeed, the data is absolutely not displayed to the user. It is an
> > iCal file that other software can subscribe to.
> > Thanks for you answers guys.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to