Documente Academic
Documente Profesional
Documente Cultură
com
Herguan University
06/11/2010
Page i
Larkut.com
Table of Contents
Table of Contents ...................................................................................................................... ii Revision History ........................................................................................................................ ii 1. MILESTONE 1 ................................................................................................................... 1
1.1 Introduction ............................................................................................................................ 1 1.1.1 Purpose............................................................................................................................... 1 1.1.2 Document Conventions ....................................................................................................... 1 1.2 Business Requirement ............................................................................................................. 1 1.2.1 Business Opportunity .......................................................................................................... 1 1.3 Intended Audience .................................................................................................................. 1 1.4 Project Scope .......................................................................................................................... 1 1.5 References .............................................................................................................................. 2
2. MILESTONE 2 ................................................................................................................... 2
2.1 Product Perspective ................................................................................................................. 2 2.2 Product Functions ................................................................................................................... 2 2.3 Operating Environment ........................................................................................................... 3 2.4 Design and Implementation Constraints .................................................................................. 3 2.5 Assumptions and Dependencies .............................................................................................. 3 2.6 External Interface Requirements.............................................................................................. 4 2.6.1 Flow Diagram ..................................................................................................................... 4 2.6.2 Activity Chart for Social Networking Website .................................................................... 5 2.6.3 Communications Interfaces ................................................................................................. 5 2.7 System Features ...................................................................................................................... 6 Main Features.................................................................................................................................. 6 2.8 System Feature ....................................................................................................................... 6 2.9 Nonfunctional Requirements ................................................................................................... 7 2.9.1 Performance Requirements ................................................................................................. 7 2.10 Security Requirements ............................................................................................................ 7
4. MILESTONE 3 ................................................................................................................. 10
4.1 Design Phase ........................................................................................................................ 10 4.1.1 Use case diagrams............................................................................................................. 10 4.1.2 Sequence Diagram ............................................................................................................ 15
5. Database Relationship....................................................................................................... 24
Revision History
Name Trupti Jaiswal Trupti Jaiswal Trupti Jaiswal Date 07/01/2010 07/03/2010 07/15/2010 Reason For Changes First Draft First Revision Final Revision Version V0.1 V0.2 V1.0
Page ii
Larkut.com
1. MILESTONE 1
1.1 Introduction
1.1.1 Purpose This software requirement specification (SRS) document describes the functional and nonfunctional requirements of the Larkut.com, a social networking system. Business opportunity and objectives is briefly summarized followed by detailed description of the systems scope, vision, use case, features, functionality, feasibility and other related requirement issues. In the projects later phases, such as system design, database design, implementation and testing, this document should be referred as functional model of the system. 1.1.2 Document Conventions All system development activities should follow the final version of this document. Any discrepancy that found during in later phases should be modified subject to SRS. However, this document may be subject to change dependent on the decision of Guide Prof. Robert Zhu.
Page 1
Larkut.com
This website also provides the features of blogging. The main idea behind blogging is to share your thoughts with all your friends which can be read by all the users using the website. This blog can be handled by the user as he wants .It also provides the features of adding videos and photos. This website includes buying and selling of products feature. People using this website can market to buy and sell products. The main purpose behind this classified functionality will help people to buy products in trusted circle.
1.5 References
Larkut.com project specification http://www.google.com http://www.orkut.com http://www.facebook.com http://craigslist.org
2. MILESTONE 2
2.1 Product Perspective
This social networking website challenges to give a better socializing and classified System at the same place. This website helps buying and selling of products in trusted friend circle
users of the system. Entries of the user form are under the authority of the administrator only. Some of the entries in the form are mandatory in order to authenticate the user, describe the user thoroughly etc.
yAdministrator Functions:
1. 2. 3. 4. 5. 6. 7.
Authentication of the users after registration. Mails to the users regarding the approval as a registered user, disapproval Mentioning the appropriate reasons. Updating the account details on the request of the users. Notification to the end users regarding proposals. Mentioning the security measures for the systems safety. Deleting an account/user from the systems databases on request of the user.
Page 2
Larkut.com
yWebsite Information:
1. Displaying History: Mentions the history about the system such as founder of the system. 2. Contact details: Contact details. 3. Advertisements: Website will contain advertisements related to all various products present for selling.
1. 2. 3. 4. 5.
Page 3
Larkut.com
Page 4
Larkut.com
2.6.3 Communications Interfaces To use the social networking system efficiently user need to have an internet connection with a personal computer running with any well established Operating System like Windows or Linux. User needs to have installed Internet browser and email client on his machine for the same.
Page 5
Larkut.com
Features with an asterisk (*) means this feather will be implemented if time permits. Features with an asterisk (*) means this feather will be implemented if time permits. 3 Features with an asterisk (*) means this feather will be implemented if time permits.
Page 6
Larkut.com
Forget password through Email User can request for new password. Existing password will be sent to the registered email Id of the user. Message system User can send and get message to his message box. Search members /add as member/delete member
User can search, add and delete members in his list to widen his network
yUploading Photographs The user has a facility to upload and share his photographs. yAdding YouTube videos The user can add videos from you tube and share with people. yBlogging The user has the right to write his blog and publish it. y Post and search classifieds. The users can place their items they need to sell on this website. The users can also search items to buy from this website. As this is a social network website one can trust on the quality of the items begin posted.
short period of time. For e.g. on registering as a new user the notification about the approval is sent immediately to the respective user through email. Updating the account takes few seconds for the changes if the entry is not starred.
Page 7
Larkut.com
3. Other Requirements
3.1 System Development Requirements
3.1.1 Description This section describes what resources will be utilized in the development and use of the software. 3.1.2 Requirements Req # REQ-SR1 REQ-SR2 REQ-SR3 REQ-SR4 REQ-SR5 REQ-SR6 REQ-SR7 REQ-SR8 Description The database backend system in use will be MYSQL5.1. The Front-end and middle logic tools and technology will be written using Java2EE, Spring, Hibernate, AJAX, JSP, Javascript, JQuery, Servlets, HTML, CSS Code will be stored on the Google Code SVN repository. Development environment will be the Eclipse Integrated Development Environment. I will use Tomcat as a web server. I will use Iterative model and Agile Methodology. Bugzilla for bug tracking I may make changes to any of the above system requirement at anytime and for any reason.
Page 8
Larkut.com
Page 9
Larkut.com
4. MILESTONE 3
4.1 Design Phase
4.1.1 Use case diagrams.
4.1.1.1 Login/Registration
<<include>> Regester for login
Page 10
Larkut.com
Message
Blog
Profile
Search friends
Friend List
Logout
Page 11
Larkut.com
Page 12
Larkut.com
Delete friends
Page 13
Larkut.com
Add/Delete photo
User
Page 14
Larkut.com
User
Login Interface
Larkut Controler
User Table
Opt 6 : Enter Registration Details() 7 : Submit() 8 : Save Data() 9 : Send Email To Confirm Registration() 10 : Confirm Registration()
Page 15
Larkut.com
4.1.2.2 Home
User Home Interface Larkut Controler User Table Friend Table Email Controler
Opt
30 : Update()
31 : Update() 32 : Click on Reject Friend Request() 33 : Submit() 34 : Update() 35 : Send Email To Add Friend() 37 : Submit() 36 : Submit() 38 : Update()
Page 16
Larkut.com
4.1.2.3 Wall
Message Interface Larkut Controler Wall Table
User
1 : Display Message()
Opt
4.1.2.4 Blog
User
Blog Interface
Larkut Controler
Blog Table
BlogComment Table
2 : Submt() 3 : Save()
Opt
10 : Add Comment()
11 : Submit() 12 : Svae()
13 : Delete Comment()
14 : Submit() 15 : Delete()
Page 17
Larkut.com
4.1.2.5 Profile
User Profile Interface Larkut Controler UserTable Address Country
4 : Update() 5 : Update()
1 : Enter Friend Name in search Box() 2 : Submit() 3 : Get List of Corresponding Names()
8 : Submit()
9 : Save() 10 : Save()
Page 18
Larkut.com
Opt
2 : Select Friend to Delete() 3 : Submit() 4 : Delete Friend() 5 : Click on some Friend Link()
6 : Submit()
8 : Click on Wall()
17 : Click on Blog()
21 : Submit()
22 : Save()
Page 19
Larkut.com
3 : Get Data()
Page 20
Larkut.com
Product Table
Opt
5 : Submit()
8 : Submit() 9 : Update()
11 : Submit()
Page 21
Larkut.com
4.1.2.10 Photo
Larkut Controler Photo Table
User
Photo Interface
Opt
Page 22
Larkut.com
4.1.2.11 Video
User Video Interface Larkut Controler Video Table
Opt 2 : browse Video from You tube() 3 : Submit Add Request() 4 : Save()
Page 23
Larkut.com
5. Database Relationship
We are going to verify the login credentials from user table. If user enters valid information he/she will get logged in and home page will get displayed. If person is new user he will select register page option.
Page 24
Larkut.com
This page will take basic user details and after checking all the values (eg. Empty values, Invalid Password etc.) It will insert all the values in the register table. After successful inserts, user will get directed to login page.
Home Page:
On the home page, we will have friends list displayed in html table on the right side of page and all these values will be retrieved from friends table. This page will also have links to pages like videos, blogs etc. The middle part of home page will have entries displayed from user table.
Edit profile page: Once the user has logged on, he can change the profile details by using the edit profile page. When the user reaches this page, data will be obtained from the user table and displayed in the respective text boxes. The user could change these details if he wishes to do so. After he finishes editing the details he can click the update button. When this button is clicked the new details will be updated in the user table. These new details will be selected from the user table during future references. Video Page:
For video page we are going to use YouTube API. We will have search video option. After searching the videos, option will be provided to user for adding the video to his/her profile. For this functionality will add the Embed details for that video will get added to video tables. All the profile videos will get displayed on the right hand side of the page.
Photo Page:
On the image page we will have browse button. User will select the image file from his local machine and click on add Image. After adding the image, the image will be stored in the images folder on the server. And the URL of that image will be stored in the images tables. Below the browse button, all the images added for the current user will get displayed from images table.
Sell page:
This page will allow the user to add the image of the product he wishes to. The uploaded image would be stored on the server and the image link would be saved in the table. Along with the product image the description of the product and the start price is entered in the table. The page would also have the option of adding more products if the user wishes to. In this scenario the entries would be added in the table. If the user wishes to see all the items which are up for sale, the user can click on the link List of All Items .All the information about the products would be retrieved from the product table.
Buy Page:
This page shows the Interface through which the user can Bid for the products available for the user. This page requires some validations like for example, the product owner must provide with an initial price. User who wants to buy product can comment on the product detail page and contact the owner.
Blogging Page:
The blogging page would give you create new blog post form. The user will enter the title of the blog post and the contents of the blog post in the respective text boxes. After entering the user will click the create button. When the create button is clicked the title of the blog post and the contents of the blog post will be saved in the blog table. All previously stored blog posts will be retrieved from the blog table and displayed below to create new blog form.
Page 25