Você está na página 1de 27

Newspaper Web Designing

Computer Programming Assignment Help

PROGRAMMING ASSIGNMENTS HELP


help@programmingassignmentshelp.net
Introduction
This website is designed to be submitted in organization for the task mentioned in CS5003. This site is
about the newspapers and talks about the summary news on main page itself.

This site is organized in a manner that anyone who is accessing this site can add information on
newspapers, reporters, search the available newspapers, search reporters, and modify the details of
newspaper and reporter if it is required.

Also reporters and newspapers can be deleted from this site.

To perform Addition, Deletion, Modification and Searching of Reporter and Newspapers, One has to
create his login ID on this site.

Pages available in this site are:

Home
About Us
Contact Us
Add Reporter
Add Newspaper
Delete Reporter
Delete Newspaper
Search Reporter
Search Newspaper
View Reporter
View Newspaper
Create User

List of tables used in this project are:

Newspaper
Portal_Reporter
Portal_Users
Feedback

Site Map
Ease of use of a website is influenced by the navigational scheme of the website Navigation
layout provides guidance to users to find desired content as quickly as possible

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Navigation Layout

Database Design
Below are the field description of each table:

PORTAL_USERS:

This table is intended to use by the site user. User has to register before using the functionality of
website such as Add Reporter, Search Newspaper etc.

Field Name Description

Auto Generated field to uniquely identify the


USERID
records in system

USERNAME Username to login into the website

PASSWORD Password to authenticate the user

FIRST_NAME Users First Name

LAST_NAME Users Last Name

Newspaper:

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
This table is intended to store the Newspaper information such as Name of Newspaper, When It was
Started and a short description about the newspaper.

Field Name Description

NEWSPAPER_NAME Stores the name of Newspaper

NEWSPAPER_STARTYEAR Stores when Newspaper was started

Autogenerated system value to uniquely


NEWSPAPER_ID
identify the Newspaper

NEWSPAPER_DESCRIPTION A short description about newspaper

Portal_Reporter:

This table is intended to store the Reporter information such as Name of Reporter, contact number,
specialty etc,.

Field Name Description

REPORTER_FIRST_NAME Stores the first name of Reporter

REPORTER_LAST_NAME Stores the last name of Reporter

REPORTER_GENDER Stores the Gender of Reporter

REPORTER_CATEGORY Stores the speciality of Reporter

REPORTER_CONTACTNO Store contact number of reporter

Autogenerated system value to uniquely


REPORTER_ID
identify the Reporter

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
REPORTER_EMAILID Stores email id of reporter

Usability/Design Principles Used


5 Key principles that I focused during Website Designing of this website are:

Availability and Accessibility


o Availability and accessibility means site shall be available to user whenever it is required.
All the links are cross checked that they are working as per design and user is not getting
any error.
Clarity
o Core of usability is clarity. To achieve clarity, worked on below three parameters
Simplicity
Consistency
Feedback
o Relevancy
Relevancy of information is one of core factor for usability.
o Effective Communication
Effective communication is one of the important factor for usability. User shall
get a clear message after each action he has performed. I have taken care that
appropriate message is being displayed on the site after every action.
o Testing
Its always a better practice to cross verify the things whether they are working
as per the design or not. So my focus was on to be sure that all the functionalities
are working and there is no broken links.

Read about Features of Database Management System Assignment

Screen Dumps

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Home Page

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
About Us

Contact Us

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Login Page

Input Validation-Login Page

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Main Screen Post Successful Login

Add Newspaper

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Input Validation on Add Newspaper

Add Newspaper

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Successful Addition of Newspaper

List of available Newspapers

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Searching of Newspaper-AJAX Based Search

Also Read: E-Commerce Website Designing Assignment

Result of Newspaper Search-AJAX Based Search

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
List of Newspaper to Update

Display of Old Information

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Successful Updation of Details

Display of List of Newspaper Deletion

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Successful Deletion

Input Validation at Add Reporter

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Succefful Addition of Reporter

List of Reporter

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
AJAX based Search for Reporter

Result of AJAX based search of Reporter

List of Reporter to Update Details

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Old Information of Selected Reporter

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Information Update for Reporter

Success Confirmation for Record Updation

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
List of Reporter to Delete

Deletion Confirmation

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
User Creation

Read about: Object Oriented Programming Assignment

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Input Validation at User Creation

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Error in User Creation

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Successful User Creation

Selection of Tools and Issues Faced


I used below tools and programming languages to create this site:

Adobe Dreamweaver
NetBeans
MySQL
JavaScript
CSS
HTML
Java programming language
Java Server Pages (JSP)

Why Adobe Dreamweaver:


Adobe Dreamweaver is very easy to use tool and it can be configured to use in split mode where you
can see the code while the page or vice versa. Creating a website using template can speed up work of
creating individual pages, hence I started out from a standard HTML 5 template offered by Dreamweaver
and customized it as per my needs. When the template was ready I used them in different pages as per
the requirement. For the navigation I used the menu bars provided by Dreamweaver.

Why HTML and CSS:


For page design and layout, I used HTML 5, as this is the most developed HTML available. CSS is used for
styling.

Why JavaScript:
I used Javascript to put validations where input is required from end user so that only authentic
information flown to the backend.

Why NetBeans
NetBeans helps developer to develop java desktop, web applications quickly and easily. Also it helps in
development of HTML5 applications with HTML, JavaScript, and CSS.

NetBeans IDE provides comprehensive support for the latest Java technologies and latest Java
specification enhancements before other IDEs.

The NetBeans Editor indents lines, matches words and brackets, and highlights source code
syntactically and semantically. It also provides code templates, coding tips, and refactoring tools.

The NetBeans editor supports many languages apart from Java, such as XML and HTML, JavaScript and
JSP.

Issues Faced

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
During the web development of this application, I face challenges with creating a template for full site
to maintain consistency. Net Beans helped me a lot to overcome this problem with the code
suggestions.

Second issue that I faced mostly were related to JavaScript that I use for user input validations on
different screens. I tool help from google as well to understand the erros reported from Javascript.

Third issue that I face was to use of Java Beans in JSP pages and passing of parameters when redirecting
from one JSP page to another page. [Read about web designing using JSP architecture.]

I optimized the Javascript to overcome the different issues so that only authentic information is being
flown to the database. Google and W3Schools helped me a lot to clarify my doubts on use of Javascript.

Application Code
Application code are as below:

DBBean.java

package SQLBean;

import java.sql.*;

import java.util.*;

/**

* This class represent all the functionally required to get the database connection in JSP pages and
closing all the open connections when user logs out.

* @author RAGS

*/

public class DbBean

Connection con=null;

/**

*Method to create database connection with MYSQL Database

*@returns connection object

*/

public Connection getConnection() throws Exception, java.sql.SQLException,


java.lang.ClassNotFoundException

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
try

String url = jdbc:mysql://localhost:3306/;

String db = newsportal;

String driver = com.mysql.jdbc.Driver;

String user = portaluser;

String pass = portaluser;

Class.forName(driver).newInstance();

con = DriverManager.getConnection(url+db, user, pass);

System.out.println(Connected to database.);

catch(Exception e)

System.out.println(Exception in GetConnection : + e);

return null;

return con;

/**

*Method to close database connections when user logs out from system

*@returns boolean value

*/

public boolean Closeallconnection()

boolean flag=false;

try

if(con != null)

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
System.out.println(\n #############Closing Connection);

con.close();

con=null;

flag=true;

catch(SQLException sqlEx)

System.out.println(\n Exception in clossing connection>+sqlEx);

flag=false;

catch(Exception e)

System.out.println(\n Exception in clossing connection>+e);

flag=false;

return flag;

Read more about Computer Programming Assignment help

Programming Assignments Help is the best assignment help provider in the United Kingdom.
Our online assignment writing help UK is especially dedicated for the students studying in all UK
colleges and universities. Submit assignment to get the best quality assignment help.

www.programmingassignmentshelp.net help@programmingassignmentshelp.net

Você também pode gostar