Re: [Pharo-users] Spec "bindings"

2017-10-03 Thread Stephane Ducasse
Hi rob we are discussing in Peter and reading your solution. Now about your example, I think that the Presenter >> subject: aDomainObject subjectHolder := aDomainObject asValueHolder We should not have countHolder in the domain object. In the domain object we should only have the domain and

Re: [Pharo-users] Spec "bindings"

2017-09-30 Thread Stephane Ducasse
Hi rob I wrote this missing chapter and I think that it exhibits the changes you wanted to introduce. So let me know. Stef On Sat, Sep 30, 2017 at 9:13 AM, Stephane Ducasse wrote: > Hi rob > > where can I find your code because I'm really thinking that something > is missing in Spec. > I'm wri

Re: [Pharo-users] Spec "bindings"

2017-09-30 Thread Stephane Ducasse
Hi rob where can I find your code because I'm really thinking that something is missing in Spec. I'm writing a little editor for a gameItem and I should go through and I would like to use it as an example of what I do not like. In fact I would like to have all the models to work on aspect of the d

Re: [Pharo-users] Spec "bindings"

2017-09-10 Thread Stephane Ducasse
Good luck because this is heavy after a while. I'm finishing a first full version of the book for the prague lecture as well as all the slides (done) now working on exercises tedious because also a long term effort. On Sat, Sep 9, 2017 at 10:51 PM, Rob Rothwell wrote: > > > On Sat, Sep 9, 201

Re: [Pharo-users] Spec "bindings"

2017-09-09 Thread Rob Rothwell
On Sat, Sep 9, 2017 at 5:06 AM, Stephane Ducasse wrote: > Hi Rob > > I discussed with peter and I hope that he has more and younger > braincells than me. I'm *super* busy with lectures > preparation, workshop preparation and business issues. So I would love > to get some time to get conce

Re: [Pharo-users] Spec "bindings"

2017-09-09 Thread Rob Rothwell
On Sat, Sep 9, 2017 at 7:11 AM, Peter Uhnak wrote: > Hi Rob, > > I'm making a note to look at your proposals and I will discuss it with > Stef later. > Thanks, Peter, I appreciate any insights you can offer. I will continue experimenting, and just wanted to make sure I figured out how to share

Re: [Pharo-users] Spec "bindings"

2017-09-09 Thread Peter Uhnak
Hi Rob, I'm making a note to look at your proposals and I will discuss it with Stef later. > > he has more and younger braincells than me But not enough connections between them. The cells just sit there alone and are not talking to anyone. :( Peter

Re: [Pharo-users] Spec "bindings"

2017-09-09 Thread Stephane Ducasse
Hi Rob I discussed with peter and I hope that he has more and younger braincells than me. I'm *super* busy with lectures preparation, workshop preparation and business issues. So I would love to get some time to get concentrated but not before beginning of October at the minimum. May be wh

Re: [Pharo-users] Spec "bindings"

2017-09-08 Thread Rob Rothwell
On Fri, Sep 8, 2017 at 1:24 AM, Stephane Ducasse wrote: > I like the idea about your extension. > We should really get it so that we understand it. > I published some experiments on smalltalkhub in a project called "Spec-Bindings" (owner RobRothwell) that loads into a clean 6.1-64 image. It jus

Re: [Pharo-users] Spec "bindings"

2017-09-07 Thread Stephane Ducasse
I like the idea about your extension. We should really get it so that we understand it. >> > countLabel initializeSubject: subject countHolder >> > > > You're welcome. Thank you very much for your time--it's helpful to know > there probably isn't some sophisticated wizardly way to do this that

Re: [Pharo-users] Spec "bindings"

2017-09-07 Thread Rob Rothwell
On Thu, Sep 7, 2017 at 2:12 AM, Stephane Ducasse wrote: > > Hi Stef, > > > > I think you are correct and you would still always perform actions like: > > > > initializeWidgets (to create components and sub-components) > > initializePresenter (to define interactions between components) > > > > > >

Re: [Pharo-users] Spec "bindings"

2017-09-06 Thread Stephane Ducasse
> Hi Stef, > > I think you are correct and you would still always perform actions like: > > initializeWidgets (to create components and sub-components) > initializePresenter (to define interactions between components) > > > But, there could also be a third initialization step like > > initializeSub

Re: [Pharo-users] Spec "bindings"

2017-09-06 Thread Rob Rothwell
Hi Stef, I think you are correct and you would still always perform actions like: initializeWidgets (to create components and sub-components) initializePresenter (to define interactions between components) But, there could also be a third initialization step like initializeSubject: aSubjectMod

Re: [Pharo-users] Spec "bindings"

2017-09-05 Thread Stephane Ducasse
Rob Spec deserves another pass. I see your point with showOn: now I do not see how you could avoid the presenter building. But may be I'm not enough into it. So I'm interested in your feedback. Stef Stef On Tue, Sep 5, 2017 at 8:49 PM, Rob Rothwell wrote: > Hello, > > I was wondering what more

[Pharo-users] Spec "bindings"

2017-09-05 Thread Rob Rothwell
Hello, I was wondering what more experienced users than myself thought of the idea of an explicit Spec "connection point" to a domain model object similar to Dolphin's "showOn:" method, like: CounterApp showOn: counter. This would perhaps trigger something like Dolphin's Presenter>>model: messag