On 7/13/07, Gorka <[EMAIL PROTECTED]> wrote:
>
>
> imageUpload, videoUpload, docUpload, spreadsheetUpload, ... classes.
> Thoughts?
>

IME most often the functions which act on the file at the time of upload are
also needed in, to coin a phrase, non upload situations. To give an example
you create thumbnails while uploading but you could also want to re-create
different sized thumbnails some other time - if your resize code was
contained in a behavior it will not be much help.

So after making a generic upload class it can be left to users to extend it
to suit their needs using - vendor classes, stand-alone code, components or
chicken entrails - Of course everyone loves examples though :)

Tarique

-- 
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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