CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

18
CSC 122 Term Project RGBYouth.com Content Management System Dane Young

Transcript of CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

Page 1: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

CSC 122 Term Project

RGBYouth.comContent Management System

Dane Young

Page 2: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

Outline

• Introduction

• Three-tier application model

• Database Schema

• ER Diagram (Still changing)

• Demo & future plans

Page 3: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

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

Page 4: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

RGBYouth Subsections

• Home

• About Us

• Pics

• News

• Events

• Media

Page 5: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

Home

• Title

• Body

• Rock churches: Granite Bay Roseville Rocklin

Page 6: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

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

Page 7: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

Pics

• Title

• Body

• Thumbnail preview of pictures

• Upload new pictures to MySQL database

• Category of Pictures Delete old categories Add new categories

Page 8: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

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

Page 9: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

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

Page 10: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

Media

• Links to public media we want to promote

• Upload videos for media content

• Check out the latest narnia trailer! Narnia Trailer

Page 11: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

Three Tier Application Model

HTML / JAVASCRIPT / CSSHTML / JAVASCRIPT / CSS

PHPPHP

MYSQLMYSQL

Page 12: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

Tables

• categories

• content

• images

• users

Page 13: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

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)

Page 14: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

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)

Page 15: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

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)

Page 16: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

Users

Field Type Key

id varchar(10) PRI

password varchar(32) (null)

email varchar(45) (null)

type varchar(15) (null)

Page 17: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

ER Diagram

Page 18: CSC 122 Term Project RGBYouth.com Content Management System Dane Young.

Demo & Future Plans

• http://rgbyouth.com/phpmyadmin/login.php