morellik wrote on 09 okt 2012 in comp.lang.javascript:
> I don't know if what I want to do is related to event driven,
No, it is not. Better start a new thread next time.
> so I
> expose my problem. I'm developing a web portal where people can query
> for metals in biology. The query results can be downloaded but the zip
> file creation keep a long time. I would that when an user click on
> download link, the file creation starts and the user can visit other
> pages inside the portal. When the creation file is finished a message
> or the download box appears on the visiting user's page.
> Is it possible?
Easier is to send them an [serverside generated] email on [serverside]
completion with a temporary link to that zip-file. Serverside garbage
collection of such files seems necessary btw.
Only serverside javascript could be involved to keep this on topic here.
> If yes, which technique I've to learn
The technique advocated in this NG is javascript.
> or which libraries?
Your "or" says it all.
One does only "learn to thrust" libraries, as the act as black boxes.
If you know the library inside out you won't need it, because a dedicated
script is in your reach and is much safer and usually faster as well.
The trust usually is betrayed by lack of quality an consistence, imho.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)