CSC 122 Term Project RGBYouth.com Content Management System Dane Young.
-
Upload
toby-bridges -
Category
Documents
-
view
224 -
download
7
Transcript of CSC 122 Term Project RGBYouth.com Content Management System Dane Young.
CSC 122 Term Project
RGBYouth.comContent Management System
Dane Young
Outline
• Introduction
• Three-tier application model
• Database Schema
• ER Diagram (Still changing)
• Demo & future plans
Introduction
• Content Management System
• Update Website without html editing programs We were going to buy Adobe GoLive… I already had Dreamweaver
• Students posting articles
• Youth-leaders updating events
• Dynamic image gallery…down the road
RGBYouth Subsections
• Home
• About Us
• Pics
• News
• Events
• Media
Home
• Title
• Body
• Rock churches: Granite Bay Roseville Rocklin
About
• This is the leader’s section:
• Leader's Name
• Leader's Picture
• Leader's Brief Biography
• Leader's Main phone number
• Leader's E-mail address
Pics
• Title
• Body
• Thumbnail preview of pictures
• Upload new pictures to MySQL database
• Category of Pictures Delete old categories Add new categories
News
• This is the section for new articles
• Display ascending based on date
• Display latest first
• At the top of the page have a previous article and next article button
• We want a total of three pictures available for each article.
• The first picture will be top right
• The second, middle left
• The third, bottom right
Events (UPCOMING)
• At the top, have a link to the pictures section called "Past events"
• Upcoming events will have an "event title," "start time", "time end", "date", "location", "cost" and "other important information", "contact person".
• At the bottom of this page, we will have contact information for all events
• In addition, have a file upload section where they can upload maps for the event.
• Delete old events
Media
• Links to public media we want to promote
• Upload videos for media content
• Check out the latest narnia trailer! Narnia Trailer
Three Tier Application Model
HTML / JAVASCRIPT / CSSHTML / JAVASCRIPT / CSS
PHPPHP
MYSQLMYSQL
Tables
• categories
• content
• images
• users
Categories
Field Type Null Key Default Extra
id int(10) (null) PRI auto_increment
category varchar(30) (null) (null) (null) (null)
type varchar(15) YES (null) (null)
Content
Field Type Key Extra
id int(10) PRI auto_increment
pbody longtext (null) (null)
ptitle varchar(45) (null) (null)
pset varchar(45) (null) (null)
pdate datetime (null) (null)
Images
Field Type Key Extra
id int(11) PRI auto_increment
name varchar(30) (null) (null)
type varchar(30) (null) (null)
size int(11) (null) (null)
content mediumblob (null) (null)
category varchar(15) (null) (null)
text varchar(45) (null) (null)
Users
Field Type Key
id varchar(10) PRI
password varchar(32) (null)
email varchar(45) (null)
type varchar(15) (null)
ER Diagram
Demo & Future Plans
• http://rgbyouth.com/phpmyadmin/login.php