Записи за March, 2016

Perl CGI: How to asynchronously upload multiple files

Monday, March 14th, 2016

If you pass by then just pass by.

Alexey Ivanov «Dormitory-on-Blood»

async

This is a quite frequently used control in the modern web UIs. The user just selects file or files as usual but then he has no need to submit the form and wait for the page to reload. The files are uploaded immediately by Ajax and the result can be seen immediately too.

jQuery makes this task trivial from the frontend point of view but the server side is not so clear. Especially if you use Perl. So I will try eliminate the lack of information with this small post.

(more…)

Метки: ,
Категория: Perl, Web-dev | 2 Комментариев »