I have been asked to produce a basic Design Pattern for an online commerce system (Amazon, Play.com etc..) and I have chosen to concentrate on the Facade Pattern as I feel this is pattern is used mostly throughout the system. This is what I have so far:
System Operations:
Order Product
Stock/Availability (This checks the stock of the product)
Authentication (This checks to see if the user is signed in / registered)
Dispatch (Sends the product name / customers details to dispatch)
The suggested "Facade Pattern" will work by the user is only required to see/know order_product function and therefore the other components are "triggered" from this one action.
My question is, with this type of system, is this a good and right design pattern to use? Also, the operations, can anyone else think of any others that may be required in order to purchase a product - This is all I can seem to come up with.
Hope someone can help :)