From: Michael Neumann Date: 2005-01-14T09:51:00+09:00 Subject: Re: [ANN] Nemo 0.1.0 + Wee 0.4.0 itsme213 wrote: > "Michael Neumann" wrote > > >>>Are you recommending that continuations not be used? due to gc issues? > > other > >>>reasons? >> >>Exactly! > > > Is the only alternative an explicit request/response style, or is there some > other way you discovered to get a "straight-line code" style even without > continuations? Everything Wee currently supports works without continuations, except what I describe below. I'm not sure whether it is possible to implement the live-updates without continuations as I've not yet gave this a thought. But there's no problem to register a direct-handler of a component, which gets called by a URL directly (not traversing the components tree) and which returns a response. That should be super easy. > How about the browser-back button? Works without continuations? Works without continuations. The only thing continuations are currently used for is: der render r.anchor.callback { do_something }.with('click here') end def do_something if call(ConfirmDialog.new('Really Quit?')) call InformDialog.new('Bye bye') else call InformDialog.new('Continue working') end end Without continuations, you have to write: def do_something call(ConfirmDialog.new('Really Quit?'), :confirm) end def confirm(quit) if quit call InformDialog.new('Bye bye') else call InformDialog.new('Continue working') end end This example above is just fine without continations, but image a more complex example. > And what features from IOWA do you miss in Wee? Well, I'm not missing anything in Wee ;-) But I could need some support, especially writing components. Wee's model is a bit more expensive I guess, but on the other hand, IOWA could profit from Wee's clean model. And Wee could profit from IOWA, if there are more people using it ;-) Regards, Michael