/xml-timetabler

A simple PHP framework for inputting meeting/events to an xml file and then reading and updating that file as needed.

Primary LanguagePHP

XML Timetabler

Logo
Contents
  1. Introduction
  2. Why Do This?
  3. Why No Database?
  4. Before Implementing
  5. What Do I Need to Run This?

Introduction

Welcome to XML Timetabler, a simple PHP framework for inputting meeting/events to an XML file and then reading and updating that file as needed.

Please note that this project is a means to an end and a proof of concept. The overall goal was to develop an application that uses XML instead of a traditional database.

Why Do This?

This project exists as a means to an end and also as a proof of concept. The overall goal was to develop an application that used XML instead of a database at all.

Why No Database?

Because I don't think a database is always necessary when establishing other means of data storage. This is particularly useful for semi-fiat data (useful for a while then pointless) or when you don't plan to use or want another layer (database layer) in your application.

Before Implementing

What Do I Need to Run This?

This application was built in vanilla PHP and should run on whatever server stack you would run your PHP on. As there is no database, you can add this app to a directory that it will live at, connect it to your login system, or implement it as needed.

However, you will need a teacher-list.xml file in the root directory. The structure is as follows:

<teachers>
    <teacher id="Teacher.Name" name="Teacher name" />
</teachers>

The application, as written, will use the id attribute for URLs and associating teachers with tutorials, and the name attribute for the teachers' actual names.

[RETURN TO TOP]