On Jul 9, 3:49 am, Peter De Berdt <[EMAIL PROTECTED]> wrote:

> Although I'm not a very big Flash fan myself, I don't refrain from  
> using the best solution for a certain problem.
>
> For emulating ajax uploads Flash has some serious advantages over an  
> iFrame for example. I'm using SWFUpload in several of our  
> applications with great success.

Sure.  But taking weeks out to introduce a new technology, to the
point I'm comfortable about implementing it in a solution, is not
anywhere near what I'm willing to do.  File uploads with a refresh is
a mere 30 minutes away, if I decide to go there.  When I'm trying to
run a business, the business comes first.  It makes perfect sense.  So
in that respect, Flash, has lost out multiple times, will lose out
multiple times, because I refuse to learn a new technology, and
continue to keep up on a completely new technology.  And no, I won't
take even a day to implement that.  I have more than enough projects
to get into.

> IMHO, the biggest advantage of using a very small Flash movie just  
> for the upload (so not for anything interface related) is that Flash  
> enables you to do client-side checking before uploading the file:  
> maximum filesize, allowed file extensions (greying out unavailable  
> files in the selection dialog), multiple file selection in the  
> selection dialog, reliable upload progress without hammering the  
> server every few seconds ...

Believe me, if the user can't upload the right files, or choose the
right types, then they shouldn't be on my site.

> The serverside checks should still be in place, because you should  
> never trust a user (but in Rails using attachment_fu for example  
> that's just so easy), but at least normal use of your application  
> will limit the options presented BEFORE the file is uploaded, very  
> useful when some users upload movies > 40 MB using their capped  
> upload internet connection at home.
>
> Not trying to convert you to a Flash based solution here, but just  
> pointing out some of the upsides of such a solution to other readers  
> on the list.

And I would also point out that you are only expected to go so far.
There is some responsibility on the part of the user.  I don't spell
check their text submissions, nor do I check the alignment or exposure
of thier photos either.  Again, this is something that I expected to
have working yesterday.  It's a single piece of a project that I don't
intend to investigate for weeks.  If anybody has that amount of time
kicking around (even more than 1 day), then their time management is a
bit questionable.  And, considering that other solutions are very
close to what I currently have, it's just a matter of time before I
can get it done.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to