29
THE WEB CALENDAR PROJECT Presented by: Jasmine Thomas Supervisor: John Ebden

THE WEB CALENDAR PROJECT

  • Upload
    magnar

  • View
    49

  • Download
    0

Embed Size (px)

DESCRIPTION

THE WEB CALENDAR PROJECT. Presented by: Jasmine Thomas Supervisor: John Ebden. MOTIVATION. Need for a common platform on which the events held within the University can be advertised Staff – Events List Mailing List Students – Web Calendar - PowerPoint PPT Presentation

Citation preview

Page 1: THE WEB CALENDAR PROJECT

THE WEB CALENDAR PROJECT

Presented by: Jasmine ThomasSupervisor: John Ebden

Page 2: THE WEB CALENDAR PROJECT

MOTIVATION

• Need for a common platform on which the events held within the University can be advertised

• Staff – Events List Mailing List• Students – Web Calendar

• Options were to create something new or configure the existing technologies to work together

Page 3: THE WEB CALENDAR PROJECT

My Project

Page 4: THE WEB CALENDAR PROJECT
Page 5: THE WEB CALENDAR PROJECT

Staff member submits event notification as an e-mail to the mailing list moderator

IMAP mail server

List moderator approves the event notice, and submits it

Event notice is mailed out to allsubscribers of the list and it is archived

Mailing list archive

1

2

3

EVENTS LIST – MAILING LIST

Page 6: THE WEB CALENDAR PROJECT

Database

Event notice stored in a backend database, held for approval by calendar administrator

Administrator logs on And approves the event notice, event notice is now viewable on the Web Calendar

1

2

3

Student logs onto Web Calendar,hosted on the University’s Official siteand submits an event notification

Web Calendar

WEB CALENDAR

Page 7: THE WEB CALENDAR PROJECT

Mailing list archive Database

Component Integration

web server web server

Page 8: THE WEB CALENDAR PROJECT

PROBLEM ENVIRONMENT

• Events List – Mailing List (Mailman)

• Web Calendar – HTML, Perl Scripts, MySQL database.

• Apache Web server + Unix systems

Page 9: THE WEB CALENDAR PROJECT

PHP/PERLDatabase

Mailing list archive

TECHNOLOGIES USED

Apache web servers on Unix box

Mailman MySQL

Page 10: THE WEB CALENDAR PROJECT

PHP

• Low and smooth learning curve• String manipulations capabilities

(Regular Expressions)• Ease with which it can interface with

databases (MySQL)• Intelligent error reporting – debugging

easier• Compatibility with Apache• Cross platform – build on Windows and

port it to Unix

Page 11: THE WEB CALENDAR PROJECT

Events-L available at http://listserv.ru.ac.za/pipermail/events-l/

Page 12: THE WEB CALENDAR PROJECT

ARCHIVE

Page 13: THE WEB CALENDAR PROJECT

MONTHLY SUBMISSIONS

ARCHIVE

Page 14: THE WEB CALENDAR PROJECT

INDIVIDUAL EVENT DETAILS

MONTHLY SUBMISSIONS

ARCHIVE

Page 15: THE WEB CALENDAR PROJECT
Page 16: THE WEB CALENDAR PROJECT
Page 17: THE WEB CALENDAR PROJECT

DATE ISSUE...

Page 18: THE WEB CALENDAR PROJECT

Date Issue – Possible Solutions

-- Educate the users

-- Changing source code for mailman

-- Setup a web template

Page 19: THE WEB CALENDAR PROJECT

EDUCATING THE USERS dd/mm/yyyy: event subject

Page 20: THE WEB CALENDAR PROJECT

Users being users…[dd/mm/yyyy]: [event subject]

dd/mm/yyyy, dd/mm/yy,d/mm/yyyy, d/mm/yy, dd/m/yyyy, dd/m/yy,d/m/yyyy,d/m/yy.

[date format]_[:]_[event subject]

Page 21: THE WEB CALENDAR PROJECT

'/\<A\s+HREF=\"(\d+)\.html\"\>\s*\[Events-L\]\s+

((\d{2}|\d{1})\/(\d{2}|\d{1})\/(\d{4}|\d{2}))

[\s*][:][\s*](.+?)\s*$/'

REGULAR EXPRESSION

Page 22: THE WEB CALENDAR PROJECT
Page 23: THE WEB CALENDAR PROJECT
Page 24: THE WEB CALENDAR PROJECT

Location, Starting time, Host, Reasons for hosting the event etc.

Two options

1. build the link to the file with the details

2. extract all the details from file

MORE DETAILS ABOUT THE EVENT…

Page 25: THE WEB CALENDAR PROJECT
Page 26: THE WEB CALENDAR PROJECT

<!--beginarticle --> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------- <!--endarticle -->

'/\<\!\-\-beginarticle\-\-\>\n+/'

'/\<\!\-\-endarticle\-\-\>\n+/'

Page 27: THE WEB CALENDAR PROJECT

IMPLEMENTATION

• Unix corn command was written to execute the script at regular intervals.

• No hassles porting PHP from Windows to Unix.

to prove that it is all working…

Page 28: THE WEB CALENDAR PROJECT

EXTENSIONS TO THE PROJECT

• creative feature that can be deployed on the University’s main page to increase awareness of the Web Calendar’s improved functionality.

• central moderator for both the Web Calendar and the Events List.

• change the look of the Web Calendar to integrate better with the University’s purple theme.

• avoid duplicate submissions – i.e. reminders posted on the events list.

Page 29: THE WEB CALENDAR PROJECT

QUESTIONS??