|
| Re: User Prompts and OO |
 |
Wed, 7 Nov 2007 19:20:19 +0100 |
Looks like Expert System...and reverse engineering ?
No ?
"Lee Jenkins" <lee@nospam.net> a écrit dans le message de news:
4728b73e$1@newsgroups.borland.com...
>
> Sometimes, I have noticed a need to prompt the user for additional
> information while in the middle of code execution. Example:
>
> I order a steak dinner from my local restaurant which now has a shiny new
> self-serve POS system. I enter a T-Bone steak and the first thing that
> happens is the POS then asks me how I want it prepared (medium rare of
> course!).
>
> That is just the tip of the iceberg. Now it wants me to choose 2 sides
> and one of the sides dishes I chose was fresh green beans and now its
> asking me if I want those is a garlic saute (hmmmm yum, yes again!).
>
> Sounds like I should be studying up on the State Pattern, but these
> prompts are performed within execution of an overall algorithm, they would
> be issued by objects and prompting the user involves GUI elements, which
> I've learned should be separated (MVC/MVP/MGM).
>
> Would someone care to shed some light on this for me?
>
> Thanks,
>
> --
> Warm Regards,
>
> Lee
|
| Post Reply
|
|
|
|
|
|
|
|
|
|