On Tue, Apr 14, 2009 at 3:45 AM, burzum <[email protected]> wrote:
>
> You should use the MediaView class (see API documentation) to send or
> display the file data.

I hadn't thought of that. I suppose it would need to be overloaded,
though, to deal with data from the DB.

> And files should not be stored in a database in
> the case of a web app.

That's a matter of opinion (and use-case). I certainly wouldn't do
that for regular images but there are legitimate reasons for storing
some files in a DB.

--~--~---------~--~----~------------~-------~--~----~
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