Pizza Hut
Pizza Hut
Pizza Hut
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DIPLOMA COURSE IN SOFTWARE PROGRAMING
BY
CERTIFICATE
This is to certify that Mr. / Miss, ------------------------------------------------------------------------------has successfully completed the academic project titled, -------------------------------------------------------------------------------in partial fulfillment of diploma course in software programming.
HOD. Examiner
Internal
Acknowledgement
Sincere appreciation and warmest thanks are extended to the many individuals who in their own ways have inspired me in the completion of this project. Many persons have contributed to make this project a reality. We would like to express our appreciation to our coordinator. Mr. Shambharkar Sir, our Miss Shraddha Mestry for her generous support and encouragement. We acknowledge the help and cooperation received from all the staff member of IT Department of Institute for Design of Electrical Measuring Instruments Mumbai. Last but not the least we would like to thank our parents and other family members who have always guided us towards the path of success and our friends who have helped us indirectly through the entire project duration and also have been the source of encouragement. And finally, our sincere thanks to our batch-mates, who have provided us with innumerable discussions on many technicalities and friendly tips. Without their cordial and friendly support, this activity would have been much tougher.
Sandesh Manohar
ABSTRACT
The business-to-consumer aspect of electronic commerce (ecommerce) is the most visible business use of the World Wide Web. The primary goal of an e-commerce site is to sell goods and services online. This project deals with developing an e-commerce website for Online Pizza Hut Shopping. It provides the user with a catalog of different Pizzas available for purchase in the store. In order to facilitate online purchase a shopping cart is provided to the user. The system is implemented using a 3-tier approach, with a backend database, a middle tier of Microsoft Internet Information Services (IIS) and ASP.NET, and a web browser as the front end client. In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multitiered architecture, server and client side scripting techniques, implementation 2005). This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart application and also to know about the technologies used to develop such an application. This document will discuss each of the underlying technologies to create and implement an e-commerce website. technologies such as ASP.NET, programming language (such as vb) and relational databases (such as SQL Server
INDEX
1. Introduction Introduction of Project 2. System requirement Processing Environment - Hardware Acceptance criteria Technical feasibility Economical feasibility 3. Project plan Gantt chart Programming language and development tool 4. Design Document Context level diagram 1st level DFD Use Case diagram 5. Architectural Design Introduction Architecture Presentation Tier User Page Flow Diagram Admin Page Flow Diagram
Business Tier Class Diagram Sequence Diagram Data Tier E-R Diagram Data Table Screen layouts 6. Testing Unit Testing Integration Testing Validation Testing White Box testing 7. Limitation and future Enhancements Limitation Future Enhancement 8. Conclusion 9. Bibliography
For Users:
Internet Browser Internet Connection
Login
Register
Search
Add Product
Add Category
Add Subcategory
5.1 Introduction
The purpose of this document is to provide an architectural design for the Online Pizza Hut Shop. The design will show the presentation tier, the middle tier consisting of classes, sequence diagrams, and the data tier consisting of the database design diagram.
5.2 Architecture
Three-tier (layer) is a client-server architecture in which the user interface, business process (business rules) and data storage and data access are developed and maintained as independent modules or most often on separate platforms.
The Architecture of Online Shopping of Software & E-Books is based on three-tier architecture. The three logical tiers are Presentation Tier - ASP.NET Web forms, ASP.NET User Controls, ASP.NET Master Pages.
Business or Middle Tier vb classes. Data Tier Database
For Example, Receiving the search request for the product and passing it to the database and submitting the results back to presentation tier for display. Displaying the cart empty message when there is no product in the shopping cart. It is the main component of the website since it is responsible for handling the overall logic.
3) Data Tier: - It is responsible for storing the product
information, transactions of the customer and shopping cart products. It is also responsible handling the requests from the business tier and using stored procedures passing the result back.
The main reason for considering three-tier architecture for the Online Pizza Hut Shop is as follows:
Flexibility:
Management of data is independent from the physical storage support, Maintenance of the business logic is easier, Migration to new graphical environments is faster. If there is a minor change in the business logic, we dont have to install the entire system in individual users PCs.
Reusability:
Reusability of business logic is greater for the presentation layer. As this Component is developed and tested, we can use it in any other project and would be helpful for future use.
Team Work:
Security:
More secured architecture since the client cannot access the database directly.
The presentation tier for the Online Book Store is ASP.NET Web Forms with User Controls. The presentation tier takes care of the user interaction and the visual part of the website. The Visual Studio .NET IDE will be used to create the Web forms. It uses code behind code, where the code for each ASPX page is encapsulated into a separate file. The various Web forms used by Users are listed below. ASP.NET Web Forms Default.aspx Purpose This web page is used to browse the entire website and also displays different categories, offers available The Web page displays informations about the Pizza Hut. The Web page is the display address to contact us. The Web page is to feed back us about our service and query. The Web page where a new user can create a user account. The Web page for confirming successful registration. The Web page is not successful registration & says please try again. This web page is used for a user to login and enter the website. The Web page where the users can view their profile information. The Web page where he can view his items in shopping cart. The Web page where the users can view a product details by selecting product list. The Web page where the users can checkout for order payment detail. The Web page for searching an available product.
Aboutus.aspx Contactus.aspx Feedbackform.aspx Registration.aspx SuccesfullyRegistered.aspx UnSuccesfullyRegistered.asp x Login.aspx MyProfile.aspx Mycart.aspx ProductList.aspx Checkout.aspx SearchResult.aspx
The various Web forms used by Administrator are listed below. ASP.NET Web Forms Purpose
Login.aspx
This web page is used for an Administrator to login and enter the website. The Web page for welcome screen. The Web page is viewing details information of his account The web page for viewing categories and their respective subcategories and adding new and view existing details of categories. The web page for viewing subcategories and their respective products and adding new and view existing details of subcategories. The web page for viewing all respective products of particular subcategories and adding new products. The Web page for directly order the no of product as a System.
AddSubCategories.aspx
AddProducts.aspx
SystemOrderDirect.aspx
Registration table
Category Table
Subcategory Table
Products Table
Feedback Table
Login Screen:
WelcomeAdmin Screen:
AddProducts Screen:
DirectSystemOrder Screen:
Logout Screen:
Checkout Screen:
Logout Screen:
Testing
Software testing is a process of running with intent of finding errors in software. Software testing assures the quality of software and represents final review of other phases of software like specification, design, code generation etc. 6.1 Unit Testing Unit testing emphasizes the verification effort on the smallest unit of software design i.e.; a software component or module. Unit testing is a dynamic method for verification, where program is actually compiled and executed. Unit testing is performed in parallel with the coding phase. Unit testing tests units or modules not the whole software. I have tested each view/module of the application individually. As the modules were built up testing was carried out simultaneously, tracking out each and every kind of input and checking the corresponding output until module is working correctly. The functionality of the modules was also tested as separate units. Each of the three modules was tested as separate units. In each module all the functionalities were tested in isolation. In the Shop Products Module when a product has been added to cart it has been made sure that if the item already exists in the shopping cart then the quantity is increased by one else a new item is created in the shopping cart. Also the state of the system after a product has been dragged in to the shopping cart is same as the state of the system if it was added by clicking the add to cart button.
In the Product Description Module it has been tested that all the images are displayed properly. Users can add review and the as soon as a user adds a review it is updated in the view customer review tab. It has been checked to see if the whole page refreshes or a partial page update happens when a user writes a review. In the Cart Details it has been tested that when a user edits a quantity or removes a product from the cart, the total price is updated accordingly. It has been checked to see if the whole page refreshes or a partial page update happens when a user edits the cart. Visual Studio 2005 has in built support for testing the application. The unit testing can be done using visual studio 2005 without the need of any external application. Various methods have been created for the purpose of unit testing. Test cases are automatically generated for these methods. The tests run under the ASP.NET context which means settings from Web.config file are automatically picked up once the test case starts running. Methods were written to retrieve all the manufacturers from the database, strings that match a certain search term, products that match certain filter criteria, all images that belong to a particular product etc. Unit test cases were automatically generated for these methods and it can be seen in figure 6.1 that the tests have passed.
Firstly, a minimum configuration must be integrated and tested. In my project I have done integration testing in a bottom up fashion i.e. in this project I have started construction and testing with atomic modules. After unit testing the modules are integrated one by one and then tested the system for problems arising from component interaction.
3. Any changes to items in the cart have to update the summary correctly. 4. Because same page is inserting data into more than one table in the database atomicity of the transaction is tested.
generating the respective error messages. All the loops and conditional statements are tested to the boundary conditions and validated properly.
The following things can be done in future. The current system can be extended to allow the users to save products in to wish list. The users could subscribe for price alerts which would enable them to receive messages when price for products fall below a particular level. The current system is confined only to the shopping cart process. It uses third Party for Check out Process to Complete. It can be extended to have an easy to use check out process. Users can have multiple shipping and billing information saved. During Checkout they can use the drag and drop feature to select shipping and billing information.
Conclusions
The Online Pizza Hut Shop is designed to provide a web based application that would make searching, viewing and selection of a product easier. The search engine provides an easy and convenient way to search for products where a user can Search for a product interactively and the search engine would refine the products available based on the users input. The user can then view the complete specification of each product. They can also view the product reviews and also write their own reviews.
Use of Ajax components would make the application interactive and prevents annoying post backs. Its drag and drop feature would make it easy to use.
Bibliography
Bibliography
Books
1. Anderson, R., Francis, B., Homer, A., Howard, R., Sussman, D. and Watson. (2001) Professional ASP.NET. Wrox Press Ltd. 2. Unleashed. SAMS Net. 3. Wiley, Y. M. J. & Sons. (1997) Creating the Virtual Store: Taking Your Web Site from Browsing to Buying. 4. Asp.net 3.5 by wrox professional in c#
Websites
1. http://encyclopedia.laborlawtalk.com/IIS 2. http://aspnet.4guysfromrolla.com/articles/020404-1.aspx 3. http://www.x-cart.com/articles/design_development.html For online customer behavior. 4. http://aspnet.4guysfromrolla.com/articles/011404-1.aspx For relation between IIS and ASP.NET. 5. http://www.agilemodeling.com/artifacts/dataFlowDiagram.htm For definition of Data Flow Diagram.