使用AJAX进度条长时间运行的Plone操作 [英] Long running Plone operation with AJAX progress bar

查看:92
本文介绍了使用AJAX进度条长时间运行的Plone操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想运行的需要很长时间才能完成(分钟)在Plone任务。因为我可以present使用AJAX进度条任务的持续时间。

I'd like to run tasks in Plone which take long time to complete (minutes). For the duration of the task I could present a progress bar using AJAX.

是否有任何现成的Plone库/插件,让你序列化的任务条,并自动给AJAX状态报告,而不需要手动拆分和维护服务器的长时间运行的任务状态?

Are there any ready Plone libraries / add-ons which allow you to serialize task to pieces and give AJAX status report automatically, without need to manually split and maintain the long running task state on the server?

例如。

  • 您开始用start()方法的任务

  • You start the task with start() method

任务给的getStatus具有()或类似的状态

Task gives status with getStatus() or similar

框架将处理使得这项任务异步和具有前端code跟着任务状态

Framework will handle making the task asynchronous and has front-end code to follow the task status

推荐答案

netsight.async 可以做到这一点。

这篇关于使用AJAX进度条长时间运行的Plone操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆