Spawn Framework · Contact · Community · Tutorial · Documentation · Download · About

Learn :: Introduction

Spawn Framework use MVC structure (Model-View-Controller),
His folder structure is:

Application
|--Controller
|--Model
|  |--Orm
|  |--Form
|  `--Valid
`--View
   |--Tpl
   |--Tpl_c
   |--Error
   |--Redirect
   `--Pager
Bin
|--Cache
|--Config
|--Data
|--Debug
`--Log
Library
`--Spawn
   |--Acl
   |--Cache
   |--Controller
   |--Db
   |--Feed
   |--Form
   |--Request
   |--Translate
   |--Valid
   `--View
index.php

In /application we create all controllers, model and view files,
in /Bin/Config we declared configuration to router, database etc.

All default path to autoloader we declare in index.php.

Namespace:
Controller file must have namespace controller;
Action names must end of 'Action' - function indexAction(){}
Model names must have namespace Model;
Method names use camel standard - myMethodName(){}