模拟延续。
But the state machine is a nice approach to continuations.
但是,状态机(state machine)是不错的延续方式。
Jetty supports the programming construct known as continuations.
Jetty支持被称作continuations的编程结构。
You don't have to use continuations to capture execution state.
不一定非使用延续来捕获执行状态。
RIFE makes continuations simple and accessible to the everyday Web developer.
RIFE 使延续变得很简单,一般的Web开发人员也能够使用延续。
You can store any Ruby object, even procs, lambdas, threads, continuations.
你可以保存任何Ruby对象,即使是proc、lambda、线程或者continuation。
To use continuations, you need a Web applications server that supports them.
为使用continuation,需要一个支持它们的Web应用程序服务器。
Remember: Seaside is a development framework, including a continuations-based Web server.
记住:Seaside是一个开发框架,包括基于continuation的Web服务器。
You can see that continuations represent a real advancement in Web development frameworks.
您可以看到,延续是Web开发框架中一项真正的技术进步。
With continuations, you can keep the state in a continuation and restore the state on demand.
有了延续,就可以在延续中保存状态并根据需要恢复状态。
The framework handles all of it for you in the form of continuations -- a very powerful concept.
框架以continuation的形式为您处理所有的状态 ——一个非常强大的概念。
The Seaside image has a running version of the Web server and the code for the continuations framework.
seaside映像有一个运行版本的Web服务器和continuation框架的代码。
The framework can identify individual continuations within a URL and store that continuation in the session.
框架可以识别一个URL中的各个延续并将延续存储在会话中。
In two years, most new Web development will use some continuation server or some simulation of continuations.
在两年内,大多数新的Web开发将会使用某种延续服务器或延续的模拟。
In the near future, hardware improvements will make the added resource consumption of continuations less critical.
在不远的将来,硬件的改进会使延续所增加的资源消耗变得无足轻重。
RIFE: RIFE is an innovative framework that uses continuations and many other techniques popular in dynamic languages.
RIFE:RIFE是一种创新性的框架,它使用延续和在动态语言中流行的许多其他技术。
Note: Listing 4 USES backslash characters to indicate line continuations; the characters are not part of the command.
注意:清单4使用反斜杠字符表示连续行;它不是该命令的一部分。
The RIFE framework implements its own continuations, and the WebWork framework uses the RIFE continuations implementation.
RIFE框架实现它自己的延续,而 WebWork 框架使用 RIFE 的延续实现。
It turns out that several languages have continuations-based approaches (see Resources for links to more information about all of them).
有好几种语言都具有基于延续的方法(参见参考资料中的链接以了解关于它们的更多信息)。
The continuations are linked together in a tree structure which allows you to traverse to the different execution steps the way you want.
Continuations以树的结构连接在一起,可以任意访问不同的执行步骤。
The Wee framework is another Ruby framework that has many of the characteristics of a continuation server but doesn't use native language continuations.
Wee框架是另一种Ruby框架,它具有延续服务器的许多特征,但是没有使用本机语言延续。
The only significant feature that we will not implement is continuations – this is consistent with the JRuby project’s position on this feature as well.
只有一个明显的特性我们不打算实现,那就是Continuations——这正好也和JRuby项目在这个特性上的立场保持一致。
So a Web development framework that USES continuations can capture a continuation after processing each request and store it in the session with an identifier.
所以,使用延续的Web开发框架可以在处理每个请求之后捕获一个延续,并用一个标识符将它存储在会话中。
Right now, you'd expect most of the implementations of continuation servers to be in languages that support continuations, and these are not mainstream languages.
目前,大多数延续服务器实现是用支持延续的语言编写的,而这些语言不是主流语言。
These simple list-building instructions form the foundation of recursions, higher-order functions, and even higher-order abstractions like closures and continuations.
这些由列表构建的简单指令构成了递归、高阶函数,甚至是闭包和continuation之类高级抽象的基础。
Long term LindenLabs would like to combine the two techniques, using Mono Tasklets for fast continuations and their technique when continuations need to be serialized.
从长远来看,LindenLabs想要将这两种技术整合起来:使用MonoTasklets实现快速的continuations,使用自己的技术实现需要序列化的continuations。
The results were very impressive; JRuby fibers plus Lukas's continuations performed better than the green-threaded implementation in Ruby 1.9, a feat we'd thought impossible.
其结果令人印象深刻;JRuby纤程加上Lukas做的东西运行起来比Ruby 1.9中的绿色线程实现更好,这让我们觉得有些不可思议。
A framework designer can lessen the expense by using an approach called partial continuations, where the framework saves only the application-specific portion of the continuation.
框架设计者可以利用一种称为部分延续(partial continuations)的方法来降低开销,按照这种方法,框架只保存延续中应用程序特有的部分。
Persevere USES continuations to suspend and resume execution so that asynchronous requests are made to retrieve data from the server (so the browser doesn't lock up because of synchronous requests).
Persevere使用延续(continuation)来挂起和继续执行,以便能够发起异步请求从服务器检索数据(这样一来,浏览器就不会由于同步请求而锁定)。
Persevere USES continuations to suspend and resume execution so that asynchronous requests are made to retrieve data from the server (so the browser doesn't lock up because of synchronous requests).
Persevere使用延续(continuation)来挂起和继续执行,以便能够发起异步请求从服务器检索数据(这样一来,浏览器就不会由于同步请求而锁定)。
应用推荐