Without discussing the pros/cons of whether to use blobs in the 1st
place, one point to note is that with caching, the binary data will
get served from the file system in most cases anyway.

On Apr 15, 9:08 am, Rufus <[email protected]> wrote:
> The images are from 4-20k max and it seems pretty darn speedy. Also
> the web app is just a management portal for an advertising widget, so
> it will only be used by 3 or 4 people at any one time.
>
> So I think nobody can argue that it is not ok to store it as a blob in
> this situation?
>
> On Apr 15, 2:04 am, brian <[email protected]> wrote:
>
> > 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