Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-06 Thread Pablo R. Digonzelli


Ing. Pablo Digonzelli 
Software Solutions 
IP-Solutiones SRL 
Dividato SA 
25 de Mayo 521 
San Miguel de Tucumán 
Email: pdigonze...@softsargentina.com 
pdigonze...@gmail.com 
Cel: 5493815982714 


De: "stepharong" <stephar...@free.fr> 
Para: "Pablo Digonzelli" <pdigonze...@gmail.com> 
CC: "Steven Costiou" <steven.cost...@kloum.io>, "Any question about pharo is 
welcome" <pharo-users@lists.pharo.org> 
Enviados: Lunes, 6 de Marzo 2017 17:39:08 
Asunto: Re: [Pharo-users] adding messages dinamically to a single instance 
object 

On Mon, 06 Mar 2017 05:19:35 +0100, Pablo R. Digonzelli <pdigonze...@gmail.com> 
wrote: 




Hi Stef. I was reading your link. 
I found it very interesting . 



Black magic is seductive :) 
But it burns your soul :) 
Look like a good black sabbath song 


BQ_BEGIN

I think i will working in that direction having in mind your advise. 
Tia 


Ing. Pablo Digonzelli 
Software Solutions 
IP-Solutiones SRL 
Dividato SA 
25 de Mayo 521 
San Miguel de Tucumán 
Email: pdigonze...@softsargentina.com 
pdigonze...@gmail.com 
Cel: 5493815982714 


De: "stepharong" <stephar...@free.fr> 
Para: "Steven Costiou" <steven.cost...@kloum.io>, "Pablo Digonzelli" 
<pdigonze...@gmail.com>, "Any question about pharo is welcome" 
<pharo-users@lists.pharo.org> 
Enviados: Sábado, 4 de Marzo 2017 6:18:24 
Asunto: Re: [Pharo-users] adding messages dinamically to a single instance 
object 


It is really possible and we are working on a new implementation of talents 
based on anonymous classes. 
Now what you should know is that 
- i would use this mechanism for debugging/tooling 
- i would try to avoid this as much as possible for domain modeling because 
it breaks all the hidden assumptions we have. 

stef 



BQ_BEGIN

Hi Steven . For the moment i just want to understand how it is possible. 
In the future may be i can apply this mechanism for future projects. 

Pablo 


Ing. Pablo Digonzelli 
Software Solutions 
IP-Solutiones SRL 
Dividato SA 
25 de Mayo 521 
San Miguel de Tucumán 
Email: pdigonze...@softsargentina.com 
pdigonze...@gmail.com 
Cel: 5493815982714 


De: "Steven Costiou" <steven.cost...@kloum.io> 
Para: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> 
CC: "Pablo Digonzelli" <pdigonze...@gmail.com> 
Enviados: Viernes, 3 de Marzo 2017 11:03:23 
Asunto: Re: [Pharo-users] adding messages dinamically to a single instance 
object 



Hi, 

could you describe why you need this ? Do you have a usecase ? 

Just interested to know, as i work on similar mechanisms. 

Steven. 



Le 2017-03-03 14:55, Pablo R. Digonzelli a écrit : 
BQ_BEGIN

Thanks Denis, I will take a look . I think this is what i need. 
Tia 

Ing. Pablo Digonzelli 
Software Solutions 
IP-Solutiones SRL 
Dividato SA 
25 de Mayo 521 
San Miguel de Tucumán 
Email: pdigonze...@softsargentina.com 
pdigonze...@gmail.com 
Cel: 5493815982714 


De: "Denis Kudriashov" <dionisi...@gmail.com> 
Para: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> 
Enviados: Viernes, 3 de Marzo 2017 10:11:53 
Asunto: Re: [Pharo-users] adding messages dinamically to a single instance 
object 

Hi. 
Look at project Talents https://github.com/tesonep/pharo-talents . 
Idea is to implement behaviour (also with state) in normal way with classes and 
then dynamically install it to any existing objects 

2017-03-03 14:07 GMT+01:00 Pablo R. Digonzelli < pdigonze...@gmail.com > : 

BQ_BEGIN

Hi all. I need to know how can i do if i want add new behaviour ( a new method 
) to a single instance object of a class. 
It means not to add new selector to the class but i want a single instance 
responds that mesage. 
Where can i read about it? 
Tia 


Ing. Pablo Digonzelli 
Software Solutions 
IP-Solutiones SRL 
Dividato SA 
25 de Mayo 521 
San Miguel de Tucumán 
Email: pdigonze...@softsargentina.com 
pdigonze...@gmail.com 
Cel: 5493815982714 

BQ_END


BQ_END



-- 
kloum.io 


BQ_END



-- 
Using Opera's mail client: http://www.opera.com/mail/ 


BQ_END



-- 
Using Opera's mail client: http://www.opera.com/mail/ 



Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-06 Thread stepharong
On Mon, 06 Mar 2017 05:19:35 +0100, Pablo R. Digonzelli  
<pdigonze...@gmail.com> wrote:



Hi Stef. I was reading your link.
I found it very interesting .


Black magic is seductive :)
But it burns your soul :)
Look like a good black sabbath song


I think i will working in that direction having in mind your advise.
Tia

Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA   25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714

De: "stepharong" <stephar...@free.fr>
Para: "Steven Costiou" <steven.cost...@kloum.io>, "Pablo Digonzelli"  
<pdigonze...@gmail.com>, "Any question about pharo is >welcome"  
<pharo-users@lists.pharo.org>

Enviados: Sábado, 4 de Marzo 2017 6:18:24
Asunto: Re: [Pharo-users] adding messages dinamically to a single  
instance object



It is really possible and we are working on a new implementation of  
talents based on anonymous classes.Now what you should know is that- i  
would use this mechanism for debugging/tooling
- i would try to avoid this as much as possible for domain modeling  
because

it breaks all the hidden assumptions we have.
stef


Hi Steven . For the moment i just want to understand how it is possible. 
In the future may be i can apply this mechanism for future projects.


Pablo

Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA   25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714

De: "Steven Costiou" <steven.cost...@kloum.io>
Para: "Any question about pharo is welcome"  
<pharo-users@lists.pharo.org>

CC: "Pablo Digonzelli" <pdigonze...@gmail.com>
Enviados: Viernes, 3 de Marzo 2017 11:03:23
Asunto: Re: [Pharo-users] adding messages dinamically to a single  
instance  object



Hi,

could you describe why you need this ? Do you have a usecase ?

Just interested to know, as i work on similar mechanisms.

Steven.


Le 2017-03-03 14:55, Pablo R. Digonzelli a écrit :

Thanks Denis, I will take a look . I think this is what  i need.
Tia
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA   25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714

De: "Denis Kudriashov" <dionisi...@gmail.com>
Para: "Any question about pharo is welcome"  
<pharo-users@lists.pharo.org>

Enviados: Viernes, 3 de Marzo 2017 10:11:53
Asunto: Re: [Pharo-users] adding messages dinamically to a single  
instance object


Hi.
Look at project Talents https://github.com/tesonep/pharo-talents.
Idea is to implement behaviour (also with state) in normal way with  
classes and then dynamically install it to any existing objects


2017-03-03 14:07 GMT+01:00 Pablo R. Digonzelli <pdigonze...@gmail.com>:
Hi all. I need to know how can i do if i want add new behaviour ( a  
new method ) to a single instance object of a class.It means not to  
add new selector to the class but i want a single instance responds  
that mesage.Where can i read about it?

Tia

Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA   25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714


--kloum.io





--
Using Opera's mail client: http://www.opera.com/mail/





--
Using Opera's mail client: http://www.opera.com/mail/

Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-06 Thread Hernán Morales Durand
Hola Pablo,

This technique is not something new, it was reported at least +20 years
ago. You can read about it in a SO answer I wrote;
http://stackoverflow.com/a/14202534 where there is a link to a foundational
paper.
Let us know what are you trying to do.

Cheers,

Hernán


2017-03-03 10:07 GMT-03:00 Pablo R. Digonzelli :

> Hi all. I need to know how can i do if i want add new behaviour ( a new
> method ) to a single instance object of a class.
> It means not to add new selector to the class but i want a single instance
> responds that mesage.
> Where can i read about it?
> Tia
>
> --
> *Ing. Pablo Digonzelli*
> Software Solutions
> IP-Solutiones SRL
> Dividato SA
> 25 de Mayo 521
> San Miguel de Tucumán
> Email: pdigonze...@softsargentina.com
> pdigonze...@gmail.com
> Cel: 5493815982714
>


Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-04 Thread stepharong


It is really possible and we are working on a new implementation of  
talents based on anonymous classes.

Now what you should know is that
- i would use this mechanism for debugging/tooling
- i would try to avoid this as much as possible for domain modeling because
it breaks all the hidden assumptions we have.

stef


Hi Steven . For the moment i just want to understand how it is possible. 
In the future may be i can apply this mechanism for future projects.


Pablo

Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA   25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714

De: "Steven Costiou" <steven.cost...@kloum.io>
Para: "Any question about pharo is welcome" <pharo-users@lists.pharo.org>
CC: "Pablo Digonzelli" <pdigonze...@gmail.com>
Enviados: Viernes, 3 de Marzo 2017 11:03:23
Asunto: Re: [Pharo-users] adding messages dinamically to a single  
instance  object



Hi,

could you describe why you need this ? Do you have a usecase ?

Just interested to know, as i work on similar mechanisms.

Steven.


Le 2017-03-03 14:55, Pablo R. Digonzelli a écrit :

Thanks Denis, I will take a look . I think this is what  i need.
Tia
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA   25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714

De: "Denis Kudriashov" <dionisi...@gmail.com>
Para: "Any question about pharo is welcome"  
<pharo-users@lists.pharo.org>

Enviados: Viernes, 3 de Marzo 2017 10:11:53
Asunto: Re: [Pharo-users] adding messages dinamically to a single  
instance object


Hi.
Look at project Talents https://github.com/tesonep/pharo-talents.
Idea is to implement behaviour (also with state) in normal way with  
classes and then dynamically install it to any existing objects


2017-03-03 14:07 GMT+01:00 Pablo R. Digonzelli <pdigonze...@gmail.com>:
Hi all. I need to know how can i do if i want add new behaviour ( a  
new method ) to a single instance object of a class.It means not to  
add new selector to the class but i want a single instance responds  
that mesage.Where can i read about it?

Tia

Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA   25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714


--kloum.io





--
Using Opera's mail client: http://www.opera.com/mail/

Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-04 Thread stepharong

Pablo I would not use talents.

You can use an anonymous classes.


Have a look at the chapter of

https://ci.inria.fr/pharo-contribution/view/Books/job/BuildingLanguageKernels/4/artifact/build/book.pdf




Thanks Denis, I will take a look . I think this is what  i need.

Tia

Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA   25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714

De: "Denis Kudriashov" <dionisi...@gmail.com>
Para: "Any question about pharo is welcome" <pharo-users@lists.pharo.org>
Enviados: Viernes, 3 de Marzo 2017 10:11:53
Asunto: Re: [Pharo-users] adding messages dinamically to a single  
instance object


Hi.
Look at project Talents https://github.com/tesonep/pharo-talents.
Idea is to implement behaviour (also with state) in normal way with  
classes and then dynamically install it to any existing objects


2017-03-03 14:07 GMT+01:00 Pablo R. Digonzelli <pdigonze...@gmail.com>:
Hi all. I need to know how can i do if i want add new behaviour ( a new  
method ) to a single instance object of a class.It means not to add new  
selector to the class but i want a single instance responds that mesage. 
Where can i read about it?

Tia

Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA   25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714






--
Using Opera's mail client: http://www.opera.com/mail/

Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-03 Thread Pablo R. Digonzelli
Hi Steven . For the moment i just want to understand how it is possible. 
In the future may be i can apply this mechanism for future projects. 

Pablo 


Ing. Pablo Digonzelli 
Software Solutions 
IP-Solutiones SRL 
Dividato SA 
25 de Mayo 521 
San Miguel de Tucumán 
Email: pdigonze...@softsargentina.com 
pdigonze...@gmail.com 
Cel: 5493815982714 


De: "Steven Costiou" <steven.cost...@kloum.io> 
Para: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> 
CC: "Pablo Digonzelli" <pdigonze...@gmail.com> 
Enviados: Viernes, 3 de Marzo 2017 11:03:23 
Asunto: Re: [Pharo-users] adding messages dinamically to a single instance 
object 



Hi, 

could you describe why you need this ? Do you have a usecase ? 

Just interested to know, as i work on similar mechanisms. 

Steven. 



Le 2017-03-03 14:55, Pablo R. Digonzelli a écrit : 


Thanks Denis, I will take a look . I think this is what i need. 
Tia 

Ing. Pablo Digonzelli 
Software Solutions 
IP-Solutiones SRL 
Dividato SA 
25 de Mayo 521 
San Miguel de Tucumán 
Email: pdigonze...@softsargentina.com 
pdigonze...@gmail.com 
Cel: 5493815982714 


De: "Denis Kudriashov" <dionisi...@gmail.com> 
Para: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> 
Enviados: Viernes, 3 de Marzo 2017 10:11:53 
Asunto: Re: [Pharo-users] adding messages dinamically to a single instance 
object 

Hi. 
Look at project Talents https://github.com/tesonep/pharo-talents . 
Idea is to implement behaviour (also with state) in normal way with classes and 
then dynamically install it to any existing objects 

2017-03-03 14:07 GMT+01:00 Pablo R. Digonzelli < pdigonze...@gmail.com > : 

BQ_BEGIN

Hi all. I need to know how can i do if i want add new behaviour ( a new method 
) to a single instance object of a class. 
It means not to add new selector to the class but i want a single instance 
responds that mesage. 
Where can i read about it? 
Tia 


Ing. Pablo Digonzelli 
Software Solutions 
IP-Solutiones SRL 
Dividato SA 
25 de Mayo 521 
San Miguel de Tucumán 
Email: pdigonze...@softsargentina.com 
pdigonze...@gmail.com 
Cel: 5493815982714 




BQ_END



-- 
kloum.io 



Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-03 Thread Steven Costiou
Hi, 

could you describe why you need this ? Do you have a usecase ? 

Just interested to know, as i work on similar mechanisms. 

Steven. 

Le 2017-03-03 14:55, Pablo R. Digonzelli a écrit :

> Thanks Denis, I will take a look . I think this is what  i need. 
> 
> Tia 
> 
> -
> ING. PABLO DIGONZELLI
> Software Solutions
> IP-Solutiones SRL 
> Dividato SA
> 25 de Mayo 521 
> San Miguel de Tucumán 
> Email: pdigonze...@softsargentina.com
> pdigonze...@gmail.com
> Cel: 5493815982714 
> 
> -
> 
> DE: "Denis Kudriashov" <dionisi...@gmail.com>
> PARA: "Any question about pharo is welcome" <pharo-users@lists.pharo.org>
> ENVIADOS: Viernes, 3 de Marzo 2017 10:11:53
> ASUNTO: Re: [Pharo-users] adding messages dinamically to a single instance 
> object 
> 
> Hi.
> Look at project Talents https://github.com/tesonep/pharo-talents. 
> Idea is to implement behaviour (also with state) in normal way with classes 
> and then dynamically install it to any existing objects 
> 
> 2017-03-03 14:07 GMT+01:00 Pablo R. Digonzelli <pdigonze...@gmail.com>:
> 
>> Hi all. I need to know how can i do if i want add new behaviour ( a new 
>> method ) to a single instance object of a class.  
>> It means not to add new selector to the class but i want a single instance 
>> responds that mesage.  
>> Where can i read about it? 
>> Tia 
>> 
>> -
>> ING. PABLO DIGONZELLI
>> Software Solutions
>> IP-Solutiones SRL 
>> Dividato SA
>> 25 de Mayo 521 
>> San Miguel de Tucumán 
>> Email: pdigonze...@softsargentina.com
>> pdigonze...@gmail.com
>> Cel: 5493815982714

-- 
kloum.io 

Re: [Pharo-users] adding messages dinamically to a single instance object

2017-03-03 Thread Denis Kudriashov
Hi.

Look at project Talents https://github.com/tesonep/pharo-talents.
Idea is to implement behaviour (also with state) in normal way with classes
and then dynamically install it to any existing objects

2017-03-03 14:07 GMT+01:00 Pablo R. Digonzelli :

> Hi all. I need to know how can i do if i want add new behaviour ( a new
> method ) to a single instance object of a class.
> It means not to add new selector to the class but i want a single instance
> responds that mesage.
> Where can i read about it?
> Tia
>
> --
> *Ing. Pablo Digonzelli*
> Software Solutions
> IP-Solutiones SRL
> Dividato SA
> 25 de Mayo 521
> San Miguel de Tucumán
> Email: pdigonze...@softsargentina.com
> pdigonze...@gmail.com
> Cel: 5493815982714
>