Professional Documents
Culture Documents
Online Library Management System SRS PHP MySql Abhishek Bhardwaj Live Demonstration Coding HTTP Abhishekbhardwaj TK
Online Library Management System SRS PHP MySql Abhishek Bhardwaj Live Demonstration Coding HTTP Abhishekbhardwaj TK
itchamps
Version 1.0
Team Name
: itchamps
Team Members : Abhishek Bhardwaj (0806813002) EMail: abhishekbhardwaj241@gmail.com Anshu Sagar (0806813009) Gaurav Kumar (0806813019) Submitted To : Ms. Anshika Nagpal Course : B.Tech. (I.T. 6th Semester)
State
Uttar Pradesh
Revision History
Date
27-02-2011
Version
1.0
Description
First SRS
Author
itchamps
Page 2
Table Of Contents
Description 1.0 Page No.
Introduction05 1.1 1.2 1.3 1.4 1.5 1.6 Purpose..................................................................................05 Scope.....................................................................................05 Definition, Acronyms, and Abbreviations ............................06 References.............................................................................07 Technologies to be used........................................................07 Overview...............................................................................07
2.0
Overall Description........08 2.1 Product Perspective..............................................................08 2.2 Software Interface................................................................08 2.3 Hardware Interface...............................................................09 2.4 Communicational Interface.................................................09 2.5 Product Function..........09 2.6 User Characteristics.10 2.7 Constraints....10
Page 3
2.8 2.9
3.0
Specific Requirements21 3.1 3.2 State Diagrams as System use case reports.21 Supplementary Requirements33
Page 4
1.2
Scope: The scope of Online Library Management System includesCreate different system users based on their roles and permissions. Authenticate users at their login. Provide mechanism of searching available books and magazines using title, author name, or field of the book. Facility to reserve books or journals or magazines. An status page for all users to view books or magazines reserved by them, their respective due dates, their respective fines if any. Facility for cancelling a reservation for a book made earlier. Facility for reserving books that are borrowed by others currently. A facility for searching about a user having a particular book and its due date for the same. An interface to review user history. Impose fines on users considering holidays, exams or special leaves. Provide mechanism for changing account settings such as passwords, choosing from different skins & etc.
Reports exportable in .XLS, .PDF or any other desirable format.
Page 5
Place an automated email, on reserving a book, to the user who has currently reserved it and to all of the users who are having that book, stating that the particular book has been reserved. Place requests for purchasing new books to the library, by giving details about the name of the book, name of the author, publisher. Add new book details to the store. Removing particular book details from library.
1.3
Page 6
Apache HTTP Server- Apache HTTP Server is an server that runs business applications and supports the PHP and web services standards. HTTP- Hypertext Transfer Protocol is a transaction oriented client/server protocol between web browser & a Web Server. XML (Extensible Markup Language):-It is a markup language that was designed to transport and store data.
1.4
References:
IEEE SRS format Problem Definition(Provided by IBM)
1.5
Tools & Technologies to be used: HTML Hypertext Markup Language. PHP Hypertext Processor, a Server-side scripting language. MySQL- MySQL community server, freeware database provided by
ORACLE.
AJAX - Asynchronous Java Script and XML. XML - Extension Markup Language. JavaScript Client-side scripting language. Apache Apache HTTP server 1.6 Overview Overall Description - will describe major components of the system,
interconnection and external interfaces.
Specific Requirements -
will describe the functions of actors, their role in the system and constraints.
Page 7
2.1
Product Perspective :
The web pages (XHTML/PHP) are present to provide the user interface on client side. Communication between client and server is provided through HTTP/HTTPS protocols. The Client Software is to provide the user interface on system user client side and for this TCP/IP protocols are used. On the server side web server is for PHP and database server is for storing the information.
2.2
Software Interface:
Client on Intranet - Web Browser, Operating System (any) Web Server - Apache Http Server, Operating System (Windows based) Data Base Server - MySQL, Operating System (Windows based)
Page 8
2.3
Hardware Interface:
Minimum hardware requirements Client Side IE6.0 & above, Chrome, Mozilla firefox Processor Pentium III at
500MHz
RAM 128 MB
Server Side Processor Apache HTTP Server V2.2.17 MySQL V5.5.8 Pentium IV at 1.3 GHz Pentium IV at 1.3 GHz RAM 512MB Disk Space 100MB
512MB
2.4 2.5
Communication Interface :
Client on Internet will be using HTTP/HTTPS protocol.
Product Functionalities:
A Person Should be able to login to the system through the first page of the application and change the password after login into the system. see the status of the books/journals borrowed/reserved by him and the respective due dates and other relevant details search for a particular book/journal based on the name of the book/name of the author/subject/etc and also list for books/journals based on the name of the autor/subject etc
Page 9
place requests for purchasing new books to the library, by giving details about the name of the book, name of the author, publisher. see who has borrowed a particular book/journal and when is the due date for the same cancel the reservation made earlier for a particular book/journal reserve a particular book/journal borrowed by others currently As soon as a reservation is made for a particular book, an automatic mail should be sent to the person who made the reservation about the details. Then, a mail should be sent to people who are having the book currently, stating a reservation has been made on that book.
2.6
User Characteristics
Every user should be comfortable of working with computer and net browsing. He must have basic knowledge of English too.
2.7
Constraints
GUI is only in English. Login and password is used for identification of customer and there is no facility for guest.
2.8
Page 10
1. Librarian- Responsible for activities such as adding book records, deleting book records, updating book status such as if book is issued & etc.
2. Library Database- Responsible for keeping records of all present & requested books in library. 3. Guest- Registers for a new account for becoming a library member. 4. User- Already registered member who can access library services such as searching books, registering books, requesting for new books and etc.
2.9
Database DesignPage 11
ER Diagram-
Page 12
1 Database library
1.1 Table structure for table books
Field id name author publisher subject type days Type int(5) Null Default No
fine_per_day int(3)
Online Library Management System Software Requirements Specification itchamps copies available int(3) int(3) No Yes NULL
Page 14
Online Library Management System Software Requirements Specification itchamps department varchar(25) No photo activated varchar(35) No int(1) No
Page 15
Online Library Management System Software Requirements Specification itchamps uname varchar(30) No time timestamp No CURRENT_TIMESTAMP
varchar(30) No
last_rep_date varchar(10) No
varchar(30) No
last_rep_date varchar(10) No
Page 16
Online Library Management System Software Requirements Specification itchamps date month year int(2) int(2) int(2) Yes NULL Yes NULL Yes NULL
varchar(30) No No No No
varchar(15) No
varchar(30) No No No No
varchar(15) No
Page 17
publisher varchar(100) Yes NULL subject time varchar(100) Yes NULL timestamp No CURRENT_TIMESTAMP
publisher varchar(100) Yes NULL subject time varchar(100) Yes NULL timestamp No CURRENT_TIMESTAMP
Page 18
Page 19
Online Library Management System Software Requirements Specification itchamps email pass reg course photo varchar(25) No varchar(50) No char(15) No
varchar(25) No varchar(35) No No
activated int(1)
varchar(25) No varchar(35) No No
activated int(1)
Page 20
3.
3.1
Specific Requirements
State Diagrams As System Use Reports
3.1.1 State diagram of whole system
Totally 12 windows. All states except "Display Exit Info" can go back to Main Menu. Help Content
Get Help Enter Book Info 14 do/ Insert a student into DB Reset Search books View Mylist Enter Search Info 2 Update/Delete Display Exit Info Display MyList 5 New Search exit/ Send from List message Check In/Out Exit Enter Search Info 11 Search Back Add a book Main Menu 1 Add a student
Search Add to list View Detail / UpdateDelete Update,Delete Check In/Out Update Detail 60 do/ Update,Delete Display Results 3 entry/ Search books in DB Check In/Out Enter books. student Info 13 do/ Check In, Check Out View Detail Check In/Out
Page 21
Student class
validat eStudent
[ exists ]
[ not exist s ]
validat eStudent
[ not exist s ]
[ exists ]
Page 22
return Resultset
Page 23
Return Resultset
[ not empty ]
[ empty ]
Return false
Page 24
Online Library Management System Software Requirements Specification itchamps Book class
exist
yes
Page 25
found record?
no
Page 26
return resultset
Page 27
check existence
exist? yes
no
Page 28
Online Library Management System Software Requirements Specification itchamps Transaction class
Page 29
Page 30
Online Library Management System Software Requirements Specification itchamps MyList class
Page 31
Page 32
3.2
Supplementary Requirements
24 x 7 Availability - If the base is now the entire world, staying open 24 hours a day becomes critical. Because system can be an automated Process, so it can stay open for 24 hours a day. So UPS support must be on server site for at least 8 hours in case of power failure. System will remain inaccessible to users at 2:00 to 4:00 am for backup and maintenance purpose. Dynamic Website - Many early Web implementations consisted of static HTML pages. This becomes very difficult to manage if the number of pages gets too large. An effective system should be largely dynamic taking advantage of technology that automates this process rather than relying on manual processes. Application should serve dynamic user based customized web pages to its clients from server.
Integration with existing enterprise systems Any existing Web site that relies on the manual duplication of data from another system is one that can be improved. Most of the business data in the world today exists in enterprise servers that can be connected to the Web servers to make this process far more effective.
Page 33
Provide good performance and the ability to scale the server The Web application Server should provide good performance and the ability to manage performance with techniques, such as support for caching, clustering, and load balancing. Providing session management capability - Web application developers should not spend valuable time worrying about how to maintain sessions within the application. The Web Application Server should provide these services.
Page 34