software requirements specification...
TRANSCRIPT
i
Software Requirements Specification For
Online Book Store
Version 1.0 approved
Prepared by
يب ـذ الخطــحمأ ي ــذ المغنـمحم
روانةـر فـسام غسان ابو مرشود
26/March/2010
Software Requirements Specification Online book store
0
Table of Contents Table of Contents ....................................................................................................... 0
Revision History ........................................................................................................ 0
1. Introduction ........................................................................................................... 1
1.1 Purpose ............................................................................................................ 1
1.2 Document Conventions ................................................................................... 1
1.3 Intended Audience and Reading Suggestions ................................................. 1
1.4 Project Scope ................................................................................................... 2
2. Overall Description ............................................................................................... 2
2.1 Product Perspective ......................................................................................... 2
2.2 Product Features .............................................................................................. 3
2.3 User Classes and Characteristics ..................................................................... 3
2.4 Operating Environment ................................................................................... 4
2.5 Design and Implementation Constraints ......................................................... 4
2.6 User Documentation ........................................................................................ 5
2.7 Assumptions and Dependencies ...................................................................... 5
3. System Features .................................................................................................... 6
3.1 System Feature 1 .............................................................................................. 6
3.2 System Feature 2 .............................................................................................. 6
3.3 System Feature 3….……………………………………………………….…6
3.4 System Feature 4….……………………………………………………….…6
4. External Interface Requirements .......................................................................... 7
4.1 User Interfaces ................................................................................................. 7
4.4 Communications Interfaces ............................................................................. 9
5. Other Nonfunctional Requirements ...................................................................... 9
5.1 Performance Requirements.............................................................................. 9
5.2 Safety Requirements ...................................................................................... 10
5.3 Security Requirements ................................................................................... 10
6. Other Requirements ............................................................................................ 11
Appendix A: Glossary.............................................................................................. 11
Name Date Reason For Changes Version
Software Requirements Specification Online book store
1
1. Introduction
1.1 Purpose
This document is specifying the requirements of an e-commerce application that is
based on the Rich Internet Application (RIA) technologies, this software is called
Online Book Store. This will be the first release of the software.
1.2 Document Conventions
Font type : Times New Roman.
Bold words with large font size more than 14 is used for the headlines of the
chapters and sections or to concentrate on an important words.
Words with all characters are Capital refers to an abbreviation.
website : italic underlined text with blue color refers to website address or
email address.
Sentences between to parentheses ( ) refers to definition or give more
information about the previous words.
1.3 Intended Audience and Reading Suggestions
This document is directed to the people who are interested in developing this
application (the designers team) also documentation writers which they are a part of
the team, and for the project manager (teacher).
This document may be help marketing staff and the users to give them more
information about how this application works and to know what is the functions that
this software do in order to use it for promotion or shopping. If you are a project manager or a developer it is better to read all this document and
focusing on chapter 2 (Overall Description). For the users, marketing staff and the
testers it is better to focus on reading chapter 3, 4 and 5.
Software Requirements Specification Online book store
2
1.4 Project Scope
This Online Book Store provides an easy way to browse, search, and shop for books
online. This Online Book Store put each book in a category so the user can reach
specified book by surfing a specified category or by using the search function (by
name or ISBN) which is implemented in this software. The software allows the users to browse all the information about a particular book
like the title, author name, publishing year, ISBN if it is global book, number of
pages, best store and compare prices.
The software allows the users one or more books by add books to the shopping cart.
When the customer finished and wants to order the selected books, he will be
directed to one of the biggest stores that sells books such as: Amazon or Barns &
Noble stores to continue purchasing and shipping information.
2. Overall Description
2.1 Product Perspective
This application is going to be developed using Adobe Flex SDK to create user
interface and GUI components like graphics, buttons, containers, labels, text and
anything that the user will deal with or watch. Also we are going to use Action
Script version 3 along with Flex SDK to create the actions that is fired by the user
like searching for a certain book, adding books to shopping cart, browsing
categories.
Flex SDK will generate an executable file (.swf file) which runs using Adobe Flash
player that is embedded in the web browser.
Software Requirements Specification Online book store
3
This exe file or SWF will be upload with some other required data to server.
On the server side we are going to use PHP programming language which extract
and returns dynamic XML data from a database table (created by SQL) that contains
information associated with the books like title, author, ISBN, description…etc, this
data is requested by swf file.
Flex SDK offers some services to communicate with the server side such as :
HTTPService which allows us to utilize the data (XML file) returned by PHP server
to fulfill the requested data by the user or the swf file in general.
2.2 Product Features
This a summarized features for the software:
Books are grouped in categories.
This Online Book Store has search function.
High performance due to scripting and RIA technology.
Providing most important information of the books listed in the website.
Well designed, ease of use and friendly interface for promotion purposes.
The user can shop for on book or many books by implementing the add to cart
function.
2.3 User Classes and Characteristics
There is various user classes that can get benefit from this application. Such as :
Learning Centers or Universities : learning centers may publish their books for
selling online to make easy for their customers to choose book then buy it from
the center offline.
The university can publish the books that needed for each department making
it easier for the students to find their needs.
Software Requirements Specification Online book store
4
Anybody wants to buy a given books in particular to university students or
instructors.
Companies that’s interested in it or anyone wants to make some money from
selling books.
Bookshops and libraries
2.4 Operating Environment
As long as this application runs on the browser it does not need any installation or to
be combatable with an any operating systems like Windows, Linux, Macintosh or
any other OS.
The only thing required is to install the latest version of Adobe Flash Player plug-in
for the browser that is used by the user.
This application will run on any web browser that support the flash player plug-in
such as: internet explorer, Mozilla Firefox, Opera, Netscape…. etc.
2.5 Design and Implementation Constraints The main problem that faces the developer that they have to learn some programming
languages like Action script 3 and PHP also they need some acknowledgment in
database tables creation using SQL. The developer team also have to learn to use
Adobe Flex builder which is the tool they need to design user interface and GUI
components.
This website and the application must be uploaded to server in order to get benefit
from it, but as this software is for purpose of learning only developer team will use
local server which will be created using Apache server or PHPMyAdmin or
WampServer programs.
For the issues concerned with maintaining and website feeding it must be discussed
with the customer’s organization in order to determine if the developers will be
Software Requirements Specification Online book store
5
responsible for website maintaining and site feeding for some months until the
website become bigger then customer’s organization will be responsible for this
issues or there is another scenario.
2.6 User Documentation
This application will be delivered with this documentations:
Online help: menu in the website that holds the application tells the customer
how to use the software to get the maximum benefit from it.
Report for the project manger and software customer explaining all the issues
that concerned with this software.
2.7 Assumptions and Dependencies
About the ordering shipping process :
This software just allows the customer to find the books they need and allows
them to deal with all the function about searching, browsing for books
information, choose multiple books to be. But the steps concerned with
purchasing and shipping will be a reasonability of a third party websites
www.Amazon.com
www.barnesandnoble.com
The exe file that will be generated from Flex SDK (SWF file) is depending on
the plug-in of Adobe Flash Player to be installed in the customer browser, if
not the user may find some difficulties in running the software.
During developing process the developers may be use ready-made classes
from internet from other similar projects like: classes implements GUI
components.
Software Requirements Specification Online book store
6
3. System Features
3.1 Books are grouped in categories
The books that have same topic are grouped together in a category in order to make it
easy for the user to surf the books that have the idea. Also there is category for the
best seller books and another for the newly added books to the store.
3.2 This Online Book Store has search function
This store may contains thousand of books with thousand of topics and titles, so the
search is a must here to help user to find their needs.
The search function will be implemented to search by name of book or by ISBN if
the book is global one.
This function will search through the database table that will be on the server side
this may make the application slower but there is no other solution to implement
this.
3.3 High performance due to scripting and RIA technology.
There is no need to contact the server side in each time the user make an action on
the site because of using scripting language which is Action Script 3.This technology
make the process of surfing and browsing of the books more faster than we use
HTML or PHP forms only as in this case the page must be refreshed each time.
3.4 Providing most important information of the books listed in the website.
This information includes :
ISBN
Book title
Book price
Book author
Software Requirements Specification Online book store
7
Description
Date of publishing
Number of pages
3.5 Ease of use and friendly user interface
The store does not contains any difficult actions or not understandable actions,
besides that this store must have excellent interface and GUI to grab more users and
make the more comfortable while they are surfing, searching and reading.
3.6 Add to cart function
This function allow the user to permanently bookmarks the books he needs to buy
rather than buying one by one, that save the time of the user and makes the books
shipped all together.
4. External Interface Requirements
4.1 User Interfaces
The software interface will be divided into three vertical columns. The homepage of
the application which lists new books and bestselling books in the middle section,
and also provides category navigation menus on the left-hand side. You can also see
a SHOPPING CART link on the right-hand side, which will list the current books
selected by the user as shown here:
Software Requirements Specification Online book store
8
Th
e
following is the product listing screen. It lists all the books available in the selected
category when a user selects any specific category from the navigation menu. The following screen displays the selected book's details in a pop-up window when
a user clicks on the Details button on the book widget.
Software Requirements Specification Online book store
9
Users can also add or remove books from the shopping cart. The shopping cart
updates the shopping details dynamically and provides an option to remove a specific
book or change its quantity.
4.2 Communications Interfaces
This software will communicate with the database that created to hold books
information SWF file can contact with server side through HTTP protocol by means
of a function that is called HTTPService. This function allows the application to
use the data retrieved by server (XML file) to fulfill the request fired by the user.
Software Requirements Specification Online book store
10
5. Other Nonfunctional Requirements
5.1 Performance Requirements
This software will run on the web browser using flash player (.swf file) which is
implemented in the most web browsers so the performance of this application is
depending on the speed of the internet connection of the customer is it slow the user
have to spend longer time waiting the component of the application to loaded. But if
we compare the technology we use to develop this store which is action script 3 and
flash (at its heart is MXML, a markup language based on Extensible Markup
Language (XML)) with other technology like pure HTML or PHP we will find that
we choose the best technology because the user do the actions like selecting, filtering
and browsing the book information in the browser without the need to contact with
the server side in each action done by the user unlike other programming languages
like PHP.
5.2 Safety Requirements
The safety issues for this application will be concerned of the status of the shipped
books, package damaging time to deliver and customer information.
As the ordering process will not be in the same website that contains the software so
it will not deal with any privacy information about the customer also it will not deal
with any shipping process as the customer will be directed to one of the most secure,
safe, reliable stores on the internet (Amazon or Barns & Noble stores) to complete
the ordering and the shipping process and will not be responsible to any damage or
shortage or late could be happened in order shipping.
Software Requirements Specification Online book store
11
5.3 Security Requirements
The Security issues for this application will be concerned of the customer
information like the name, contact information like email address or phone number,
shipping address, credit card number …etc.
As the ordering process will not be in the same website that contains the software so
it will not collect any privacy information about the customer as the customer will be
directed to one of the most secure, safe, reliable stores on the internet (Amazon or
Barns & Noble stores) to complete the ordering and the shipping process. You may
be want to check the privacy policy and the terms of use for the mentioned websites.
Appendix A: Glossary
GUI: Graphical User Interface,
SDK: Software Development Kit
PHP: Hypertext Preprocessor, server-side scripting language
SQL: Structured Query Language
SWF: Shockwave Flash
XML: eXtensible Markup Language
HTML Magic eXtensible Markup Language
MXML: Hyper Text Markup Language
Action Script: scripting language based on ECMAScript