Test Poster Font Arial – pt 44

Download Report

Transcript Test Poster Font Arial – pt 44

Senior Project – Computer Science – 2005
Transforming the e-Concordiensis
Edward Maas
Advisor: Prof. Cass
Technology Used
Motivation
There is little dispute that one of the primary goals of the press is to convey information. Traditionally,
this was done by printing it in the form of newspapers and magazines. Yet over time, technology, such
as the internet, has made it easier and quicker for people to get printed information from their favorite
sources. Today, most publications offer an electronic edition, but not all of these e-editions are created
equally. Some are rather complicated for their staff to create while others are painful to read. My senior
capstone design project addresses both of these potential problems through the creation of a custom
package designed for school newspapers, specifically the Union College Concordiensis.
Open Source JAVA Tools:
 Model-View-Controller for the Web




Handwritten
HTML with
PDF Files
Hibernate (http://www.hibernate.org/ )
Image Manipulation
 Image Conversion (TIFF-to-PNG)

Existing Infrastructure
Struts (http://struts.apache.org/ )
Object / Relational Persistence and Query Service
Tiff2png tool (http://www.libpng.org/pub/png/apps/tiff2png.html)
Image Scaling

JMagick(http://www.yeo.id.au/jmagick/)
How it works:
Browser (Mozilla, IE, Firefox, Safari)
Model
2
Current Weekly Process
Tuesday
Editors review
articles and
begin layout in
Quark
Wednesday
Writers email
an article to
appropriate
section editor
Current process that the
Concordiensis Editors follow
each week to create the
newspaper! New version will
allow each editor to create his
or her electronic edition
individually.
Photos added
and edited by
photo editor.
Each section
sends 1 quark
file to be
printed
View (JSP)
Webmaster
uses Quark
files to create
PDF files
4
5
Controller
2
Sunday
STRUTS
Presentation ( jsp includes & tiles )
Object 2 Relational
(Hibernate)
Java Server (tomcat)
1
3
Relational Database (MySQL 4.1)
Requests are made to the application by people surfing the site. These requests are passed
directly to the model portion of struts. The model then contacts the controller to decide the
appropriate action to take with the given request. For example, if the user is filling out a form
and misses a required field, the controller will redirect the user back to the page he or she has just
worked on to correct the mistake. At step 3, the controller may contact the database via a layer
of persistent objects as part of the package Hibernate. In doing this, the user does not need to
execute SQL commands, but rather can execute queries via a Hibernate Query Language. Rather
than returning fields, Hibernate returns lists of “value objects”. Finally, at step 4, the controller
passes data to the view which is then reassembled in step 5 using additional presentation layer
techniques, like merging additional jsp files for header and footer.
Webmaster
hand creates an
index page
summary
Thursday/
Friday
Hibernate Value Objects
private Integer Id;
Entity Relationship Diagram
Figure 1-1 – Weekly process used by Union College Concordiensis
Editorial Staff
public Integer getId() {
return this.Id;
}
public void setId(Integer Id) {
this.Id = Id;
}
Layout Implementation
Critical Forms
Name
CreateSection
CreateEdition
AddStaff
AddArticles
AddPhotos
AssignPhoto
PublishEdition
SearchForm
SigninForm
Purpose
Form for the editor-in-chief to create a new section
Form for the editor-in-chief to create a new edition
Form for the editor-in-chief to add a new member of the
staff
Form for the editor-in-chief or section editor to add
articles
Form to upload photos
Form to add a photo to an article
Form for editor-in-chief to publish an edition
Form for users to search edition and archives
Login form for admin users
Custom
Layout Tag:
StoryTag.java
AssignPhoto
Form
Next Steps and Future Work




Start product beta testing with Concordiensis Editors
Deploy Database and Application on VU
Performance Test under actual traffic!
Integrate Feeds from College News Wire
Struts at work –
CheckImages.jsp