Anda di halaman 1dari 44

1

E-News Paper SYSTEM


A PROJECT REPORT Submitted by

Tohid Kovadiya

in partial fulfillment for the award of the degree of

BACHELOR OF ENGINEERING
in

COMPUTER Sc. & ENGINEERING

SHRINATHJI INSTITUTE of TECHNOLOGY & ENGINEERING

(Nathdwara) RAJASTHAN

June-July/2011

Abstract
Towards An Introduction to E-Paper

By

Tohid Kovadiya

In this project we develope a news paper engine using code using php & SQL tools. And is designed for providing highly morphed copies of current news and affairs. Our paper should include the following sections: World News: international news (wars, invasions, inventions, international conflicts, etc.) Metro: national and local news. Sports Editorial Page: editorials, letters to the editor, and political cartoons. Life Styles: entertainment, food, tempo, and comics.

Acknowledgement

I would like to thanks Mr.Harsh Kumar Chopra for trusting me and to share this idea to implement this generous project. A special thanks to Mrs. Monika Kohli for her guidance for encouragement, and support through the training session. This project would have not have been possible without a special support of my project partners. To help me through the process, specially for those sleepless night accompanying me.

TABLE OF CONTENTS

1. Introduction--------------------------------------------------------------------------------- 2 1.1 Purpose---------------------------------------------------------------------------------------- 5 1.2 Scope------------------------------------------------------------------------------------------ 5 1.3 Definitions, Acronyms and Abbreviations----------------------------------------------- 6 1.4 Reference------------------------------------------------------------------------------------- 6 1.5 Technology To be Used--------------------------------------------------------------------- 7 1.6 Overview-------------------------------------------------------------------------------------- 11 2. Overall Description------------------------------------------------------------------------- 15

2.1 Use Case Model Survey--------------------------------------------------------------------- 16 2.2 Architecture diagram & Database Design------------------------------------------------ 19 2.3 Assumptions and Dependencies ----------------------------------------------------------- 38 3. Specific Requirements 3.1 Use-Case Reports ---------------------------------------------------------------------------- 39 3.2 Supplementary Requirements---------------------------------------------------------------- 42

1 Introduction
1.1 Purpose
By publicising the articles we want to integrate news from all different streams. Our project will help users in spreading the knowledge about the Internet. Tasks are gathered writed and prepared for the publication by the administrators. During the whole project in the redactions in all countries more and more users will be engaged. I would also like to ask for help users from other parts of the countries? it would be enabled by the internet communication. During the whole project users from all countries will be responsible for gathering the materials for the article, interviewing, translating the most interesting articles to English gathering photographical documentation, publishing the national issue in the Internet. The imperative aim

7 of the project is to engage users from societies with economical and social dysfunctions in the life of the local society, but not only ? Because the project is a network one, users would be able to make new international relationships and to practice their skills in using English language. Users have the opportunity to work as reporters, journalists, photographers, informatics and translators. The aim of newspaper will also be t show the possibilities of the Internet.

1.2 Scope
The different areas where we can use this application are : Any user can make use of it forproviding information about current It can be used in offices and modifications can be

magazine affairs and latest new s.. easily done according to requirements.

1.3 Definitions, Abbreviations, and Acronyms


SRS - Software Requirement Specification HTML - Hypertext Mark-up Language for design static web pages. HTTP Hypertext Transfer Protocol transaction oriented client-server protocol E-Paper - Electronics news paper CSS Cascaded Style Sheet PHP Hypertext Pre Processor My SQL My Structure Query Language

1.4 Reference

8 Ahlstrom B. Enlund, N. Hedman, L. & Hvitfelt, H. (2001). En foranderlig medievarld teknik, ekonomi och journalistik. Telematik 2004, VINNOVA-rapport VR 2001:13, TELDOK Rapport 141. Beamish, R. (1998). The local newspaper in the age of multimedia, in B. Franklin and D. Murphy (Eds.), Making Local News: Local Journalism in context (pp. 140-53). Routledge, London. Boczkowski, P. J. (2004). Digitizing the News: innovation in online newspapers. MIT Press, New Baskerville. Borjesson, J. (2002). Vem gor nattidningen? Herenco forskningsstiftelse, Jnkping. Carlson, D. (2003). The Online Timeline. Available at http://iml.jou.ufl.edu/carlson/1990s.shtml#1994 [February 23, 2005] Carroll, J. M. (2000). Making Use: scenario-based design of human-computer interactions. Massachusetts Institute of Technology. Chyi, H. I. & Lasorsa, D. L. (1999). Access, use and preferences for online newspapers. Newspaper Research Journal, Vol. 20, No.4, pp. 2-13. Chyi, H. I. & Sylvie, G. (2001). The Medium is Global, the Content is Not: The Role of Geography in Online Newspaper Markets. Journal of Media Economics, Vol. 14, No. 4, pp. 231-248. Coats, R. (2002). Power Users: A Profile of Online Newspaper Consumers. digital edge report, Vol. 1, No.3. Coats, R. (2004). Power Users 2004: Newspapers' Online Audience in a Broadband World. digital edge report, Vol.3, No. 1. Ehn, P., & Kyng, M. (1991). Cardboard computers: Mocking-it-up or hands-on the future. In J. Greenbaum and M. Kyng (Eds.), Design at work (pp. 169-198). Hillsdale: Lawrence Erlbaum Associates, Inc.

9 E Ink (2005). Available at: http://www.eink.com [February 23, 2005].

1.5 Technology To be Used : HTML


HTML is a language for describing web pages.

HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of markup tags HTML uses markup tags to describe web pages

HTML Tags
HTML markup tags are usually called HTML tags

HTML tags are keywords surrounded by angle brackets like <html> HTML tags normally come in pairs like <b> and </b> The first tag in a pair is the start tag, the second tag is the end tag Start and end tags are also called opening tags and closing tags

10

HTML Documents = Web Pages


HTML documents describe web pages HTML documents contain HTML tags and plain text HTML documents are also called web pages

The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page:

CSS
What is CSS?

CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style Sheets can save a lot of work External Style Sheets are stored in CSS files

Styles Solved a Big Problem


HTML was never intended to contain tags for formatting a document. HTML was intended to define the content of a document, like: <h1>This is a heading</h1>

11 <p>This is a paragraph.</p> When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites, where fonts and color information were added to every single page, became a long and expensive process.. In HTML 4.0, all formatting could be removed from the HTML document, and stored in a separate CSS file.

PHP

What is PHP?

PHP stands for PHP: Hypertext Preprocessor PHP is a server-side scripting language, like ASP PHP scripts are executed on the server PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.) PHP is an open source software PHP is free to download and use

What is a PHP File?


PHP files can contain text, HTML tags and scripts PHP files are returned to the browser as plain HTML PHP files have a file extension of ".php", ".php3", or ".phtml"

12

Why PHP?

PHP runs on different platforms (Windows, Linux, Unix, etc.) PHP is compatible with almost all servers used today (Apache, IIS, etc.) PHP is FREE to download from the official PHP resource: www.php.net PHP is easy to learn and runs efficiently on the server side

My SQL

What is My SQL ?

My SQL is a database server My SQL is ideal for both small and large applications My SQL supports standard SQL My SQL compiles on a number of platforms My SQL is free to download and use

What Can SQL do?


SQL can execute queries against a database SQL can retrieve data from a database

13

SQL can insert records in a database SQL can update records in a database SQL can delete records from a database SQL can create new databases SQL can create new tables in a database SQL can create stored procedures in a database SQL can create views in a database SQL can set permissions on tables, procedures, and views

SQL is a Standard - BUT....


Although SQL is an ANSI (American National Standards Institute) standard, there are many different versions of the SQL language. However, to be compliant with the ANSI standard, they all support at least the major commands (such as SELECT, UPDATE, DELETE, INSERT, WHERE) in a similar manner.

Wamp Server
Wamp server is a windows web development environment. It allows you to create web applications with Apache, PHP, My SQL database. It also comes with PHPMyAdmin to manage our databases. WampServer installs automatically (installer), and its usage is very intuitive. You will be able to tune your server without even touching the setting files. WampServer is the only packaged solution that will allow you to reproduce your production server. Once WampServer is installed, you have the possibility to add as many Apache, MySQL and PHP releases as you want.

14 WampServer also has a trayicon to manage our server and its settings.

1.6 Overview
Project is related to magazine & blog which providesreading services to its users. Any person can comment a feedback on realistic blog & news by filling a prescribed form. An admin have rights to upload or add or remove any sort of information to the database of the frame work. It can upload information in form of images, text or pdf format. Architectural Components: Operator : Can enter details related to a particular news or topic.

15

Can provide membership to members .

Admin :
Can upload and add new informatics pages . Can update, create, delete the record of membership as per requirement and implementation plants. Can upload and add text news as pdf

Functionality :

Online membership. Keeps the track of issues and articles. Compose and insert your own articles in each issue of the E-Newsletter. Send a test enewsletter to yourselves or anyone else before sending it to clients.

16

2 Overall Description 2.1 Use case Model Servey

17

In this use case diagram the actor is admin. And he acts four types of
different process with maintaining website and database.

18

S le t U e e c sr Tp ye

E te L g n r o in I D

E te n r P s w rd as o [I c rre t L g I a dP s w rd n o c o in d n a s o ]

[L g a dP s w rdc rre t] o in n a s o o c D c to ire t U e P file s r ro

He can upload, delete, retrieve, the information of user and employee. He have also rights for authentication.

19

2.2 E-R Diagram

1.

This entity relationship diagram provides an abstract idea of various entities in the frame work and there respective relationship as per the attributes.

20

2.

Admin is responsible for managing whole E-news website and database, search facility can also be used by administrator. Manage system and database:

He can enter new news , delete old news and retrive the contacts and feedback of user. He can also update the news by date. Search: the administrator can also search for news and photos or latest cover stories. Employee: An employee can also add the news with the permission of admin from any location with his user id. User: User can register and create account for regular post and news information and stay updated with website.

21

Architectute Diagram:

22

Snapshots

23

Description About Home Page :

This home page of online news paper project in being designed in such a way that it will concise and giving an overview regarding the updated news and blogs of magazine. This all are being fully controlled and retrieved under the rights of validated administrator . End user are being only confined with observing the magazine reports and to comment or to give a feedback for where about the news n blogs .

Keeping this in mind this home page is being provided with a link for contactus that retrieve the control on next page . For authentic use of rights and terms for the framework a login form is being provided . on which the administration of uploading, deleting , adding new blog and magazine in form of pdf and images by the validated administrator is confined. In this form username and password is to be provided by the user those are authentic of the rights of all processes that can also be handling of home page and images to b displayed.

A link named as news is provided to transfer the control to the next page of news that actually confined and designed to provide overall news contents in brief description and heading. Blogs are also a generous part in this framework providing control on the blog page where various blogs and their links are provided.

24

25

Description of news page:

In this page of online newspaper here provided the main concert of news blogs in form of a compact magazine view. Various news with attentive headings are provided with a link button more that conserts the whole news of that field. These news are also provided with latest updated news in just headers and Advertisements are also followed in this page. With links to blog and comtact us form.

26

27

Description about gallery:

When the user is retrieved on this page, an image gallery is being displayed comprising of various pictures about the current affairs in different different streams of interest . The end user when will click over the image is being displayed in its full size And the images are provided with overall description about that image and a cancel option that when accessed the control is again given to the disabled gallery . All such images are being added , can be deleted or updated under the control by the administration concert by the database of its perspective field.

28

29

30

Description of contact form:

As the name suggest this form is about to provide to give feedback or message to be optional for the user. For this a form named as contact form is displayed comprising of various fields and is followed send and reset button.. The fields within the form are of name , email address , subject and message, all these fields are in text boxes.

The information entered is then passed through its respective database and is stored there. These messages are then being retrieved and is being used by admin.

31

Database Design :

32

Login Process with database:

The administrator can login into E-news paper System using administrator
login ID and Password. He can upload news, delete news and retrieve the whole information about user and employee fro database.

Here the user type is only admin.

33

In this database after clicking the submit button of contact us form whole information of user and employee will be retuen in table form in above table. Here the use_id which is auto increment. By using my_fetch_array we can fetch all information.

34

35

Here day by day news with images are directly uploaded by administrator
from upload page in website.here the primary key is image_id which is auto increment. The each row of the table is directly fetched by this primary key by page.

36

DRAWBACKS OF PRESENT SYSTEM


Some of the problems being faced in manual system are as follows: 1. Fast report generation is not possible. 2. Tracing an article is difficult. 3. Information about blogs & articles properly maintained. 4. No central database can be created as information is not available in database. are not

37

FUTURE SCOPE OF APPLICATION :


This application can be easily implemented under various situations. We can add new features as and when we require. Reusability is possible as and when require in this application. There is flexibility in all the modules.

Extensibility: This software is extendable in ways that its

original developers may not expect. The following principles enhances extensibility like hide data structure, avoid traversing multiple links or methods, avoid case statements on object type and distinguish public and private operations.

Reusability:

Reusability is possible as and when require in over

this application. We can update it next version. Reusable software reduces design, coding and testing cost by amortizing effort several designs. Reducing the amount of code also simplifies understanding, which increases the likelihood that the code is correct. We follow up both types of reusability: newly written code within a project and reuse of code. Sharing of previously written

38

Understandability:

A method is understandable if someone other

than the creator of the method can understand the code (as well as the creator after a time lapse). We use the method, which small and coherent helps to accomplish this.

Cost-effectiveness: Its cost is under the budget and make within given time period. It is desirable to aim for a system with a minimum cost subject to the condition that it must satisfy the entire requirement.

Scope of this document is to put down the requirements, clearly identifying the information needed by the user, the source of the information and outputs expected from the system.

39

Conclusion

From a proper analysis of positive points and constraints on the component, it can be safely concluded that the product isa highly efficient GUI based component. This application is working properly and meeting to all user requirements. This component can be easily plugged in many other systems.

40

Assumptions & Dependencies:

This application is used to convert the manualapplication to the online application.

Customized data will be used in this application.

User does not have right to enter information about blogs and text information.

41

Specific Requirements
3.1 Use-Case Reports: News-Administrator : The administrator
can login in E-news paper website by using administrator login id and password. He can upload news, delete news and retrieve the whole information about user and employee fro database.

3.1.1 Authentication>
Brief Description
The administrator can login into E-news paper System using administrator login ID and Password. . He can upload news, delete news and retrieve the whole information about user and employee fro database.
Flow of Events

Basic Flow
3.1.1.1 User Type is selected as administrator. 3.1.1.2 Login ID and Password are Entered. 3.1.1.3 Login ID and Password are authenticated using database. 3.1.1.4 If entered data is correct then administrator is directed to profile

3.1.2 Alternative Flows


3.1.2 If either of login ID or Password is incorrect then Error message is displayed and Login Screen appears again.

Preconditions
None

Post Conditions
None

42

3.2 Maintain website and Database>


Maintain System and Database

3.2

Brief Description
Includes upload e-news, delete e-news and retrieve user and employee contacts and maintain the website details.

3.3 Upload E-news on website>


3.3.1 Upload news
3.3.1.1 Brief Description The administrator can upload the news .

3.3.2 Flow of Events


3.3.2.1 Basic Flow 3.3.2.1.1 Details of new news and latest cover stories, photos are entered. 3.3.2.1.2 news_id is generated, image_id is generated. 3.3.2.1.3 These new informations are automatically added into the database.

3.3.3 Alternative Flows


None.

Preconditions
Administrator is already logged in.

Post Conditions

43 Image_id and news_id is generated.

3.4 Delete E-news from database>


3.4.1 Delete E-news
3.4.1.1 Brief Description The only administrator can delete entire news tables and news ids from e-news database.

3.4.2 Basic Flow


3.4.2.1 Delete e-news photos, information, from database

3.4.3 Alternative Flows


None.

Preconditions
Administrator is already logged in.

Post Conditions
news_id and image_id, previous table is dropped and make for the upcoming new news.

44

3.2 Supplementary Requirements

Server Performance:
The server should provide good performance should be able to

manage with techniques such as load balancing, caching and clustering.

Session Management: The session management capability should reside within the web

server so that developer is least concerned with session management issues.

Server Status: The server should be running for at least 20 hours in order to store and update

the news history of a particular topic.

Anda mungkin juga menyukai