Beruflich Dokumente
Kultur Dokumente
PROJECT
ON
“E-News Paper”
UNDERTAKEN AT
SHREE SAI INSTITUTE OF TECHNOLOGY
By
Rahul Maru
SUBMITTED TO
Vikram University, Ujjain
In
Partial fulfilment of the requirement for the Award of the Degree of
Bachelor of computer application (B.C.A)
JUNE 2019
GUIDED BY
PROF.AMIT SHARMA
i
ACKNOWLEDGEMENT
The Completion of this undertaking could not have been possible without
the participation and assistance of several persons who helped us directly or
indirectly in this project work. I express our heart full and owe a deep sense of
gratitude to my teacher and my faculty guide Prof. Amit Sharma, Shree Sai
Institute of Technology, for their sincere guidance, encouragement, suggestion,
inspired and have contributed immensely to the evolution of our ideas on the
project.
I also thank our friends who have more or less contributed to the preparation
of this project report. I will be always indebted to them.
Thank you
Rahul Maru
ii
Certificate of the principal
Date………………..
iii
Date………………..
Certificate of Attendance
Signature of guide
iv
DECLARATION
Name & Signature of the guide Name & signature of the student
v
Date………………..
Signature of Guide
vi
LIST OF CONTENTS
Certificate of Attendance iv
Declaration v
vii
2.1.2.3 Program coding 10
2.1.2.4 Documentation and testing 10
2.1.2.5 Operating and maintaining the system 11
3 Analysis 12
3.1 Requirement analysis 13
3.2 Requirement specification 14
3.2.1 Functional requirement 14
3.2.2 Non-functional requirement 15
3.3 Use case analysis 17
3.3.1 Use case diagram 17
3.4 Module specification 17
4 Design 20
4.1 System flow diagram 21
4.2 Sequence diagram 22
4.3 Activity diagram 24
4.4 Data flow diagram 26
4.5 E-R diagram 29
5 Implementation 30
5.1 Platform Used 31
5.1.1 Client side 31
5.1.2 Server side 32
5.2 Technology used 33
5.3 Snapshots 35
5.4 Table Structure 42
6 Testing 45
viii
6.1 Testing techniques 46
7 Conclusion 49
7.2 Advantage 51
7.3 Disadvantage 52
7.4 Conclusion 52
ix
x
CHAPTER 1
INTRODUCTION
1
INTRODUCTION
This project is about the designing of a newspaper which displays the news which
a normal person want to show. This portal is designed by using HTML, PHP, &
CSS technologies and SQL Server. The portal has basically three user parts where
one is registered user (authentication required) who can view, add comment can
have general discussion with another user and another is administrator (has an
authentication) who will manage or control the website and other user (no
authentication required) can only view and search.
2
1.2 What is the Scope of E-News Paper?
The future scope of our project is valuable. Our project time duration was only one
years .In this time interval we developed our project. It was very difficult to
complete project within this time duration. In future if we get chance we will
develop this website for large volume. As for other future developments, the
following can be done:
3
1.3 Existing System
The Administration can upload news & News videos on this website user have to
register when he/she visits first time on E-news paper and after he/she have to
login with their registered password. After the registration the user will get News
updates through his E-mail address so user spent large amount of time on E-news
Paper.
4
1.4 Proposed System
News is very important for every country. It helps them from all aspects such as
education, technology, growth and many more. The list of benefits of news is huge.
Take a look at some major benefits:
News plays a very vital role in the student's life. It acts as a base of education. It
helps them to increase their vocabulary, knowledge on different matters, keeps
them up to date.
Business owners of all sizes may get latest business information related to the
market. What is trending in their business category and more?
Women especially those who are homemakers always look for latest recipes.
Newspapers are their best resources to get the latest recipes information.
The news is the best resource for everyone to be aware of what latest is happening
in the world, in a country or in his/her local area.
The news is the best resource for jobs related information. Almost every
government organization release their latest govt. jobs news.
We can read the latest news anywhere anytime by this system because today the
information or news is the most valuable thing in life
5
CHAPTER 2
SYSTEM DEVELOPMENT
LIFE CYCLE
6
SYSTEM DEVELOPMENT LIFE CYCLE
System Analysis
System Design
Coding
System Testing
System Implementation
System Maintenance.
7
2.1.2 System Development Life Cycle
The software is said to have a life cycle composed of several phases. Each of these
phases results in the development of either a part of the system or something
associated with the system, such as a test plan or a user manual. In the life cycle
model, called the “spiral model,” each phase has well-defined starting and ending
points, with clearly identifiable deliverables to the next phase. In practice, it is
rarely so simple.
8
A GENERIC SYSTEM DEVELOPMENT LIFE CYCLE
During this stage, the problem is defined so that a clear understanding can be
gained of what the system should do, i.e. what the inputs to the system are, what
the output should be, and the operational parameters within which the system is
expected to work. If the new system is to replace an existing system, the problem
may be defined in terms of the additional or enhanced functionality that is required
9
.
This stage, sometimes known as the implementation stage, is where the algorithms
are translated into a programming language, and tends to be the longest phase of
the development life-cycle. In this case, we are using JSP to write the program.
The documentation of the program fulfils two main objectives. The first is to
provide a technical reference to facilitate ongoing maintenance and development of
the software itself. The second is to provide user documentation, i.e. a set of
instructions that inform the user about the features of the software and how to use
them. The aim of software testing is to find any errors (“bugs”) in the program, to
eliminate those errors (a process known as “debugging”), and as far as is
reasonably practicable should be sufficiently rigorous to ensure that the software
will function as expected under all foreseeable circumstances.
10
2.1.2.5 Operating and maintaining the system
Once the software has been “rolled out” and any necessary user training has been
completed, it will be necessary to monitor the performance of the system over time
to ensure that it is behaving as expected. The system will need to be maintained,
and parts of it will need to be upgraded from time to time to handle evolving user
needs or to cope with new problems. Eventually, as the system ages, it may no
longer be able to adequately cope with the demands of a growing number of users,
take advantage of advances in hardware technology, or adapt to a constantly
changing environment. When this time comes, the system will need to be
decommissioned and replaced by a new system. Hence, the software development
life cycle will begin again.
11
CHAPTER 3
ANALYSIS
12
ANALYSIS
13
3.2 REQUIREMENT SPECIFICATION
14
A typical functional requirement will contain a unique name and number, a brief
summary, and a rationale. This information is used to help the reader understand
why the requirement is needed, and to track the requirement through the
development of the system.
The core of the requirement is the description of the required behaviour, which must
be a clear and readable description of the required behaviour. This behaviour may
come from organizational or business rules, or it may be discovered through
elicitation sessions with
Users, stakeholders and other experts within the organization. Software
requirements must be clear, correct, unambiguous, specific and verifiable.
15
The non-functional requirements in our project are:
Time :-
The project should be completed within the stipulated time period.
Cost :-
The cost involved in making the project should be less.
Usability :-
This requirement is present, as this system will interact with user.
Reliability :-
This system must be highly robust.
16
3.3 Use Case ANALYSIS
Use Case
Home Module
Admin Module
User Module
Home Module:
It contains the News Headlines.
Admin Module:
17
Admin module consists of following options. They are
Name
Contact
Password
Image
City
Gender
User Module:
18
In User module user registered on my website then user have to login in this
module after log in into the website user get redirected to the home page
then user can read news whatever they want to read.
19
CHAPTER 4
DESIGN
Design
20
4.1 System Flow Diagram
A System Flow Diagram (SFD) shows the relationships between the major
components in the system. It is a systematic representation of an algorithm or a
process. The steps in a process are shown with symbolic shapes, and the flow of the
process is indicated with arrows connecting the symbols.
In order to improve a process, it is first necessary to understand its operation in
detail. Describing this in text lacks the clarity of a pictorial diagram, where
individual steps are more easily seen. The flowchart is a simple mapping tool that
shows the sequence of actions within a process, in a form that is easy to read and
communicate. The mapping of ‘what follows what’ is shown with arrows between
sequential action boxes, as in the illustration. This also shows the boxes for process
start and end points of which there are normally one each.
Processes become more complex when decisions must be made on which, out of an
alternative set of actions, must be taken. The decision is shown in a flowchart as a
diamond shaped box containing a simple question to which the answer is yes or no.
21
SYSTEM FLOW DIAGRAM
Sequence Diagram
22
23
SEQUNCE DIG. Admin
4.3Activity Diagram
Activity Diagram For Login
Select Role
Welcome Screen
Welcome
24 message
Activity diagram Login.
Enter username
Available
Yes
No
25
Activity Diagram For Forget password
A data flow diagram (DFD) illustrates how data is processed by a system in terms
of inputs and outputs. As its name indicates its focus is on the flow of information,
where data comes from, where it goes and how it gets stored.
The result is a series of diagrams that represent the business activities in a way that
is clear and easy to communicate. A business model comprises one or more data
flow diagrams (also known as business process diagrams). Initially a context
diagram is drawn, which is a simple representation of the entire system under
investigation.
DFD Components:
Entities: -Entities are source and destination of information data.
Entities are represented by rectangles with their respective names.
Process: -Activities and action takes on the data are represented by
circle or Round- edge rectangles.
26
Data Storage:- It can either be represented as a rectangle with absence
of both smaller sides or as an open-sided rectangle with only one side
missing
Data Flow: -Movement of data is shown by pointed arrows. Data
movement is shown from the base of arrow as its source towards head
of the arrow as destination.
28
4.5 ER-Diagram
ER Model is represented by means of an ER diagram. Any object, for example,
entities, attributes of an entity, relationship sets, and attributes of relationships sets,
can be represented with the help of an ER diagram.
29
ER-Diagram
CHAPTER 5
IMPLEMENTATION
30
Implementation
5.1 IMPLEMENTATION
A crucial phase in the system life cycle is the successful implementation of the new
system design. Implementation simply means converting a new system design into
operation. This involves creating computer compatible files, training the operating
staff and installing hardware terminals, and telecommunication network before the
system is up and running.
31
Processor : Pentium 4 or any other higher versions
Hard Disk : Minimum 2 GB Required
Monitor : Any
Software Requirements:-
Language : Php
Monitor : Any
Software Requirements:-
Language : Php
32
Software : MS SQl (Back End)
CSS Stands for "Cascading Style Sheet." Cascading style sheets are used to
format the layout of Web pages. They can be used to define text styles, table
sizes, and other aspects of Web pages that previously could only be defined
in a page's HTML
Why html?
33
Performance is significantly better because JSP allows embedding
Dynamic Elements in HTML Pages itself instead of having a separate
CGI files.
JSP are always compiled before it’s processed by the server unlike CGI/Perl
which requires the server to load an interpreter and the target script each time
the page is requested.
Sublime text 3 :
Best Support for Latest Java Technologies
Netbeans IDE is the official IDE for Java 8. With its editors, code
analyzers, and converters, you can quickly and smoothly upgrade
your applications to use new Java 8 language constructs, such as
lambdas, functional operations, and method references.
Fast & Smart Code Editing
A Sublime is much more than a normal text editor. The Sublime Editor
indents lines, matches words and brackets, and highlights source
code syntactically and semantically. it also provides code templates,
coding tips.
Easy & Efficient Project Management
Keeping a clean overview of large application, with thousands of
folders and files, and millions of lines of code, is a daunting task.
Sublime provide different view of your data, from multiple Folders to
helpful for setting up your website and managing them efficiently.
Apache Tomcat as Server:
Apache Tomcat is an application server from the Apache Software
Foundation that executes Java servlets and renders Web pages that include
Java Server Page coding. Described as a “reference implementation” of the
Java Servlet and the Java server Page specifications, Tomcat is the result of
an open collaboration of developers and is available from the Apache Web
site in both binary and source versions. In the simplest comfit Tomcat runs in
34
single operating system process. The process runs a JVM. Every single HTTP
request from a browser to Tomcat is processed in the Tomcat process in a
separate thread.
5.3SNAPSHOTS
I. Home Page:
35
II. Log In
36
III. Register
37
IV. Lifestyle News
38
V. Entertainment News
39
VI. Local News
40
VII. Contact Us
41
5.4 Table Structure
I. Admin Table
42
II. User Table
43
III. Contact Table
44
CHAPTER 6
TESTING
Testing
Software testing is the process of verifying a system with the purpose of identifying
any errors, gaps or missing requirement versus the actual requirement. Software
testing is broadly categorised into two types - functional testing and non-functional
45
testing.
When to start test activities: Testing should be started as early as possible to reduce
the cost and time to rework and produce software that is bug-free so that it can be
delivered to the client. However, in Software Development Life Cycle (SDLC),
testing can be started from the Requirements Gathering phase and continued till the
software is out there in productions. It also depends on the development model that is
being used. For example, in the Waterfall model, testing starts from the testing phase
which is quite below in the tree but in the V-model, testing is performed parallel to the
development phase.
When to stop test activities: An application can never be 100% bug-free. So to
ascertain when one can stop testing is difficult.
46
Integration testing, also known as integration and testing (I&T), is
a software development process which program units are combined and tested as
groups in multiple ways. In this context, a unit is defined as the smallest testable
part of an application. Integration testing can expose problems with the interfaces
among program components before trouble occurs in real-world program
execution. Integration testing is a component of Extreme Programming(XP), a
pragmatic method of software development that takes a meticulous approach to
building a product by means of continual testing and revision.
It is a level of software testing where individual units are combined and tested as a
group. The purpose of this level of testing is to expose faults in the interaction
between integrated units. Test drivers and test stubs are used to assist in Integration
Testing.
Upon completion of unit testing, the units or modules are to be integrated which
gives raise to integration testing. The purpose of integration testing is to verify the
functional, performance, and reliability between the modules that are integrated.
We normally do Integration testing after “Unit testing”. Once all the individual
units are created and tested, we start combining those “Unit Tested” modules and
start doing the integrated testing.
47
meets the organization’s goals and user needs. This kind of testing is very
important, as well as verification testing. Validation is done at the end of the
development process and takes place after verification is completed.
Thus, to ensure customer satisfaction, developers apply validation testing. Its goal
is to validate and be confident about the product or system and that it fulfils the
requirements given by the customer. The acceptance of the software from the end
customer is also its part.
When software is tested, the motive is to check the quality regarding the found
defects and bugs. When defects and bugs are detected, developers fix them. After
that, the software is checked again to make sure no bugs are left. In that way, the
software product’s quality scales up.
48
CHAPTER 7
CONCLUSION
CONCLUSION
49
7.1 IMPORTANT FEATURE
The system should have a login .
The Admin should have all the type of authority.
The system is very useful for the Authors and Readers that can post or
read News anytime
Performance evaluation.
Video News.
Diffrent Sports Categories.
7.2 ADVANTAGES
GUI:
The proposed system provides better graphical user interface.
Search:
Searching for desired Job become easy and efficient.
Increase work Speed:
Due to automation of some part of the system work speed will increase.
Less Paperwork:
For the proposed system less paper work is required.
Reduce Error:
Due to computerized there are less possibilities of error.
Economical:
Due to minimal errors and work delay proposed system can be
economically to the company.
50
222
7.4 CONCLUSION
It is concluded that the application works well and satisfy the company and
students. The application is tested very well and errors are properly debugged.
The site is simultaneously accessed from more than one system. Simultaneous
browsers. Further enhancements can be made to the application, so that the web
site functions very interactive and useful to existing application .The application
satisfies both the company and students by eliminating more input. The speed
51
CHAPTER 8
BIBLIOGRAPHY
AND
REFERENCES
52
8.1 Websites referred
www.slideshare.net
www.youtube.com
www.javaTpoint.com
www.tutorialspoint.com
www.w3schools.com
www.stackoverflow.com
1. Search Engine
www.google.com
53