The web calendar project
Download
1 / 29

THE WEB CALENDAR PROJECT - PowerPoint PPT Presentation


  • 72 Views
  • Uploaded on

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

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' THE WEB CALENDAR PROJECT' - magnar


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
The web calendar project

THE WEB CALENDAR PROJECT

Presented by: Jasmine Thomas

Supervisor: John Ebden


Motivation
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



EVENTS LIST – MAILING LIST

2

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

List moderator approves the event notice, and submits it

1

Mailing list

archive

IMAP mail server

3

Event notice is mailed out to all

subscribers of the list and it is

archived


WEB CALENDAR

2

Database

1

Event notice stored in

a backend database, held for approval by calendar administrator

Student logs onto Web Calendar,

hosted on the University’s Official site

and submits an event notification

3

Administrator logs on

And approves the event notice, event notice is now viewable on the

Web Calendar

Web Calendar


Component Integration

Database

Mailing list

archive

web server

web server


Problem environment
PROBLEM ENVIRONMENT

  • Events List – Mailing List (Mailman)

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

  • Apache Web server + Unix systems


TECHNOLOGIES USED

Mailman

MySQL

Database

Mailing list

archive

PHP/PERL

Apache web servers on Unix box


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


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



ARCHIVE

MONTHLY SUBMISSIONS


ARCHIVE

MONTHLY SUBMISSIONS

INDIVIDUAL EVENT DETAILS



Date Issue – Possible Solutions

-- Educate the users

-- Changing source code for mailman

-- Setup a web template


Educating the users
EDUCATING THE USERS

dd/mm/yyyy: event subject


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]


REGULAR EXPRESSION

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

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

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


MORE DETAILS ABOUT THE EVENT…

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


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

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

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

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


Implementation
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…


Extensions to the 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.



ad