Docsity

Final Year Project Mega Store, Thesis of Web Programming and Technologies

Partial preview of the text

Download Final Year Project Mega Store and more Thesis Web Programming and Technologies in PDF only on Docsity!

FINAL YEAR PROJECT

Mega Store

Submitted By:

Syed Ali Abbas

BS (Computer Science)

Session: 2017- 2021

DEPARTMENT OF COMPUTER SCIENCE ,

UNIVERSITY OF THE PUNJAB , LAHORE

Bs (Computer Science) (2017-2021)

PROJECT TITLE

Mega Store

Supervised By:

Sir Atta-ur-Rehman

Submitted By:

Syed Ali Abbas

DEPARTMENT OF COMPUTER SCIENCE

UNIVERSITY OF THE PUNJAB , LAHORE

DEDICATION

In the name of ALLAH, the most beneficent, the most merciful First and foremost, we dedicated this effort to our beloved for their unconditional love, sacrifices, guidance and prayers have been a force behind all our inspiration at every stage of life. It is also dedicated to my teachers and supervisors who taught and helped us in project and in first degree in Punjab University of Computer and Information Technology.

DECLARATION

We hereby declare that this Project entitled “MegaStore” submitted by us in partial fulfilment of BS(CS) degree, neither as a whole or as a part has been copied out from any source, it is further declared that I developed this application and the documentation entirely on the bases of our team efforts. No portion of the work presented in this report has been submitted in support of any application for any other degree or qualification of this or any other university or institute of learning. I further declare that this application and all associated Documents, reports, and record are submitted as partial requirements for the Degree BS(CS). I understand and transfer copy right for these materials to “PUCIT, Lahore Pakistan”. Signature: Date:

ABSTRACT

E-commerce is fast gaining ground as an accepted and used business paradigm. More and more business houses are implementing web sites providing functionality for performing commercial transactions over the web. It is reasonable to say that the process of shopping on the web is becoming common place. MegaStore is an online web application where the customer can purchase groceries online. Through a web browser the customers can search for a grocery online by its name, price and categories later can add to the checkout page where the user can view its all orders which have been added by user and can increase their quantity and after that user can place their orders which will take user to the payment system where user enter its payment method and can pay the payment online via bank account but before placing order our website will search if the user has login its account or not or the user has authenticate or not if the user is not login then our page will take the user directly to the login page where user first login and then they will place their order if the user does not have any account then user first will register and then login. The user can login using his account details or new customers can set up an account very quickly. They should give the details of their full name, email account, address and password. Conclusion: Overall conclusion of our project is to online shopping for all kind of groceries for men, women and kids.

TABLE OF CONTENTS

Sr. #. TITLE Page No.

  • CHAPTER 1 INTRODUCTION - 1.1 Objectives of the Project - 1.2 Purpose - 1.3 Scope - 1.4 Benefits from Admin View
  • CHAPTER 2 DISCUSSION & ANALYSIS - 2.1 Process Model - 2.2 Waterfall Process Model - 2.3 Application of Waterfall Model - 2.4 Advantages of Waterfall Model
  • CHAPTER 3 FASIBILTY STUDY - 3.1 Importance of Feasibility Study - 3.2 Components of Feasibility Study
    • 3.2.1 Economic Feasibility
    • 3.2.2 Technical Feasibility
    • 3.2.3 Operational Feasibility
  • CHAPTER 4 REQUIREMENT OF ANALYSIS - 4.1 Information Gathering - 4.1.1 Customer Requirements - 4.1.2 Data Requirements - 4.1.3 Process Requirements - 4.2 Specification - 4.2.1 Hardware Specification - 4.2.2 Software Specification - 4.2.3 Laravel MVC - 4.2.4 MY SQL - 4.2.5 Supporting Browser - 4.3 Requirement Specification
  • CHAPTER 5 Use Case Model - 5.1 Login - 5.2 Search Products - 5.3 Filter Products - 5.4 View Product Detail - 5.5 Add to Cart - 5.6 Edit Cart - 5.7 Place Order - 5.8 Aggregated Use Case
    • CHAPTER 6 DESIGN PHASE - 6.1 Introduction - 6.2 Design Goals - 6.3 Architecture - 6.4 Procedural/ Modular Approach
      • 6.4.1 Shop Products Module
      • 6.4.2 Product Description Module
      • 6.4.3 Shopping Cart Module
        • 6.5 Data Flow Diagram
      • 6.5.1 Advantages of Data Flow Approach
      • 6.5.2 Context Level Diagram
      • 6.5.3 First Level Diagram
      • 6.5.4 Second Level Diagram
        • 6.6 Entity Relationship Diagram
        • 6.7 Activity Diagram
      • 6.7.1 Registration Activity
      • 6.7.2 Login Activity
      • 6.7.3 Modification Activity
      • 6.7.4 Search Activity
        • 6.8 Relational Database Management System (RDBMS)
  • CHAPTER 7 SYSTEM TESTING - 7.1 Test Cases - 7.1.1 Registration - 7.1.2 Login - 7.1.3 Add Product - 7.1.4 Search Product - 7.1.5 Add to cart - 7.1.6 Place Order - 7.2 Cyclomatic Complexity - 7.3 Black Box Testing - 7.4 Equivalence Partitioning - 7.5 Valid Partition - 7.6 Decision Table - 7.7 White Box Testing - 7.8 System Testing - 7.9 Unit Testing
    • CHAPTER 7 SYSTEM IMPLEMENTAION - 8.1 Introduction - 8.2 Platform Selection
      • 8.2.1 Operating System Selection
      • 8.2.2 Development Tools
        • 8.3 Back End Tools
      • 8.3.1 MY SQL
      • 8.3.2 Laravel MVC
        • 8.4 Interface Design
      • 8.4.1 HTML
      • 8.4.2 CSS
        • 8.4.3 JavaScript
        • 8.4.4 Bootstrap
      • CHAPTER 9 MEGASTORE INTERFACE & CODING - 9.1 Index Page - 9.2 Login Page - 9.3 Sign Up Page - 9.4 Admin Page - 9.5 Add Product Page - 9.6 Product Detail Page - 9.7 Cart Detail Page - 9.8 Checkout Page
    • CHAPTER 10 SUMMARY AND CONCLUSION - 10.1 Conclusion - 10.2 Limitation
  • 10.3 Future Scope 89 CHAPTER 10 APPENDIXES

Page | 2 not able to go out for shopping, some don’t like to shop in crowd. There is another reason that it’s not possible to see all the product of a store, also its hazardous for both the customer and the seller. The world of software development there lots of improvement in this area and to reduce the complexity of people of life online shopping system development. Mega Store is a virtual store on Internet where customer can browse the groceries items and select the groceries items of interest. The selected items may be collected in shopping cart. At checkout time the items in the shopping cart will be presented as an order. At that time shipping information and payment method have to select to the customer. Finally, by confirming the order have to complete the shopping and the product will deliver to customer via currier, post office or by direct agent of company.

1.3 Scope

Following are the scope of the developed systems: For Customer

  • Online registration: Customer have to register to buy product online.
  • View Product: Customer can view product according to category, name and price of product. Select the items to cart, also can delete from cart before final submission, he can also view product details, shipping info and price that means all in invoice.
  • Shipping Information: Customer have to give the product delivery location. For Admin
  • Manage: Admin can add, view, edit, activate and deactivate different departments, categories, products, available in store.
  • Product: Admin can add product, view, edit, activate and deactivate products.
  • Product delivery status: Admin can update sold product status.

Page | 3

  • User Management: Admin can deactivate any user.
1.4 Benefits from admin view

Following are the benefit from the administrative view

  • Helps to efficient management of the company
  • Easy to manage the whole system
  • Time consuming and give better services.
  • Admin can activate or deactivate the products as a result it will not show from customer end.
  • Helps to efficient management of the company
  • Easy to manage the whole system
  • Admin can see details of every product which has been placed
  • Same application can be used for different online shopping purpose.

Page | 5 Diagram 2. The consecutive stages in Waterfall model are:

  • Requirement Gathering and analysis: All conceivable prerequisites of the framework to be created are caught in this stage and recorded in a necessity determination archive.
  • System Design: The necessity determinations from first stage are contemplated in this stage and the framework configuration is readied. This framework configuration helps in determining equipment and framework necessities and aides in characterizing the general framework design.
  • Implementation: With contributions from the framework structure, the framework is first created in little projects called units, which are incorporated in the following stage. Every unit is created and tried for its usefulness, which is alluded to as Unit Testing
  • Integration and Testing: All the units created in the execution stage are incorporated into a framework in the wake of testing of every unit. Post

Page | 6 combination the whole framework is tried for any deficiencies and disappointments.

  • Deployment of system: Once the practical and non-useful testing is done; the item is sent in the client condition or discharged into the market.
  • Maintenance: There are a few issues which come up in the customer condition. To fix those issues, patches are discharged. Likewise, to improve the item some better forms are discharged. Upkeep is done to convey these adjustments in the client condition. Every one of these stages are fell to one another in which advance is viewed as streaming consistently downwards (like a waterfall) through the stages. The following stage is begun simply after the characterized set of objectives are accomplished for past stage and it is closed down, so the name "Waterfall Model". In this model, stages don't cover.
2.3 Application of Waterfall Model

Each product created is extraordinary and requires an appropriate SDLC way to deal with be pursued dependent on the inside and outside variables. A few circumstances where the utilization of Waterfall model is most proper are

  • Prerequisites are exceptionally all around reported, clear and settled.
  • Production definition is steady.
  • Innovation is comprehended and isn't dynamic.
  • There are no uncertain prerequisites.
  • Sufficient assets with required mastery are accessible to help the product.
  • The task is short.
2.4 Advantages of Waterfall Model

The benefits of waterfall improvement are that it takes into consideration departmentalization and control. A timetable can be set with due dates for each phase of improvement and an item can continue through the advancement procedure model stages one by one.

Page | 8

CHAPTER 3

FEASIBILITY STUDY

Feasibility study is the initial design stage of any project, which brings together the elements of knowledge that indicate if a project is possible or not. A feasibility study includes an estimate of the level of expertise required for a project and who can provide it, quantitative and qualitative assessments of other essential resources, identification of critical points, a general timetable, and a general cost estimate. Whether a project is viable or not, i.e. whether it can generate an equal or a higher rate of return during its lifetime requires a thorough investigation of the investment per se as well as the level of current expenditure. The preliminary design is the simple description of the conceived idea with an indication of the main factors to be considered in the study.

3.1 Importance of Feasibility Study

Feasibility studies allow to determine and organize all the details to make a business work. A feasibility study helps identify logistical problems, and nearly all business-related problems and their solutions. Feasibility studies can also lead to the development of marketing strategies that convince investors or a bank that investing in the business is a wise choice.

3.2 Components of Feasibility Study

There are several components of a feasibility study: 3.2.1 Economic Feasibility Economic feasibility implies how that item is economically practical from working and business perspective. "MEGASTORE" subsequent to having this application will be in advantage economically. It will decrease the manual weight of the clients. Furthermore, need of more clients will likewise be decreased, such economic weight of

Page | 9 the stage will be elicited. The project is economically feasible as the only cost involved is having a computer. For the users to access the application, the only cost involved will be in getting access to the Internet. 3.2.2 Technical Feasibility It is used to identify whether the technical resources are available to form the project or system. It suggests efficient input and output devices to manage large amount of data, it also measures whether the hardware and software of existing system to which extent it a support the proposed system. It checks the available technology is within the given constraints such as budget. 3.2.3 Operational Feasibility A proportion of how the framework will function for example Execution, precision, productivity so as we would see it very well may be foreseen to which degree this task can be fruitful. Overseeing of information will be very simple. What's more, odds of blunders or lose of information will be limited. Capable individual utilizing the application can deal with tasks proficiently.

CHAPTER 4

REQUIREMENTS ANALYSIS

Requirements Analysis is the process of defining the expectations of the user for and application that is to be built or modified. Requirements analysis involves all the tasks that are conducted to identify the needs of different stakeholders. Therefore, requirements analysis means to analyze, document, validate and manage software or system requirements.

4.1 Information Gathering

As the goal of the application is ease of use and to provide an interactive interface, extensive research has been done to gain an insight into the needs and behaviors of various users. The working of the application is made convenient and easy to use for the end user.