Skip to content

beingsane/TTII_2012

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Eventual

Description

Eventual is an example event management system developed during "Web Technologies II" course at the University of Latvia.

Installation

The application is accessed at http://www.eventual.org on the development machine (a hosts file entry 127.0.0.1 = www.eventual.org)

If you decide to change the location, take care to alter the .htaccess file (RewriteBase parameter).

The system uses "fuel_dev" database. The default configuration expects the following database configuration (change these settings in APPPATH/config/development/db.php if needed.):

  • server : localhost
  • database : fuel_dev
  • user : fuel_dev
  • password : fuel_dev

The installation procedure expects that the database exists and that it is empty (no tables created).

After you put all the files in web root, execute php oil refine migrate. This will create the needed database tables and add sample data to them.

What is where

  • CRUD model implementation can be found at APPPATH/classes/model/crudevent.php This is used in APPPATH/classes/controller/event.php, action_crudlist() and action_crudupdate() methods
  • Several files demonstrating ORM models can be found at APPPATH/classes/model/orm/ This shows the structure of "event" happening at a "location" and having several "agenda" items. Detailed list of events is output to the screen in APPPATH/classes/controller/event.php method action_ormlist(). It employs the view APPPATH/views/event/ormlist.php

Setting it up in NetBeans

  • Download the code from GitHub. If you don't have a GIT client, simply take the .zip version: [https://github.com/naivists/TTII_2012/archive/master.zip]
  • Unzip it somewhere in your computer. This place does not have to be in the "web root"of your web server. On a Windows computer, you could pick c:\eventual.
  • Open up NetBeans IDE. In File menu, choose "Open project". Point to the directory you have chosen.

About

FuelPHP based event calendar application demonstrated in "Web technologies II" lectures, fall 2012.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.9%
  • Other 0.1%