-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
You start with a config file, which should look like this:
app/config.eoss:
"home_eoss": "indexEOSS",
"layout_dir": "view/",
"models": "model/",
"refresh": true,
"showFlashFunction" : "showFlash",
"enviroment": "debug"home_eoss is a starting controller class, which is launched at the begining. It should contain the name of the class not the filename. The filename must be the same as the class name except for extension.
layout_dir is a directory path relative to app/ folder where the views are located.
models is the path to the models of your application. They are loaded at the very beginning before everything else.
refresh attribute tells the EOSS whether it should keep the session about the current state of your EOSS class alive.
showFlashFunction is a name of the javascript function which will take two arguments (message and class) and it should append the flash message to the view dynamically.
enviroment for now this property says if AJAX responses should be console.logged.
Now that you have your config.eoss ready, we can go ahead and create some stuff.
Welcome to EOSS, we are glad to see you here.
We are looking for contributors, come and join us, write me an email on durisvk2@gmail.com or post something on a http://eoss.wz.sk .