31-07-2013, 12:37 PM
Mall Management System
Mall
Mall will provide a single roof for various shops. The mall performs the creation of a set of different shops, such as a book store, a shoe store, etc. The mall greets an arriving customer, performs authentication for him/her and allocates him/her the shopping cart. Mall presents the customer with a list of different stores availble and allows the customer to shop at any of stores in the mall.
Some of the things a customer can do at the mall are:
Get a list of available stores
Get a shopping cart
Enter a store /shop
Notable Attributes:
name - the name of the mall
shops - a collection of stores of different types
customers - the customers currently in the mall
owner – the owner of the mall.
guestbook – a collection of comments by different customers
Sequence Diagram:
Customer entering the mall gets authenticated and will be allocated a shopping cart. On successful authentication, he/she will be presented with the list of stores available. On entering the store he/she will be presented with the list of items available at the shop. This whole sequence has been captured by following sequence diagram.
Conclusion and future work:
The project enabled us to understand all the design patterns thoroughly. The Iterator, Singleton, Observer are essential design patterns in order to capture the software design of such shopping malls. Various techniques like use case analysis, state machine, CRC, sequence diagram are helpful in prototyping software design.
The project can be improved by incorporating the MVC design technique. More of design patterns such as factory patterns can be included in the project.