Documente Academic
Documente Profesional
Documente Cultură
SHIFA QUDDUS
M. BURHAN SIDDIQUE
ABDUL REHMAN
ZAIN ALI
MUHAMMAD SHAHBAZ
SESSION: 2014-2018
Roll No:
12804
12802
12823
12789
12822
DEPARTMENT OF INFORMATION TECHNOLOGY
Bachelors
IN
Information Technology
By
Shifa Quddus
M. Burhan Siddiqui
Abdul Rehman
Zain Ali
Muhammad Shahbaz
SESSION: 2014-2018
Roll No:
12804
12802
12823
12789
12822
DEPARTMENT OF INFORMATION TECHNOLOGY.
DECLARATION
Shifa Quddus Roll No. 9245, M. Burhan Siddiqui Roll No. 9203, Abdul Rehman Roll No.
9217, Zain Ali Roll No. 9240 and Muhammad Shahbaz Roll No. 9216 student of Government
M.A.O College Lahore. In the subject of session 2014-2018, hereby declare that the matter
printed in the thesis titled THE TAGHAYYUR (NEWS PORTAL) is our own work and has
not been printed, published and submitted as research work, thesis or publication in any form
in any University, Research Institution etc. in Pakistan or abroad.
___________________
Dated: ____________ Signatures of Deponent
iii
Certified that the research work contained in this thesis titled THE
TAGHAYYUR (NEWS PORTAL) carried out and completed by Shifa Quddus Roll No.
9245, M. Burhan Siddiqui Roll No. 9203, Abdul Rehman Roll No. 9217, Zain Ali Roll
No. 9240 and Muhammad Shahbaz Roll No. 9216, Under my supervision.
Submitted Through:
Abstract
This project basically consists of modules that contain news, articles, blogs and descriptions from
around the world of various categories (Pakistan, World, Sports, Life Style, Weather, Politics,
Business, etc.). Every news description has a related video link which assures the reliability and
authenticity of the news. For the ease of the user to show the relatable and concise amount of
news, user have to sign up to generate a customized page.
v
Contents
CHAPTER 1 INTRODUCTION
1.1. INTRODUCTION 1
1.2. OBJECTIVES 1
1.3. PROBLEM STATEMENT 1
1.4. PROJECT SCOPE 2
1.5. CONSTRAINTS 2
1.6. TOOLS AND TECHNOLOGY 2
3.1 PURPOSE 4
3.2 STAKEHOLDERS LIST (ACTORS) 4
3.3 FUNCTIONAL REQUIREMENTS 4
FR01: Login to Admin & User Panel 4
FR02: User View 4
FR03: Manage News 5
FR04: Manage Pages 5
FR05: Manage Users 5
FR06: Manage Administrative User 5
FR07: Profile 5
FR08: Register 5
3.4 NON-FUNCTIONAL REQUIREMENTS 6
NFR01: Performance 6
NFR02: Documentation 6
lNFR03: Efficiency 6
NFR04: Maintainability 7
NFR05: Availability 7
vi
4.1. METHODOLOGY 8
4.2. DESIGN USE CASE 9
4.2.1. Use case for User Login 9
4.2.2. Use case for Favorite Page 11
4.2.3. Use case for Registration Process 13
4.2.4. Use case for User View 15
4.2.5. Use case for Admin Role w.r.t News 17
4.2.6. Use case for Admin Role w.r.t Pages 19
4.2.7. Use case to Admin Role w.r.t User 21
4.2.8. Use case for Admin Role w.r.t Super User Screen 23
4.2.9. Use case for Editor role w.r.t News 25
4.2.10. Use Case for Editor for Sub-Editor 27
4.2.11. Use case for Sub-Editor role w.r.t News Screen 29
4.2.12. Main Use Case Diagram 31
4.2.13. Use Case for Logout 32
4.3 ARCHITECTURE OVERVIEW 34
4.4 GANTT CHART 34
CHAPTER 5 IMPLEMENTATION
CHAPTER 6 EVALUATION
7.4 Bibliography 74
1
Chapter 1
INTRODUCTION
1.1. Introduction
In the world where there are millions of news sources, a news website among
hundreds of them is not a big deal. Now a days, the real problem is authenticity and being
biased of their perspectives, not the accessibility. Our website will help solve these issues, by
providing a video link or a picture of every news and by giving neutral news and giving every
party’s perspective to let the user decide.
1.2. Objectives
This application was developed by keeping in mind the problems of the current news
world problems. Some of the main objectives of this system that made us develop this are as
follow:
• Create a positive youth’s vision
• Providing quality and authentic content.
• To be SMART (Specific, Measurable, Attainable, Relevant and Timely)
Project Deliverables:
• Scope statement
• Progress reports
• Issues reports
• Weekly meeting notes and progress
• Final product
1.5. Constraints
To use this system, one may or may not be familiar with computer knowledge and
they only should know how to use the website’s admin panel to edit the news. However, the
system is very easy to interact with (User-friendly).
• NodeJS
• MongoDB
• Bootstrap4
• JavaScript
3
Chapter 2
LITERATURE REVIEW
There are many similar sites developed before for showing the current news but they do not
provide that much authenticity of news moreover they are too crowded with news that make
them less visually attractive. Plus, they don’t give the users choice to see news of a particular
section/type.
Chapter 3
REQUIREMENT SPECIFICATION
3.1. Purpose
This chapter will serve as the unambiguous guide for the developers, users and
stakeholders of this system. The requirement analysis will help the software designers in
developing this system in accordance with the requirements gathered by requirement
elicitation. This chapter describes all functional and non-functional requirements necessary to
provide a complete and comprehensive description of the requirements necessary to design
and develop the corresponding system.
FR07: Profile
FR08: Register
NFR01: Performance
Req. No. Non-Functional Requirements
NFR01-01 Average load time of the system must be less than 10 second.
NFR01-02 Average processing time taken by the system to process information should be
less than 60 seconds.
NFR01-03 System Mean Time to Failure should not be more than 60 seconds within 24
hours of use.
NFR02: Documentation
lNFR03: Efficiency
Req. No. Non-Functional Requirements
NFR03-01 The system should utilize minimum resources of any system or web browser for
the processing of data or to access data.
7
NFR04: Maintainability
Req. No. Non-Functional Requirements
NFR05-01 The system should be changeable if some module needs to be modified without
effecting functionality of other modules, for this the system must have the concept
of modularity.
NFR05-02 The system should be open for reusability and testability to remove any bugs or
errors.
NFR05-03 The system should be extendable (i.e. adding new functionality in the system)
without effecting the functionality and performance of rest of the system.
NFR05: Availability
Req. No. Non-Functional Requirements
Chapter 4
PROJECT DESIGN
4.1. Methodology
The methodology we selected for this project is “Agile Modeling”. This approach best suits
to our project as we can change the requirements according to our clients need once the client
review them and provide feedback regarding the functionality. And we can timely provide
the client with the prototype to satisfy client.
9
Flow of Activities: U1: User navigates to the Login screen and select Login Button.
Login System
Login
Admin
Editor
<<include>> <<include>>
<<include>>
Description:
Favorite Page
News Based
On Interest
User
13
Description:
Registration Process
User name
<<include>>
<<include>> password
Register <<include>>
Interest
15
Description:
User can view Main page, Category page, Detail page, Login
Post conditions: page, Register page.
User View
Profile
News Detail
Main Page
Category News
General User
Login
Register
17
Description:
Actor: Admin
This use case is for view of Admin role w.r.t news. Admin can
add, update and delete News.
Description:
Post conditions: Admin can Add news, Edit news, Update news
U1: Admin navigates to the Admin panel and add, update, delete
Flow of Activities: news.
S1: Website displays the News panel
■ Invalid password
■ Admin does not have a username and password for our website
18
Admin Roles:
Add News
Edit News
Admin
Delete News
19
Description:
Actor: Admin
This use case is for view of Admin role w.r.t pages. Admin can
add, update and delete Pages.
Description:
U1: User navigates to the mange page panel and add, update,
Flow of Activities: delete Pages.
Add Page
Edit Page
Admin
Delete Page
21
Description:
Actor: Admin
This use case is for view of Admin role w.r.t users. Admin can
Description: add, update and delete Users.
U1: User navigates to the User panel and add, update, delete
Flow of Activities: Users.
S1: Website displays the Users panel
Add User
Edit User
Admin
Delete User
23
Description:
Actor: Admin
Description: This use case is for view of Admin role w.r.t superuser
User Name
Role
<<include>>
<<include>>
Password
<<include>>
<<include>>
` Interest
Admin
Description:
Actor: Editor
Description: This use case is for view of News screen w.r.t Editor role.
Flow of Activities: U1: User navigates to the News panel and select News Button.
Add News
Edit News
Editor
Delete News
27
Description:
Actor: Editor
Description: This use case is for view of Editor role w.r.t sub editor.
Post conditions: Editor can add, update and delete sub editor.
U1: User navigates to the sub editor panel and select add, update
Flow of Activities: and delete Button.
Add Subeditor
Edit Subeditor
Editor
Delete Subeditor
29
Description:
Actor: Sub-Editor
Description: This use case is for view of Sub-Editor role w.r.t news.
U1: User navigates to the sub editor panel and select add, update
Flow of Activities: and delete Button.
Add News
Edit News
Sub-Editor
Delete News
31
Manage content
Sub-Admin
Receive feedback
Manage Sub-
Admin
Admin
Sub-Editor
Manage Sub-
Editor
Editor
Browse news
Viewer
Sign up
Login
32
Description:
After done the all required activities the Admin Editor, Subeditor &
Description: General User can be logout.
Chapter 5
IMPLEMENTATION
Is correct
No Incorrect
information
Yes
User view
36
Registration
User Name
Password
Interest
38
User View
View
News
Pages
Users
Role
User Name
Super
User Password
E-mail
Add super Users Edit super Users Update super Users
Interest
43
News
Sub-
Editor
News
8: Browse News
9.3: Successful
9.6: press button to change password
9.4: unsuccessful
Chapter 6
EVALUATION
Ref 4.2.1
Actual Results
• Username or password is incorrect.
• Admin successfully logged in.
Status Pass
62
Status Pass
63
Ref 4.2.5
Purpose To successfully Edit News.
Prerequisite Admin must login to the system to be able to manage News.
Test data • All fields of the form must be filled.
• Some fields are left blank (unfilled).
Steps ▪ Open the site and click the desire option to add student.
▪ Fill all the fields required in the form to Edit News.
▪ Press send button.
▪ Open the site and click the desire option to Edit News.
▪ Some fields of the form are left empty.
▪ Press send button.
Expected Results ▪ News successfully Edited.
▪ Please complete all the fields.
▪ News title exists, choose another.
Actual Results ▪ • News successfully Edited.
▪ • Please complete all the fields.
• News title exists, choose another.
Status Pass
64
Ref 4.2.5
Purpose To successfully Add Page.
Prerequisite Admin must login to the system to be able to manage Page.
Test data • All fields of the form must be filled.
• Some fields are left blank (unfilled).
Steps ▪ Open the site and click the desire option to add student.
▪ Fill all the fields required in the form to Add Page.
▪ Press send button.
▪ Open the site and click the desire option to Add Page.
▪ Some fields of the form are left empty.
▪ Press send button.
Expected Results • • Page successfully added.
• • Please complete all the fields.
• Page title exists, choose another.
Actual Results • • Page successfully added.
• • Please complete all the fields.
• Page title exists, choose another.
Status Pass
65
Ref 4.2.5
Purpose To successfully Edit Page.
Prerequisite Admin must login to the system to be able to manage Page.
Test data • All fields of the form must be filled.
• Some fields are left blank (unfilled).
Steps • Open the site and click the desire option to add student.
• Fill all the fields required in the form to Edit Page.
• Press send button.
• Open the site and click the desire option to Edit Page.
• Some fields of the form are left empty.
• Press send button.
Expected Results • Page successfully Edited.
• Please complete all the fields.
• Page title exists, choose another.
Actual Results • Page successfully Edited.
• Please complete all the fields.
• Page title exists, choose another.
Status Pass
66
Ref 4.2.5
Purpose To successfully Add administrative user.
Admin must login to the system to be able to manage
Prerequisite administrative user.
Test data • All fields of the form must be filled.
• Some fields are left blank (unfilled).
Steps • Open the site and click the desire option to add student.
• Fill all the fields required in the form to Add
administrative user.
• Press send button.
• Open the site and click the desire option to
• Add administrative user
• Some fields of the form are left empty.
• Press send button.
Expected Results • administrative user successfully added.
• Please complete all the fields.
• Username or Email Already exists, choose another! .
Actual Results • Administrative user successfully added.
• Please complete all the fields.
• Username or Email Already exists, choose another!
Status Pass
67
Ref 4.2.5
Purpose To successfully Edit administrative user.
Admin must login to the system to be able to manage
Prerequisite administrative user.
Test data • All fields of the form must be filled.
• Some fields are left blank (unfilled).
Steps • Open the site and click the desire option to add student.
• Fill all the fields required in the form to Edit
administrative user.
• Press send button.
• Open the site and click the desire option to
• Edit administrative user.
• Some fields of the form are left empty.
• Press send button.
Expected Results • administrative user successfully Edited.
• Please complete all the fields.
• Username or Email Already exists, choose another! .
Actual Results • administrative user successfully Edited.
• Please complete all the fields.
• Username or Email Already exists, choose another!
Status Pass
68
Ref 4.2.5
Purpose To successfully Add user.
Prerequisite Admin must login to the system to be able to manage user.
Test data • All fields of the form must be filled.
• Some fields are left blank (unfilled).
Steps • Open the site and click the desire option to add student.
• Fill all the fields required in the form to Add user.
• Press send button.
• Open the site and click the desire option to
• Add user
• Some fields of the form are left empty.
• Press send button.
Ref 4.2.5
Purpose To successfully Edit user.
Prerequisite Admin must login to the system to be able to manage user.
Test data • All fields of the form must be filled.
• Some fields are left blank (unfilled).
Steps • Open the site and click the desire option to add student.
• Fill all the fields required in the form to Edit user.
• Press send button.
• Open the site and click the desire option to
• Edit user.
• Some fields of the form are left empty.
• Press send button.
Ref 4.2.5
Purpose To successfully Edit Profile.
Prerequisite User must login to the system to be able to manage Profile.
Test data • All fields of the form must be filled.
• Some fields are left blank (unfilled).
Steps • Open the site and click the desire option to add student.
• Fill all the fields required in the form to Edit Profile
• Press send button.
• Open the site and click the desire option to Edit Profile
• Some fields of the form are left empty.
• Press send button.
Ref 4.2.5
Purpose To successfully Change Profile Password.
Prerequisite User must login to the system to be able to Change Profile.
Test data • All fields of the form must be filled.
• Some fields are left blank (unfilled).
Steps • Open the site and click the desire option to Change pswd
• Fill all the fields required in the form to Change Password
• Press OK button.
• Open the site and click the desire option to Change
• Password
• Some fields of the form are left empty.
• Press OK button.
Ref 4.2.5
Purpose To successfully Register.
Prerequisite User must login to the system to be able to Register.
Test data • All fields of the form must be filled.
• Some fields are left blank (unfilled).
Steps • Open the site and click the desire option to Register
• Fill all the fields required in the form to Register
• Press OK button.
• Open the site and click the desire option to Register
• Some fields of the form are left empty.
• Press OK button.
Chapter 7
7.3. Conclusion
The project will deliver knowledge to its user and will help get updated. The users
don’t have to go through thousands of news to find the one they are interested in, they can
find it in a customized page for them. The video links and images will provide the proof to
the news and assures its authenticity.
Moreover, this will be a new generation to the boring news sites with options that give
users current knowledge without overloading.
74
7.4 Bibliography
1. (2017). Retrieved from code snippets: www.codesnippets.com
2. (2017). Retrieved from code project: www.codeproject.com
3. (2017). Retrieved from W3schools: www.W3schools.com
4. (2017). Retrieved from Lynda: www.lynda.com
5. (2017). Retrieved from Udemy: www.udemy.com
6. GitHub. (2017). Retrieved from www.github.com
7. MSDN. (2017). Retrieved from MSDN: www.msdn.com
8. Quora. (2017). Retrieved from www.quora.com
9. Stack overflow. (2017, 10 Monday). Retrieved from Stack
overflow: www.stackoverflow.com