Skip to content

lkleuver/stallcount9

Repository files navigation

::: INSTALLING

	Temporary instructions for installing
	Most things in this document should be done by install scripts
	
	FOLDER CREATION
	./app/data/output
	./app/data/output/cache   (make writable for php on unix/linux/mac systems
	
	CONFIG
	./config.local.php
	<?php  
	
	$config = array(
		'database' => array(
			'type' => 'mysql', 
			'user' => 'heidi', 
			'password' => 'klum', 
			'name' => 'stallcount9', 
			'host' => '127.0.0.1'),
	
		'skin'	=> 'default'
	);



::: PROGRAMMING
	
	AUTOLOADING
	Classes are autoloaded if you use the following convention:
	class name:  SC9_Controller_Home
	class file:  lib/SC9/Controller/Home.php
	
	
	ADDING MODELS
	edit the ./app/build/schema/base.yml file to add your model info.
	next run (from commandline)  php ./generate.php
	This will create (or update) your models in ./app/lib/SC9/Model
	These files are generated but can be committed.
	
	more info at: http://www.doctrine-project.org/projects/orm/1.2/docs/manual/yaml-schema-files/en
	and for yaml, keep in mind, don't use TAB's but use 2 spaces: http://en.wikipedia.org/wiki/Yaml
	
	FIXTURES
	fixtures are prefilled sets of data, more info later.
	
	ADDING SITE SECTIONS
	urls are automatically mapped to corresponding controllers located in 
	./app/lib/SC9/Controller/
	The url index.php?n=/contact/nfb will load the class SC9_Controller_Contact (file: Contact.php)
	and call the method "nfbAction($req)"
	
	Convention: each section controller should use the similar named folder in skin/default
	for its templates.

About

Ultimate tournament organizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages