Hi Malcolm
Many thanks for your verbose answer, i have to think the way i will
represent this. By the moment i don't have instance variables over the
state objects, so i was thinking that i could store the state "name"
and make a getter using something like a Factory. How much awful seem
to you
Hi Malcolm
In my design i have a class called publication, that behaves
different depending on the "state", so i have an state hierarchy that
implement via polymorphism the different ways the publication behaves.
I have been reading the djangobook and searching the net, looking a
way to
On Sun, 2007-10-28 at 20:18 +1100, Malcolm Tredinnick wrote:
> On Sun, 2007-10-28 at 08:43 +, [EMAIL PROTECTED] wrote:
> > Hi Malcolm
> > In my design i have a class called publication, that behaves
> > different depending on the "state", so i have an state hierarchy that
> > implement via
On Sun, 2007-10-28 at 08:43 +, [EMAIL PROTECTED] wrote:
> Hi Malcolm
> In my design i have a class called publication, that behaves
> different depending on the "state", so i have an state hierarchy that
> implement via polymorphism the different ways the publication behaves.
> I have
On Sun, 2007-10-28 at 07:09 +, [EMAIL PROTECTED] wrote:
> Hi
> If i'm not wrong the model inheritance is not complete. How you
> turnaround this problem, when you had to implement the state pattern
> or the strategy?
> Any idea is welcome!!
Could you perhaps ask your question using less
Hi
If i'm not wrong the model inheritance is not complete. How you
turnaround this problem, when you had to implement the state pattern
or the strategy?
Any idea is welcome!!
Thanks in advance!!
Sebastián
--~--~-~--~~~---~--~~
You received this message
6 matches
Mail list logo