Online-Book Store(SDD)Software Design DocumentVersion 1.0ByHiraAbdul Majeed (441) &MariaAsif (443)IslamiaUniversity of Bhawalpur Liaqat Campus R.
Y.K12-01-2018 Draft Date Date Description Author Comments 12-01-2018 1.1 Hira Abdul Majeed & Maria Asif First Draft Document ApprovalThe SoftwareRequirements Specification has been accepted and approved by the followingdate: Signature Instructor Name Subject Code Date SIR ZAHID ASLAM CSIT 21306 05-01-2018 Table of Contents INTRODUCTION 3 Purpose Scope Overview Reference Material Definitions and Acronyms Systm Overview 4 System Architecture 5 Architectural Design 6 Decomposition Description 8 Design Rationale 9 Data Design 11 Data Description 10 Data Dictionary 11 Component Design Human Interface Design 13 Overview of User Interface 13 1. IntroductionPurposeTheprimary thought of task is to make an Online Book Shop that enables the clientsto inquiry and buy a book in light of title and subject.
They chose books areshown in configuration and the client can arrange their books on the web. Themanager of website will have extra functionalities when contrast with thenormal client. Theinspiration to make this task has many sources: Interest to build up a decenteasy to use site with online exchanges utilizing a database. To increment myinsight skyline in advancements like PHP,SQL, CSS, and HTML. Toincrease great involvement in PHP before participating in an all day work.
Topick up skill utilizing Data Grid, Data Set, Data Table, Data Adopter and DataReaders Scope The software design documentprovides the base level functionality. It ensures the successful development ofa project and focused on the critical parts of any project. In the softwaredesign document we explain about the component level design. The client canlikewise offer criticism to a book. The books are partitioned intoclassifications like Sports, Stationary, and Key Books. Overview The systemdesign description defines the functionality of the whole system.
The documentsare divided into different parts. In the first section we describe the baselevel. In the second section we explain the description of the system.
In thethird section explain the architectural design of the system. In the fourthsection detail about data description and data dictionary. And describe thecomponent of the system.
Thefundamental goal of undertaking is to make an Online Book Shop that enables theclients to inquiry and buy a book in light of title and subject. The chosebooks are shown in an unthinkable organization and the client can arrange theirbooks on the web. The Administrator will have extra functionalities whencontrast with the regular client. Reference v Appendix for the onlineshopping security information.v Foundation ofE-commerce by “Ravi Kalakota”.v Internet and many online e- bookshopping websites.1.1 Definitions and Acronyms Customer : The individual who buys the item Merchant : The individual/merchant/organization who offer the item PIN Number : The one of a kind id given to either client or dealer who get to the information in the site2.
System OverviewThe books are partitioned into classifications likeSports, Stationary, and Key Books and so on. Ø A Home Page With Product CatalogThisis where the client will be explored after a successful login. It will show allthe book classes and will have a pursuit watchword choice to look for therequired book. It additionally incorporates some areas like prescribed titles,Pictures of books and many more. Ø SearchAn inquiry by catchphrasealternative is given to the client utilizing a content box. The catchphrase tobe entered ought to be the item title. Ø highly developed SearchPropelled seek help the client toscan for a class in view of Main Category, Sub-Category and Products.
Every oneof the things which coordinate the specific hunt criteria and their aggregatecheck will be shown. From here the client can choose a thing and add to thetransportation truck. Ø Product portrayalIn the event that the client mightwant to know insights about an item he can tap on the title from where he willbe coordinated to an item portrayal page. It incorporates the notes on theitems content. Ø organization of AccountsEvery client ought to have a recordto get to every one of the functionalities of site. Client can login utilizinglogin page and logout utilizing the logout page. All the client sessions willbe spared in the database.
Ø AdministrationThe executive will be givenextraordinary functionalities like · Add or erase an items class · Add or erase a number · Manage part arranges Add or erase aNews and OffersExternalInterface RequirementsSystemInterfacesThe system interface does notdepend on the specific requirement. Its work independently and based onpersonal component like Hardware, RAM, and operating systemInterfacesThis website will provide the twointerfaces. These interfaces are user and administrator. User interface get theinformation and view the information. User searches the any type of Islamicinformation. Administrator can edit, delete, and add the information. User canaccess to this website through Google chrome or any other browser.HardwareInterfaces· HardDisk -320 GB OR more· RAM -2 GB OR moreSoftwareInterfaces· Windows7· CSS· MSSQL-SERVER 2005 Microsoft SQLServer SQL Server is very important as its databasecomponent.
DB provides communicationthrough ODBC connections. SQL datatable definitions must provide the system to the company DBA for setup. It isused to store the data about database.
It is very fundamental part of thewebsite to keep the record.CommunicationsInterfacesThe communication interfaces which werequired to connecting the website windows, Internet Explorer or any browser.FunctionalRequirementsFunctionalrequirement define the function of the system. A function describe as a set ofinput, the behavior, and output. 3. System Architecture The followinguse case diagram provides complete information regarding how the product works The bookshopsystem will perform the following function:-v Useridentificationv Selectservicev Recordpurchasesv Recordsalesv Searchfor existing books v Calculatebudgetsv Preparestock evaluationv Displaystock details Complete use case diagram of the productfunctionality Design RationaleIn designRationale we discuss the some benefit of the 3-tier architectural. It is veryflexible because one layer does not depend on the other layers.
Developermostly used 3- tier architecture to build web application. Majority people canaccess at the same time and it is easy to modify without affecting to the othertier so it is very suitable for build our project.1-tier architecture is onlyused for single client and it is used only on a personal computer so it isuseless for design web application. In the 2-tier architecture clientsoftware problem can be occurs becausebulk of the application logic is on the client so in this case 3-tierarchitecture is best.
Object Diagram Activity Diagram Sequence Diagram Data DesignData Description My SQL Server connect with ODBC DataDictionaryThissection will contain data about data being used in this website.Admin Field name Data type description Constraint Id integer Enter ID Primary key Name varchar Name of admin Must be an alphabet Email Varchar Enter e-mail Must be text Address Varchar Enter address Must be a text User Field name Data type description Constraint Id integer Enter user id Primary key Name varchar Name of user Must be alphabet E-mail varchar Enter e-mail Must be text Address varchar Address of user Must be text Password dotted Enter user password Must be dotted form Interface DesignThething will work in windows condition. Furthermore it will be flawless with theIE 8.0. Most of the features will be impeccable with the Mozilla Firefox andGoogle Chrome 62.
0 or higher variation. The primary need to use this onlinething would be the web affiliation. User Interfaces Theuser can communicate with system in different ways. In simple way they can justview the list of books available, but if they are interested in shopping thyneed to connect with system by providing some necessary information such astheir name, email address and by selecting the mode of payment. Administrator’s Login TheAdmin login is previliged login as all the management of website is theresponsibility of administrator.
Administrator will have his ID and unique namewith secret code to unlock website and can manage web pages to provide betterservice to his clients Functional Requirements The requirementof this document is that it has to take requests from user as input, processthe requirements according to need and provide information and requiredproducts list to the users. The inputrequests can be generated by: Customers Database administrator The inside processingof system can take variety of forms is: Customers Do shopping Reserve products Merchants:- Bid their products Manage transport facility and look after the payment method Databaseadministrator:- Update information Host transactions The output isbased on the transactions, and the work done by the user like customer ormerchants. 3.1 ClassDiagram for User and Admin Diagram 126.96.36.199 1.
3 Admin Id Name Address Add () Update () Delete () 1.1 User1.2 Id Name Password Email Search () View () 3.2 13.3 3.4 3.5 13.
6 3.7 Non-FunctionalRequirements PerformanceThiswebsite provides greater performance multiple request must be handle the systemat a time.ReliabilityWebbased application provide the reliability means many times trials may give sameresult.
AvailabilityAnyperson of the whole world may access any time a day. This web based applicationwill provide greater availability.SecurityThisweb based application provide the security, authorized user may access to thesystem unauthorized person may not access.MaintainabilityNon-functionalrequirements provide the maintainability to the website if any error occurs inthe website it is easy to maintain.
PortabilityNon-functionrequirements provide the greater portability. It can be easily ported from onedevice to another device.Logical Database RequirementsWhenwe save our information about system in the database, then we must have toexplain all the value in it. Must be Name appear in text, Numbers in integerform, and password must be dotted. Analysis ModelsWater fall ModelWaterfall model is known first process model.
It is easy to maintain and understand.It is used for small project. It is less expensive. It is also known linearsequential model. This approach is easy to manage because each phase performspecific task.
It is used where project requirements well understood. If anyerror occur any stage need be revisited all the subsequent stage.Incremental ModelIncrementalmodel also called Evolutionary model.
Incremental model is opposed to waterfall model. In the incremental model the product is divided into small pieceswhich are built and then delivered to the client. It is used for large project.It is used where detailed system specification unavailable. RAD ModelRAD stands for Rapid Applicationdevelopment Model. Its speed is very high and short generated linear sequentialfunctionally system 2and 3 moths duration. This project is used whererequirements are well understood.
Primarily is used for information system. Ourproject is suited for water fall model, because it is suited for small projectand it is easy to maintain. MainDesign of Database Table Action Records Type Collation Size Overhead About_Us Add/Del 1 MyISAM Eng_Fre 2.2 KB 40 Bytes Add_Cat Add/ Del 2 TEXT English 2.3 KB 24 Bytes Add_news Add-Del 3 Number Numeric 2.
4 KB 30 Bytes Add_ChCp Add:Del 4 Integer Number 2.5 KB 35 Bytes AdminRegistration Table OrderTable Interface of website: UserRegistration Page Search Page Bill Page: Future Scope Everyproject has its own audience and different thoughts of people about services,one website can not satisfy all the customers all the time so thefunctionalities of all related or depended modules can be incorporated in oneand can be uniquely created for creating comparative online store or libraryservices. In an era of internet this website has bright scope of being acceptedby the user and customers. The attention is to make user friendly environment,leads to its acceptably in general public.