CSC/ECE 517 Summer 2008/wiki3 7 SHOP PAT: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
===Introduction===
===Introduction===
The main purpose of '''Shopper Pattern''' is to provide as a means to assist people or consumers to obtain a collection of items from a set of shops or the providers. And the goal is achieved without introducing coupling between the ''[http://en.wikipedia.org/wiki/Consumer consumer]'' and the provider.
The main purpose of '''Shopper Pattern''' is to provide as a means to assist people or consumers to obtain a collection of items from a set of shops or the providers. And the goal is achieved without introducing coupling between the ''[http://en.wikipedia.org/wiki/Consumer consumer]'' and the provider.
===participants===
Consumer :A list of items are displayed and user is allowed to choose item among them.Then the item is scanned for the price and placed in the shopping bag.
Shopper
Provider
item Request
Item
===COnsequences===

Revision as of 02:49, 23 July 2008

Problem Definition

Shopper pattern. The idea of a "shopping cart" is ubiquitous in e-commerce. This idea lends itself to abstraction in the form of a Shopper pattern. Find examples and descriptions that are suitable for teaching this pattern, if possible, including some non-obvious applications. Write up your findings in the form of a narrative.

Introduction

The main purpose of Shopper Pattern is to provide as a means to assist people or consumers to obtain a collection of items from a set of shops or the providers. And the goal is achieved without introducing coupling between the consumer and the provider.

participants

Consumer :A list of items are displayed and user is allowed to choose item among them.Then the item is scanned for the price and placed in the shopping bag.

Shopper Provider item Request Item

COnsequences