Skip to content

Commit

Permalink
Restructure Upload Progress Bars
Browse files Browse the repository at this point in the history
- Removed dropzone.js, it hasn't been around long enough, maybe we need
  to update this in two years again.
- jQuery should be a proper rst link.
  • Loading branch information
untitaker committed Mar 4, 2015
1 parent 9a61e7d commit 0a492a0
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions docs/patterns/fileuploads.rst
Original file line number Diff line number Diff line change
Expand Up @@ -168,19 +168,17 @@ client asks the server every 5 seconds how much it has transmitted
already. Do you realize the irony? The client is asking for something it
should already know.

Now there are better solutions that work faster and are more reliable. There
are JavaScript libraries like jQuery (http://jQuery.com) that have form plugins
to ease the construction of progress bar. Another great option is dropzone.js
(http://www.dropzonejs.com) that allows users to drag and drop files on to the
page.


An Easier Solution
------------------

Now there are better solutions that work faster and are more reliable. There
are JavaScript libraries like jQuery_ that have form plugins to ease the
construction of progress bar.

Because the common pattern for file uploads exists almost unchanged in all
applications dealing with uploads, there is a Flask extension called
`Flask-Uploads`_ that implements a full fledged upload mechanism with
white and blacklisting of extensions and more.
applications dealing with uploads, there is also a Flask extension called
`Flask-Uploads`_ that implements a full fledged upload mechanism with white and
blacklisting of extensions and more.

.. _jQuery: https://jquery.com/
.. _Flask-Uploads: http://pythonhosted.org/Flask-Uploads/

0 comments on commit 0a492a0

Please sign in to comment.