Designing a Web-Based E-Commerce Application