Top Banner
1 BSCS FINAL PROJECT PROPOSAL Din News (I Phone App) Term : Fall 2010 Presented by: Registration No: Name: Aleem ullah Toor B-14918 Ali Asad Hassan B-14907 Muhammad Ali Raza B-14926 Department of Computer Science
91

BSCS FINAL PROJECT PROPOSAL

Apr 13, 2017

Download

Software

Ali Raza
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: BSCS FINAL PROJECT PROPOSAL

1

BSCS FINAL PROJECT PROPOSAL

Din News (I Phone App)Term : Fall 2010

Presented by:

Registration No: Name:Aleem ullah Toor B-14918Ali Asad Hassan B-14907Muhammad Ali Raza B-14926

Department of Computer ScienceUniversity of South Asia

Page 2: BSCS FINAL PROJECT PROPOSAL

2

Project TitleDin News Website and IOS ApplicationProject AdvisorOmar RanaParticulars of the students:

S.NoRegistration# Name in Full

CGPA Signatures

1 B-14926 Muhammad Ali Raza 2.98

2 B-14918 Aleem ullah Toor 2.89

3 B-14907 Ali Asad Hassan 2.80

Contact info :Name Email Phone

Muhammad Ali Raza [email protected] 0300-0922228

Aleem ullah Toor [email protected] 0301-6249151

Ali Asad Hassan [email protected] 0334-4477275

Advisor’s ConsentI Mr. ________________________________________________ am willing to guide these students in all phases of above-mentioned project / thesis as advisor. I have carefully seen the Title and description of the project and believe that it is of an appropriate difficulty level for the number of students named above.

Note:Advisor can’t be changed without prior permission of the Manager Projects.

Signatures and Date

Advisor

Page 3: BSCS FINAL PROJECT PROPOSAL

3

ACKNOWLEDGEMENT"First of all we humbly thank GOD Almighty, the Merciful and the Beneficent, who gave us health, thoughts, wisdom and co-operative people to enable us achieve this goal."

We heartily thank to our supervisor, Mr. omar rana, whose encouragement, guidance and support from the initial to the final level enabled us to develop an understanding of the project.

We also wanted to thank my parents who inspired, encouraged and fully supported us for every trials that comes our way, we are grateful for their never ending moral support and prayers which always acted as a catalyst in our academic life.

I’m grateful to my seniors, who made available their support in a number of ways. Who sincerely guide us and service for every activity and task that boost our self-esteem and taught us to be more responsible for our own good and as for as others.

Lastly, we offer our regards and blessings to all of those who supported us in any respect during the completion of the project.

Aleem ullah toorAli asad HassanMuhammad ali raza

Page 4: BSCS FINAL PROJECT PROPOSAL

4

Group member Work in this porject:Muhammad Ali Raza: I will make website using Php and will work on database design and handling using MySQL database.Aleem Ullah Toor: I will work on application side, objective c coding in x code application handling, approving from iTunes and also connectivity to data base from using the web services.Ali Asad Hassan: I will work on designing Frameworks, and I will also work on web services which is acts as a bridge b/w the IOS Application and Website.Client Name:Din News Channel is media channel and newspaper agency that provide news and updating environment of world shared with people.First chapter is “Gathering and Analyzing Information” which includes SRS Document. Its sub sections include Introduction and Scope of the project and Purpose, a comprehensive detail about the Use Cases and Usage Scenarios and Supplementary Requirements. Second chapter is “Designing the Project” which includes Design phase documents. Sections of this chapter are Introduction of Design Document , data flow diagram, entity relationship diagram, activity diagram, Sequence Diagrams , Architecture Design Diagram, Class Diagram, database diagram, deployment diagram and Test Cases.

Third chapter includes Risk analysis some portion of the source code And Test Result of website and IOS app.

Page 5: BSCS FINAL PROJECT PROPOSAL

5

CHAPTER 1: GATHERING AND ANALYSIS INFORMATION

PROJECT BACKGROUND:The Din News Network represents the private television news & current affairs broadcasters. It is the collective voice of the news & current affairs broadcasters in Pakistan .It is an organization funded entirely by its members. The din presents a unified and credible voice before the Government, on matters that affect the growing industry. We are creating a website in Urdu and an IOS application of Urdu news app for this media group.

Clear Statement of the Problem: Din news is very old media group in industry they have their own newspaper and channel but on internet they have no viewership. So our Project helps this media group to attract Urdu viewers and we are sure that our project will help in growth of this media group.Development Stages: This project develops and evaluates world news and updating environments of world including social connection and public connection of the world. The traditional approach has involved individual to all world consultation and

Page 6: BSCS FINAL PROJECT PROPOSAL

6

clarity of mind with situation in the world. This project will use an interactive mobile application to especial delivery to those people which have not time to watch multimedia or reading the newspaper. This application will provide networking opportunities for individual interaction with world. It is sustainable and scalable because it will initially focus on worlds data in the key area of assessment quality. The project draws on design-based research methods to examine early career academics’ experiences of using the web services and website and changing their practice over time. The deliverables include the mobile application, a project website featuring a blog for SET coordinators and more gain access toward world situation, and a project report. This technical proposal has been produced for designing, development and implementation of new emerging media Channel into the market. The Din News Network represents the private television news & current affairs broadcasters. It is the collective voice of the news & current affairs broadcasters in Pakistan .It is an organization funded entirely by its members. The Din News presents a unified and credible voice before the Government, on matters that affect the growing industry.why develop apps for iOS?

The iPhone market is just too big to ignore and although the submission and approval process for the iTunes store is strenuous, there are some significant advantages to developing

Page 7: BSCS FINAL PROJECT PROPOSAL

7

for the iOS platform as opposed to Android. One reason that comes to mind is the lack of fragmentation of devices and OS versions. This immediately makes developing and testing iOS apps significantly easier.

PROJECT SCOPE This project develops and evaluates a website and mobile application for supporting News in Urdu toward world and clarity about environments of world in every field of life. This project, small-scale project but gathering value all over world addresses an Innovation and Development Program of minds clarity, priority by evaluating the effectiveness of a mobile solution in providing highly trusted news results to every individual, and identifying relevant and appropriate new media strategies linked directly to people.This project also addresses a Seed Projects priority by building the capacity of updating people through an interactive mobile application that personalizes recommended news media strategies and delivers ‘point of need’ support The application will: Anticipate fresh incidents detail, immediate professional

media needs by harnessing DIN database information on class size, year level and discipline;

Engage News through rich content, active control and connectedness.

Page 8: BSCS FINAL PROJECT PROPOSAL

8

Provide just-in-time support by delivering personalized, pedagogy-driven resources at the same time as an event in life.

Provide networking opportunities for interaction, a key strategy recommended for enhancing traditional new emerging idea of media strategies.

UNIQUENESS AND MARKET IMPACT OF OUR PROJECT:we know that Urdu language is 3rd in the world according to popularity There are only 3 Urdu news apps in iTunes and after the games the news apps are most popular apps in market so we think there is a huge room for the Urdu news app for iPhone and we think our app will attract viewers and gain popularity very fast By this project we promote the media group. And we are sure that our project will help in growth of this media group.Functional Requirements:this section gives a functional requirement that applicable to the online website and iPhone Application.Specific Requirements:

The Main Features of the website are as under

Requirements for Website

Administrator:

Interface will provide the following features:

1. Login/ Logout

Page 9: BSCS FINAL PROJECT PROPOSAL

9

2. Add the new news

3. Edit new news

4. Delete old news

5. View all news’s

User:Interface will provide the following features:

1. read news’s2. Give feed back3. Comment

NON-FUNCTIONAL REQUIREMENTS:

User Friendly:System will have a user friendly interface and easy to use

Environment.

Search News: Website should have search engine to search news.Browser Support:

System should be able to work with each type of internet browsers.Hardware Compatibility:

System should easily acceptable on Personal Computer.

Page 10: BSCS FINAL PROJECT PROPOSAL

10

Security:Only those Admin are allowed to login the system that are

registered by the administrator.Requirements for iOS App:User:

App will provide the following features:1. read news’s2. Give feed back3. Invite

NON-FUNCTIONAL REQUIREMENTS:

User Friendly:

App will have a user friendly interface and easy to use Environment.

Hardware Compatibility:App should easily acceptable on any iPhone device or

any generation of iPhone.Security:

Only those Admin are allowed to login the system that are

Specific Requirements from customer:

1. Font should be classic Urdu.2. We don’t want super admin panel we have our own

system.

Page 11: BSCS FINAL PROJECT PROPOSAL

11

3. The news should be update once and it will show in app and website at the same time.

4. Data base should be same of website and ios app.5. The website and app should have dominating red color

them.6. Only ten news should show in one page in ios app and

website at a time.

PROJECT COST: The project cost depends upon all the hardware and

devices you need. At the initial stage for demonstration following devices are required.

Costing Detail: Software Cost based on four factors, which are as follows:

1. Software cost2. Hardware cost1. Software cost Internet Connection Cost (Rs.2000 *4 months) 8,000 Electricity Cost 2,000 Printing and Documentations 2,000 domain Cost 3,000

2. Hardware cost Cost for Computers 20,000 Printer Cost 8,000 Others 5,000

Page 12: BSCS FINAL PROJECT PROPOSAL

12

Total: 15,000+33,000=48,000Activity Diagram:

Page 13: BSCS FINAL PROJECT PROPOSAL

13

USE CASE DIAGRAM:

Page 14: BSCS FINAL PROJECT PROPOSAL

14

USAGE SCENARIOS:

1. ADMINISTRATOR: Login:

Page 15: BSCS FINAL PROJECT PROPOSAL

15

Use case diagram: 1

Use case title LoginUse case Id 01Actions Login functionality enable the

1. Administrator

2. UserDescription: This use case will help all the users to login with the system.Alternative Not anyPre-condition: User must be registered to login the system.Post-condition: After performing their work user logout from Exceptions Invalid user name or password or both.

User doesn’t have registered account.

News Information:Use case diagram: 2.1

Use case title Add News

Page 16: BSCS FINAL PROJECT PROPOSAL

16

Use case Id 2.1Actions Admin use this to add new news in Database.

Description: This use case will help the administrator to enter new record.Alternative Not anyPre-condition: Administrator has accessed the System to add new news.Post-condition: New news has been added into Data Base and user . are ready to login the system.

Exceptions Invalid user name or password.

Administrator may abandon the operation any time.

Use case diagram: 2.2

Use case title Edit newsUse case Id 2.2Actions Admin use this to Edit news in Database.

Page 17: BSCS FINAL PROJECT PROPOSAL

17

Description: This use case will help the Administrator to modify the record of . News in the System.Alternative Not anyPre-condition: News record already saved in the Data Base.Post-condition: news record has been Updated into Data Exceptions Administrator may abandon the operation

any time.

User record not available.

Use case diagram: 2.3

Use case title Delete UserUse case Id 2.3Actions Admin use this to Delete news From Database.

Page 18: BSCS FINAL PROJECT PROPOSAL

18

Description: With the help of this use case Admin can delete the . Record of news from the system.Alternative Not anyPre-condition: news must be already added/Save to the Data Base.Post-condition: news Record is Deleted/ Removed From Data Base . and he has no more access to the system.Exceptions Administrator may abandon the operation

any time.

news is not Saved in Database or user record not available

Use case diagram: 2.4

Use case title List View User

Page 19: BSCS FINAL PROJECT PROPOSAL

19

Use case Id 2.4Actions Admin use this to List View for news.

Description: This use case will help the Administrator to see the . Complete list of available news in the system.

Alternative Not anyPre-condition: Administrator has accessed the System to news List View.Post-condition: Complete List of news Should be Display as a . . . . . . Report so the Admin can print this report if needed.

Exceptions Invalid user name or password.

Administrator may abandon the operation any time.

Use case diagram: 2.5

Use case title Logout

Page 20: BSCS FINAL PROJECT PROPOSAL

20

Use case Id 2.5Actions User to LogoutDescription: This use case is for the logoff from website.Alternative Not anyPre-condition: you must be Logged in.Post-condition: User logout from system.Exceptions User doesn’t logged in.

User View:Use case diagram: 3.1

Use case title View NewsUse case Id 3.1Actions User uses this to view a new news in website.

Description: This use case will help the user to read new news.Alternative Not anyPre-condition: user has accessed the System to read news.

Post-condition: New news has been viewed that added by the admin.

Exceptions internet Connection error.

Page 21: BSCS FINAL PROJECT PROPOSAL

21

Use case diagram: 3.2

Use case title Give feed backUse case Id 3.2Actions user use this to give feedback about a news.

Description: This use case will help the user to make contact . . . and give feedback with admin.

Alternative Not anyPre-condition: user has accessed the System to read news.Post-condition: user feedback has been send to admin.Exceptions internet connection error

email error

Use case For iOS App:

Page 22: BSCS FINAL PROJECT PROPOSAL

22

Use case diagram: 1

Use case title View NewsUse case Id 1Actions User uses this to view a new news in App.

Description: This use case will help the user to read news news.Alternative Not anyPre-condition: user has accessed the App to read news..Post-condition: New news has been Added that by . the admin.

Exceptions internet Connection error.

Use case diagram: 2

Use case title Give feed back

Page 23: BSCS FINAL PROJECT PROPOSAL

23

Use case Id 2Actions user use this to give feedback about a news And

Application.

Description: This use case will help the user to make contact . . . and give feedback with admin.

Alternative Not anyPre-condition: user has accessed the Application to read news.

Post-condition: user feedback has been send to admin.Exceptions internet connection error

email error

ADOPTED METHODOLOGYWeb Development Life Cycle:–Many models and techniques are followed for software development these days but most

Page 24: BSCS FINAL PROJECT PROPOSAL

24

widely used is named as Software Development Life Cycle (SDLC) or Waterfall Model. And we use this for our project.

1. Analysis – we analyze that our project has great impact on market and having great interaction for user especially Urdu readers.

2. Objectives – The objective of Din News Network is to provide• To promote, aid, help, encourage, develop, protect and secure the interests of the News Broadcasters in the Pakistani television Industry and other related entities.• To promote awareness about the latest developments in the television industry relating to News Broadcasting and to disseminate knowledge amongst its members and the general public regarding such developments.• To provide for the members a place of meeting so as to enable them to work in consensus to achieve common goals for the overall betterment of their industry and to have a common platform/forum at which they may air their grievances and arrive at solutions.• To promote the growth of friendly relations amongst the members and amongst persons engaged in the production and broadcasting of the television software and especially to encourage co-operation among the members so as to maximize mutual benefits.

Page 25: BSCS FINAL PROJECT PROPOSAL

25

• To protect all its members from persons or entities who carry on unfair and/or unethical practices or who discredit the television industry.• No objects of the Company will be carried out without obtaining prior approval/ NOC from the concerned authority, wherever required.• None of the main objects shall be carried out on commercial basis.

3. Initial Design – Once the concept has been approved, it is time for web designers and developers to work together create a design. This is where the first seeds of website and app will be created. Constant revision should be expected since developers are still brainstorming.

4. Design Approval –we need to have the approval of the managers or even the company owner to move on. But this is also an initial design except that the design should be more or less the same for the developers to work on. Only additional features or “work around” will be done in the website.

5. Web Development – This time, developers will work on the actual function of the website. Although it is already an eye-candy for the owner and different users, it is essentially a shell with limited features. Constant development, review of function and constant revision are also expected in this stage.

Page 26: BSCS FINAL PROJECT PROPOSAL

26

6. Prototype – at last, by this time web developers and designers will now come up with a fair representation of the website. Usually if a website and app will be used for public use. This stage is aimed to gauge the interest of those chosen to test the website.If everything is good, the website will be going out and will now be on open testing stage to test if the website could handle such traffic or if the website could handle thousands of users at the same time. The hardware such as the server will also be tested at this stage.

6. Launching – Although a beta version of website and application ready .then an open invitation to everyone to check and use , it is still buggy and revisions has to be done. But when everything has been cleared out, it is now time to formally launch the website, telling the world about a great new website and application that has been developed for productive use. If the developing company or the funding source is popular enough, it could even be placed under serious scrutiny by different tech bloggers.

7. Maintenance – Just like in software, the website and the application should have their own maintenance crew. However, they will not be actively looking for bugs like in the beta version, but the crew will essentially be on a passive mode and

Page 27: BSCS FINAL PROJECT PROPOSAL

27

their functions could be limited to checking the website and answering to problems instead of looking for them.

Why we use waterfall model: This model is simple and easy to understand and use. It is easy to manage due to the rigidity of the model –

each phase has specific deliverables and a review process.

Page 28: BSCS FINAL PROJECT PROPOSAL

28

In this model phases are processed and completed one at a time. Phases do not overlap.

Waterfall model works well for smaller projects where requirements are very well understood.

It is simple and disciplined approach. Simple and easy to use.

WORKING DETAIL:Phase 1: (Gathering & Analyzing Requirements)Gathering & analyzing requirement phase is the process of understanding the customer needs and expectations from a proposed system or application and is a well-defined stage in the Software Development Life Cycle model. Requirements are a description of how a system should behave or a description of system properties or attributes. It can alternatively be a statement of ‘what’ an application is expected to do. At first phase we will define the scope, vision and requirements for our project. As well as the functional, nonfunctional requirements in this phase are elaborated. Use cases for our system and their scenarios will be defined. Phase 2: (The Planning Phase)The Planning Phase is the second phase in the project life cycle. It involves creating of a set of plans to help guide your team

Page 29: BSCS FINAL PROJECT PROPOSAL

29

through the execution and closure phases of the project. The plans created during this phase will help you to manage time, cost, quality, change, risk and issues. They will also help you manage staff and external suppliers, to ensure that you deliver the project on time and within schedule.In this phase the information gathered in our previous phase will be evaluated. Time line in which this project should be completed, the cost which will be allocated to our project and all the basic planning activities will be done in this phase.Phase 3: (Analysis and Design Phase)Analysis and Design Phase is a phase in Project Management for Application or Software. During this process, a consultant or analyst will do depth analysis on the current situation and relate them with the application, software, or systems that are going to be implemented or enhanced.This phase is about working on the design of our system. We define all the aspects of design of system. Our work will focus on the architecture of the system, internal and external entities, relations among these entities and to the others, etc. After completing the basic design phase we will build our system here.Phase 4: (Development Phase)The most important task in the development phase is to build the application. It is common wisdom that it's easier to build an application when a clear set of expectations and properly

Page 30: BSCS FINAL PROJECT PROPOSAL

30

defined and tested product architecture exists. The work in this phase should be much more straightforward as a result of the work done in the preceding phases.Implementation of our system is done. We start working on the system deployment, installation, working etc.Phase 5: (Operation & Maintenance Phase)More than half of the life cycle costs are attributed to the operations and maintenance of systems. In this phase, it is essential that all facets of operations and maintenance are performed. The system is being used and scrutinized to ensure that it meets the needs initially stated in the planning phase. Problems are detected and new needs arise.Verification and testing system related activities are performed in this phase. Different type of testing is performed here and if some problem is detected, we will solve that out.This phase is related to work on the maintenance of our system after deploying it and if needed.In all the above phases, we will be analyzing risks for each phase at its start and will resolve them before entering into next phase.Project Structure: It defines the approach the team will take to organize and manage the project.

The key components of the project structure document are:

Page 31: BSCS FINAL PROJECT PROPOSAL

31

o Team and structureo Project schedules

Team Structure:Project Managers:Muhammad Ali Raza ,Aleem ullah Toor and Ali Asad (they will manage overall activities of project)Developer:

Muhammad Ali Raza Aleem Ullah Toor Ali Asad Hassan

Tester: Project manager

Muhammad Ali Raza Aleem Ullah Toor Ali Asad Hassan

Project Supervisor Sir omar rana

(He will test / verify each & every stage / process of project development)

Page 32: BSCS FINAL PROJECT PROPOSAL

32

Activity Schedule:

64

13

44

12

4

12

1

Activity Schedule:

Market ResearchDefine SpecificationProject PlanningDesign PhaseDevelopment PhaseTesting of ProjectProject DocumentationPresentation

Task Name Duration Start FinishFinal Project 120 Days 01-11-14 26-02-14

Market Research 6 days 01-11-14 06-11-14Meeting with People 4 days 01-11-14 04-11-14

Market Value of Project 1 day 05-11-14 05-11-14

Scope in Market 1 day 06-11-13 06-11-14Define Specification 4 days 08-12-14 11-12-14

Define Tasks 2 days 08-12-14 09-12-14Define Architecture 2 days 10-12-14 11-12-14

Project Planning 8 days 12-12-14 20-12-14Functionality of

Software1 day 12-12-14 12-12-14

Software Design 3 days 13-12-14 16-12-14Design Result 1 day 17-12-14 17-12-14

Modules 2 days 18-12-14 19-12-14Value of Project 1 day 20-12-14 20-12-14

Design Phase 13 days 22-12-14 05-1-14Design Specification 3 days 22-12-14 24-12-14Mockup of Design 3 days 25-12-14 27-12-14Approval of Design 2 days 29-12-14 30-12-14Changes in Design 3 days 31-12-14 02-1-15

Page 33: BSCS FINAL PROJECT PROPOSAL

33

Final Design Mockup 2 days 03-1-15 05-1-15Development Phase 44 days 06-12-14 27-2-15Determine type of

Software2 days 06-01-15 07-01-15

Define Content Strategy

3 days 08-01-15 10-01-15

GUI Development 10 days 12-01-15 22-01-15GUI for Admin 5 days 12-01-15 16-01-15

GUI for Employees 5 days 17-01-15 22-01-15Database Development 11 days 26-01-15 07-02-15

Database Connectivity 3 days 09-02-15 11-02-15Project Programming 14 days 12-02-15 27-02-15

Testing of Project 12 days 28-02-15 11-02-15Unit Testing 2 days 28-02-15 30-02-15

Functional Testing 3 days 01-02-15 03-02-15Testing of Database

Operations3 days 04-02-15 07-02-15

Project Proposal 4 days 08-02-14 11-02-15Resolve Issues 4 days 14-02-15 17-02-15

Project Documentation 12 days 18-02-15 30-02-15

Presentation 1 day

Gantt chart:

Page 34: BSCS FINAL PROJECT PROPOSAL

34

Work Break down Structure

Page 35: BSCS FINAL PROJECT PROPOSAL

35

PLATFORM & TECHNOLOGIES:

Page 36: BSCS FINAL PROJECT PROPOSAL

36

Objects ToolsDevelopment hardware For App

Macintosh

Development Software For App

X-Code

Front-End language For App Mac IOSDesigning Language Objective CWeb services Language JsonBack-End Data Base MySQL ServerLanguage Java And PHPConnectivity Links WebsiteLaunching Web-server For App

Apple Store

Development Software For Web

Dreamweaver

CHAPTER 2:

Page 37: BSCS FINAL PROJECT PROPOSAL

37

DESIGNING THE PROJECTINTRODUCTION:

In this chapter we will discuss each and everything in detail of our project “Din News website/IOS-app in Urdu”. Later on this file would help in developing the right system. As in this file we will elaborate in detail Data Flow Diagram, Entity Relationship diagram, Activity Diagrams, Sequence Diagrams, and Architecture Design Diagram, Database Design, Interface Design, Deployment Diagram etc. These diagrams are proved most effective in the developing of any system or software.

Analysis and Design are considered very decisive in the whole development cycle. The design phase appears to be very expensive to solve in the later stages of the software development. Special care must be taken at this stage. The logical system of the product is also developed in this phase.

Page 38: BSCS FINAL PROJECT PROPOSAL

38

DATA FLOW DIAGRAM (DFD) In Website:

Page 39: BSCS FINAL PROJECT PROPOSAL

39

DATA FLOW DIAGRAM (DFD) In IOS APPlication:

Page 40: BSCS FINAL PROJECT PROPOSAL

40

Sequence DiagramsAdmin Login:

Page 41: BSCS FINAL PROJECT PROPOSAL

41

2) Add Post:

Page 42: BSCS FINAL PROJECT PROPOSAL

42

3)Edit Post:

Page 43: BSCS FINAL PROJECT PROPOSAL

43

4) Delete Post:

Page 44: BSCS FINAL PROJECT PROPOSAL

44

Logout:

Page 45: BSCS FINAL PROJECT PROPOSAL

45

Use Case For iOS:

View news:

Page 46: BSCS FINAL PROJECT PROPOSAL

46

View detail news:

Page 47: BSCS FINAL PROJECT PROPOSAL

47

Class Diagrams:

Login:

Page 48: BSCS FINAL PROJECT PROPOSAL

48

Add Post:

Page 49: BSCS FINAL PROJECT PROPOSAL

49

Edit Post:

Page 50: BSCS FINAL PROJECT PROPOSAL

50

DATABASE DESIGN:This term is used to describe many different parts of the design of whole database system. Principally, it can be thought of as the logical design of the base data structures that is used to store the data. In the relational model these are the tables and views. In an object database the entities and relationships map directly to object classes and named relationships. The Database Design will display the detail of the tables used in the project for the storage the data. Database design will not only show the tables but also it shows the table’s fields along with their relationships.

Page 51: BSCS FINAL PROJECT PROPOSAL

51

TEST CASES: A Test Case specifies the pretest state of the IUT and its environment, the test inputs or conditions as well as the expected result. The expected result specifies what the IUT should produce from the test inputs. This specification includes messages generated by the IUT, exceptions, returned values, and resultant state of the IUT and its environment. Test cases may also specify initial and resulting conditions for other objects that constitute the IUT and its environment.

ADMINISTRATOR

Test case title

Login

Test case Id 01

Description: This will test “login” functionality of the system.

Pre-condition: User must be registered to login the system.

Action:

Enter User ID

Enter password

Press Login button

Page 52: BSCS FINAL PROJECT PROPOSAL

52

Tested by

Result Pass/ fail

Post condition: User will be logged in the system.

Test case title

Add news

Test case Id 02

Description: This will test “add news” functionality of the system.

Pre-conditions:

Administrator has accessed the System to Add News.

User must be registered.

Actions: Click New

Enter Post Title

Enter Post Author

Enter Post Keywords

Enter Post Image

Page 53: BSCS FINAL PROJECT PROPOSAL

53

Press /Click Save

Tested by

Result Pass/fail

Post-condition: News has been added

Test case title

Edit News

Test case Id 03

Description:

This will test “edit news” functionality of the system.

Pre-conditions:

Administrator has accessed the System to Edit User.

News must be already added to the Data Base.

Action:

Click Edit

Enter Post Title

Enter Post Author

Enter Post Keywords

Enter Post Image

Page 54: BSCS FINAL PROJECT PROPOSAL

54

Press /Click Save

Tested by Ali razaResult Pass/fail

Post-condition:

News information has been Updated.

Test case title

Delete News

Test case Id 04

Description:

This will test “delete News” functionality of the system.

Pre-conditions:

Administrator has accessed the System to Delete User.

User must be already added/Save to the Data Base.

Actions:

Select News

Click/Press Delete

Page 55: BSCS FINAL PROJECT PROPOSAL

55

Tested by Ali raza

Result Pass/fail

Post-condition:

News is Deleted/ Removed From Database.

Test case title

List View news

Test case Id 05

Description:

This module will help the Administrator to see the complete list of news.

Pre-conditions:

Administrator has accessed the System to User List View.

news must be already added/Save into the Data Base.

Action:

Page 56: BSCS FINAL PROJECT PROPOSAL

56

Select list view

Tested by

Result Pass/fail

Post-condition:

Complete List of news Should be Display as a Report if any Available.

Test case title

Log-Out

Test case Id 06

Description:

This will test “log-out” functionality of the system.

Pre-condition:

User must be Logged in.

Action:

Click on logout button on the home page of User interface.

Tested by

Page 57: BSCS FINAL PROJECT PROPOSAL

57

Result Pass/fail

Post-condition:

User logout from system.

Test Case for iOS Application:

Test case title

List View news

Test case Id 01

Description:

This module will help the user to see the complete list of news in title form.

Pre-conditions:

He has accessed to application in the IPhone .

news must be already added/Save into the Data Base.

Action:

Open application

Tested by Aleem ullah toor

Page 58: BSCS FINAL PROJECT PROPOSAL

58

Result Pass/fail

Post-condition:

Complete List of news Should be Display as a Report if any Available.

Detail view news:

Test case title

Detail View news

Test case Id 02

Description:

This module will help the user to see the complete detail view of news.

Pre-conditions:

He has accessed to application in the Iphone .

news must be already added/Save into the Data Base.

Action:

Open application

Click on desired news

Page 59: BSCS FINAL PROJECT PROPOSAL

59

Tested by Aleem ullah toorResult Pass/fail

Post-condition:

Detail of news Should be Display as a Report if any Available.

JSON DESIGN AND CONECTIVITY:

What is JSON?

JavaScript Object Notation (JSON) is a lightweight data-interchange format inspired by the object literals of JavaScript. JSON values can consist of:

objects (collections of name/value pairs)

Page 60: BSCS FINAL PROJECT PROPOSAL

60

arrays (ordered lists of values) strings (in double quotes) numbers True, false, or null.

Although JSON is based on a subset of JavaScript, it is a language-independent text format that makes use of conventions familiar in many programming languages facilitating data interchange among them.[1]

JSON Support in PHP and JavaScript

JSON encode/decode functions have been available in PHP since version 5.2. JavaScript's JSON stringify/parse methods are supported by all current browsers. JSON libraries and/or built-in support are provided for many other programming languages as well.When passing data from PHP to JavaScript, the PHP json_encode function is used to return a string containing the JSON equivalent of the value passed to it. You can then use the JavaScript JSON.parse method to safely handle the data and make it available in a form usable by JavaScript.

Pass PHP Arrays to JSON and JS with json_encode:The PHP json_encode function translates the data passed to it to a JSON string which can then be output to a JavaScript variable. We demonstrate on this page with single level arrays. Other pages demonstrate using json_encode with multi-dimensional arrays and scalar values.

Page 61: BSCS FINAL PROJECT PROPOSAL

61

The PHP json_encode function returns a string containing the JSON equivalent of the value passed to it as we demonstrate here with a numerically indexed array:<?php$ar = array('apple', 'orange', 'banana', 'strawberry');echo json_encode($ar); // ["apple","orange","banana","strawberry"]?>

Connection from I phone to JsonThe network call NSURL Connection is the object that handles the HTTP request. You basically define the URL you are connecting to, implement

Page 62: BSCS FINAL PROJECT PROPOSAL

62

the required delegates, and then get notified when the request is complete in the connectionDidFinishLoading method.Parsing the JSONNSJSON Serialization seems to currently be the best way to take your URL response and convert it into an iOS JSON object.With this object you can then parse the response, looking at the keys and values, and then manually determine which elements you want to extract. Show in fig.

Page 63: BSCS FINAL PROJECT PROPOSAL

63

CHAPTER 3:Risk Analysis“Risk analysis is a technique to identify and access factors that may jeopardize the success of a project or achieving a goal. This technique also helps to define preventive measures to reduce the probability of these factors from occurring and identify countermeasures to successfully deal with these constraints when they develop to avert possible negative effects on the competitiveness of the company.”

Purpose of the Risk Management Plan A risk is an event or condition that, if it occurs, could have a positive or negative effect on a project’s objectives. Risk Management is the process of identifying, assessing, reporting and monitoring risks. This Risk Management Plan defines how risks associated with the project will be identified, analyzed and managed. It outlines how risk management activities will be performed, recorded and monitored throughout the lifecycle of

Page 64: BSCS FINAL PROJECT PROPOSAL

64

the project and provides templates and practices for recording and prioritizing risks.

Risk Management ProcedureRisk IdentificationRisk identification will involve the project team, appropriate stakeholders and will include evaluation of environment factors, organizational culture and the project management plan including the project scope. Careful attention will be given to the project deliverables, assumptions, constraints, WBS, cost estimation, resource plan and other key project documents.A Risk Management Log will be generated and updated as needed and will be stored electronically in the project library.

Risk Analysis All risks identification will be assessed to identify the range of possible project outcomes. Qualification will be used to determine which risks are the top risks to pursue and respond to and which risks can be ignored.

Qualitative Risk Analysis The probability and impact of occurrence for each identified risk will be assessed by the project manager, with input from the project team using the following approach:Probability

Page 65: BSCS FINAL PROJECT PROPOSAL

65

High --- Greater than (70%) probability of occurrence. Medium --- Between (30%) and (70%) probability of

occurrence. Low --- Below (30%) probability of occurrence.

Impact High --- Risk that has the potential to greatly impact

project cost, project schedule or performance. Medium --- Risk that has the potential to slightly impact

project cost, project schedule or performance. Low --- Risk that has the potential to little impact project

cost, project schedule or performance. Quantitative Risk Analysis Analysis of risk events that have been prioritized using the qualitative risk analysis process and their effect on project activities will be estimated, a numerical rating is applied to each risk based on this analysis and then documented in this section of the risk management plan.Risk Response Planning Each major risk will be assigned to a project team member for monitoring purposes to ensure that the risk will not “fall through the cracks”. For each major risk, one of the following approaches will be selected to address it:

Avoid – Eliminate the threat by eliminating the cause Mitigate – Identify ways to reduce the probability or the

impact of the risk

Page 66: BSCS FINAL PROJECT PROPOSAL

66

Accept – Nothing will be done Transfer – Make another party responsible for the risk (by

insurance, outsourcing, etc.) For each risk that will be mitigated, the project team will identify ways to prevent the risk from occurring or reduce its impact or probability of occurrence. This may include prototyping, adding tasks to the project schedule, adding resources, etc. For each major risk that is to be mitigated or that is accepted, a course of action will be outlined for the event that the risk does materialize in order to minimize its impact.

Risk Monitoring, Controlling & Reporting The level of risk on a project will be tracked, monitored and reported throughout the project lifecycle.A “Top 10 Risk List” will be maintained by the project team and will be reported as a component of the project status reporting process for the project.All project change requests will be analyzed for their possible impact to the project risks. Management will be notified of important changes to the risk status as a component to the “Executive Project Status Report”.Tools & PracticesA Risk Log will be maintained by the project manager and will be reviewed as a standing agenda item for the team meetings.

Page 67: BSCS FINAL PROJECT PROPOSAL

67

Testing:Website Testing: We use http://www.websitetest.com/ and http://www.webpagetest.org/ for testing our websiteand test results are showing down

Page 68: BSCS FINAL PROJECT PROPOSAL

68

Waterfall ViewStart Render msFirstPaint

DOM Content Loaded

On Load Document Complete

Page 69: BSCS FINAL PROJECT PROPOSAL

69

Connection ViewDNS Lookup

Initial Connection

Start Render

DOM Content Loaded

On Load

Document Complete

Page 70: BSCS FINAL PROJECT PROPOSAL

70

Testing iOS Application:

Page 71: BSCS FINAL PROJECT PROPOSAL

71

Developing applications for iOS is not like developing applications for Android OS. Google is much more open to what can submit to the Google Play store, whereas Apple has strict guidelines that could stop your development efforts in their tracks; this will become a balancing act of developing useful mobile apps and garnering Apple’s approval.

If you were planning on using that cool third-party API that worked on the Android version of your own app, you can just throw that out the window. Chances are it isn’t approved by Apple. It is enough to make many mobile app developers weary of developing for iOS.

So then why develop apps for iOS?

The iPhone market is just too big to ignore and although the submission and approval process for the iTunes store is strenuous, there are some significant advantages to developing for the iOS platform as opposed to Android. One reason that comes to mind is the lack of fragmentation of devices and OS versions. This immediately makes developing and testing iOS apps significantly easier.

Fragmentation

Due to the closed nature of iOS, fragmentation is not as big of an issue as Android, however that doesn’t mean there isn’t some work to be done in this sector of testing. Apple currently has several supported devices and your testing shouldn’t just include iPhone. The iTouch and iPad have access to the same

Page 72: BSCS FINAL PROJECT PROPOSAL

72

iTunes store as their iPhone counterpart, but some of the requirements in screen resolution and aspect ratio will differ.

Another important difference across devices is different generations of processors, memory and storage space available. These are all important aspects to test. As with other mobile platforms, you may use emulators for testing, but keep in mind that emulators will only give you a broad picture of how your app will respond on a device. Batter life, processing power, and memory will be allocated much differently in an emulator than on an actual iOS device.

App Store Approval

We had to go through the approval process in with Apple in order to be approved and certified. The process has changed every year . Keeping up with Apple’s requirements for app submission is work in itself and if you don’t meet their requirements, which can be subjective at times, you can plan on your project going into a holding pattern.

Before you start developing, and especially before you start testing your application, you will need to check the requirements to see if your app is even feasible on the iTunes marketplace. Consider this: Apple will even reject your app proposal if your app has no perceived usefulness or if you are targeting a specific market while leaving other markets out.

we can imagine a situation where a development team spends a significant amount of time developing an iOS app just to be

Page 73: BSCS FINAL PROJECT PROPOSAL

73

denied any chance of being accepted into the iTunes marketplace–That is a truly grimacing thought.

Of course, that seems like a very grim view of the iTunes marketplace, but there are some serious benefits to this approval process. Firstly, security and privacy is very important to all users in any market. If your app willingly grabs users’ information without their consent, you can bet you will get a rejection letter from Apple.

Before you even start to develop an app, it will be wise to check out the App Review Guidelines. Keep in mind that there are different guidelines for Mac and iOS.

Beta Testing

Beta testing is where we will need to start using the App Distribution Guide provided by Apple. An Ad Hoc provisioning profile will need to be created for distribution of the beta version of your mobile application.

This will allow your beta users to use your app without needing access to Xcode (the only development IDE for iOS applications).

This is also a great way to get your team use to the submission process that Apple uses.

Conclusion

Page 74: BSCS FINAL PROJECT PROPOSAL

74

Unlike Android, Apple has gone to great leaps to make sure that apps provided on the iTunes store are of the utmost integrity, so the hassle does force your app to have a better chance of being well-received.

Of course, bugs can still make it passed the submission process and that is on you to use processes, such as manual testing and test automation when necessary to maintain mobile app quality. Remember, app quality equals user acceptance and that’s the road to app success.

The End