Continuation
programming technique in Dynamic Language-s - use for WebApp?
A "continuation" is a program flow control construct most commonly associated with constructs like Generator-s, Closure-s, and Co Routine-s. Specifically, a continuation is the capturing of the current context of execution or "place in the code" (stack or stack-frame, lexical scope, and position within the function or method) so that one can return to that location in the code and resume execution from that point forward.
Ian Bicking: http://blog.ianbicking.org/continuations-a-concrete-approach.html (w Phillip J Eby)
http://www.ps.uni-sb.de/~duchier/python/continuations.html
http://mail.python.org/pipermail/python-list/2005-January/258469.html
http://www-128.ibm.com/developerworks/opensource/library/os-lightweight9/
http://www.manageability.org/blog/stuff/web-based-continuations/view
http://radio.weblogs.com/0102385/2003/08/30.html
relating to ReST/Scalability
-
http://www.findinglisp.com/blog/2004/11/web-application-design-rest-of-story.html - esp on Paul Graham's use of Closure-s
-
http://www.findinglisp.com/blog/2004/11/more-rest-and-continuations.html
-
http://www.cincomsmalltalk.com/userblogs/avi/blogView?showComments=true&entry=3256899497
-
http://www.franklinmint.fm/blog/archives/000353.html - Sam Ruby comments: It is possible to build a RESTful application using continuations. My point is that it not only is possible to build a non-RESTful application using continuations, continuations make it temptingly easy to do so. If your goal is only to scale up to the dozens or hundreds of simultaneous users, this may not be a concern.
Edited: | Tweet this! | Search Twitter for discussion