[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-25 Thread marius d.
I understand your thoughts David ... but I'm not convinced that Java serialization is the way to go. A more efficient serialization of the dependency graph sounds more appropriate but also quite complex. Br's, Marius On Aug 25, 12:42 am, David Pollak feeder.of.the.be...@gmail.com wrote: On

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-24 Thread marius d.
On Aug 24, 12:06 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Sun, Aug 23, 2009 at 10:45 AM, marius d. marius.dan...@gmail.com wrote: Hmmm .. I'm wondering if we can write a Scala compiler plugin that transform functions provided to Lift's S/SHtml function etc. into a richer

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-24 Thread Viktor Klang
Please ignore the fact that my keyboard seems to be full of shite... On Mon, Aug 24, 2009 at 9:39 AM, Viktor Klang viktor.kl...@gmail.comwrote: On Mon, Aug 24, 2009 at 8:13 AM, marius d. marius.dan...@gmail.comwrote: On Aug 24, 12:06 am, David Pollak feeder.of.the.be...@gmail.com wrote:

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-24 Thread Viktor Klang
On Mon, Aug 24, 2009 at 8:13 AM, marius d. marius.dan...@gmail.com wrote: On Aug 24, 12:06 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Sun, Aug 23, 2009 at 10:45 AM, marius d. marius.dan...@gmail.com wrote: Hmmm .. I'm wondering if we can write a Scala compiler plugin

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-24 Thread marius d.
On Aug 24, 10:39 am, Viktor Klang viktor.kl...@gmail.com wrote: On Mon, Aug 24, 2009 at 8:13 AM, marius d. marius.dan...@gmail.com wrote: On Aug 24, 12:06 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Sun, Aug 23, 2009 at 10:45 AM, marius d. marius.dan...@gmail.com wrote:

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-24 Thread marius d.
Just a FYI. I briefly talked with Martin and he said this idea is possible but quite tricky. Stephane Micheloud did something similar and he may share some of his work. I'm waiting some feedback from him. Br's, Marius On Aug 24, 10:46 am, marius d. marius.dan...@gmail.com wrote: On Aug 24,

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-24 Thread David Pollak
On Mon, Aug 24, 2009 at 12:36 PM, marius d. marius.dan...@gmail.com wrote: Just a FYI. I briefly talked with Martin and he said this idea is possible but quite tricky. Stephane Micheloud did something similar and he may share some of his work. I'm waiting some feedback from him. I think we

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-24 Thread Meredith Gregory
David, Can one leave proxies in place for things that are not actually serializable? Best wishes, --greg On Mon, Aug 24, 2009 at 12:55 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Aug 24, 2009 at 12:36 PM, marius d. marius.dan...@gmail.comwrote: Just a FYI. I briefly

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-24 Thread David Pollak
On Mon, Aug 24, 2009 at 12:58 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: David, Can one leave proxies in place for things that are not actually serializable? Anything that's marked serializable should be... and it's up to the thing that marks itself as serialiable to create a

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread marius d.
Changed the thread subject ... Marius On Aug 22, 6:17 pm, marius d. marius.dan...@gmail.com wrote: Great thing Dave. Roughly having a bound function f that user provided say in an ajaxButton call.The function f may hold references to other functions, session/request-vars,  references to

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread Kevin Wright
I'm wondering if we can't leverage JavaSpaces to handle a lot of this stuff. From my experience with the technology it seems to be a pretty good fit for the problem. On Sun, Aug 23, 2009 at 11:06 AM, marius d. marius.dan...@gmail.com wrote: Changed the thread subject ... Marius On Aug

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread marius d.
I've been playing with JINI a few years ago a liked it a lot (not a simple programming model, but JavaSpace reduces a lot of such complexity) but I'm not sure how fitful it really is in stax like environments where broadcast UDP may not be supported so discovery service would be more difficult.

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread Kevin Wright
I guess JGroups is another alternative here, it's a bit lower level, but does let you set up nodes manually - so it's not an issue that you need UDP broadcast (although it helps...) On Sun, Aug 23, 2009 at 1:09 PM, marius d. marius.dan...@gmail.com wrote: I've been playing with JINI a few

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread David Pollak
On Sun, Aug 23, 2009 at 4:50 AM, Kevin Wright kev.lee.wri...@googlemail.com wrote: I'm wondering if we can't leverage JavaSpaces to handle a lot of this stuff. From my experience with the technology it seems to be a pretty good fit for the problem. Two reasons: - JavaSpaces is as far as I

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread Arthur
On Sun, Aug 23, 2009 at 7:04 PM, David Pollakfeeder.of.the.be...@gmail.com wrote: On Sun, Aug 23, 2009 at 4:50 AM, Kevin Wright kev.lee.wri...@googlemail.com wrote: I'm wondering if we can't leverage JavaSpaces to handle a lot of this stuff.  From my experience with the technology it seems

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread marius d.
Hmmm .. I'm wondering if we can write a Scala compiler plugin that transform functions provided to Lift's S/SHtml function etc. into a richer FunctionX implementation that knows how to serialize it's members. We could restrict the types that as LiftSerializable on top of primitives, Calenars,

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread Kevin Wright
Also FlyObjectSpace (http://www.flyobjectspace.com/) It comes with a suitable licence and has a Scala version. Not used it myself but I'm definitely about to check it out... I'd also be willing to be that the devs would be extremely accommodating if it were being used in a high profile project

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread marius d.
On Aug 23, 9:47 pm, Ryan Donahue donahu...@gmail.com wrote: Marius, this sound like a very good idea.  This would allow the app developer to decide whether to spend the extra time thinking about serialization/session replication.  If you don't need it, then you don't use the compiler plugin

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread Ryan Donahue
Marius, this sound like a very good idea. This would allow the app developer to decide whether to spend the extra time thinking about serialization/session replication. If you don't need it, then you don't use the compiler plugin and just continue building lift apps as you have been. If you do

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread marius d.
Sure thing Greg. On Aug 23, 9:59 pm, Meredith Gregory lgreg.mered...@gmail.com wrote: Marius, This is closely related to the proposal to deal with http streams via delimited continuations. Sorry i haven't fleshed this out a bit. Let me put my thoughts on paper/pseudo code and email it out

[Lift] Re: Notes from 8/19/09 Lift Committers Call - LIFT SESSION REPLICATION DISCUSSION

2009-08-23 Thread David Pollak
On Sun, Aug 23, 2009 at 10:45 AM, marius d. marius.dan...@gmail.com wrote: Hmmm .. I'm wondering if we can write a Scala compiler plugin that transform functions provided to Lift's S/SHtml function etc. into a richer FunctionX implementation that knows how to serialize it's members. We could