Mike Cao
2050027db6
Cleaned up initialization process.
12 years ago
Mike Cao
84078158c3
Introduced new Engine class.
...
Core functionality has been moved to a namespaced Engine class. The
existing Flight class is now just a static pass-through to the Engine class.
Also fixed autoloading and initialization issues.
12 years ago
Mike Cao
28ae5e0aec
Added route passing functionality.
12 years ago
Mike Cao
f2bd6f4e02
Allow framework to be reinitialized
12 years ago
Mike Cao
cec890c585
Code cleanup
12 years ago
Mike Cao
6bf1ac54b1
Only raise errors from error_reporting()
12 years ago
Mike Cao
1d84913d7f
Removed error filtering and fixed notice errors.
12 years ago
Mike Cao
9a115b84ab
JSON method should use existing response
12 years ago
Mike Cao
fc10a50ca3
Fixed redirect problem when running in a subfolder
13 years ago
Mike Cao
830088733d
Fixed PHP notices
13 years ago
Mike Cao
8783134495
Changed variable set method. Fixed error logging.
13 years ago
Mike Cao
b70f831c0e
Added new Collection class, updated documentation
13 years ago
Mike Cao
5d789ceb2e
More refactoring, updated documenation
13 years ago
Mike Cao
e2f1dc99bb
Major refactoring, implemented namespaces
13 years ago
Mike Cao
8af17f2215
Changed render method for views and layouts.
...
The previous render method allowed you to render a template
directly into a layout. This however only allowed one template
to be used per layout. The new method instead stores the template
results as a view variable, which the layout can reference.
Also expanded documentation on views.
Added a has() method to the view to check if a variable is set.
13 years ago
Mike Cao
d5c696a969
Changed render method to take a layout parameter.
14 years ago
Mike Cao
4b682b67c0
Code cleanup
14 years ago
Mike Cao
e1cf8a1f99
Changed autoloading to allow other autloaders to run
14 years ago
Mike Cao
739cdb34d0
Added method for sending JSON responses
14 years ago
Mike Cao
84b8eeb044
Allow rendered content to be saved into a variable
14 years ago
Mike Cao
c6df2125f6
Fixed problem with callback not firing
14 years ago
Mike Cao
b085ecd888
Added more properties to Request object
14 years ago
Mike Cao
9f24bc0de6
Pass named parameters as arguments to callback
14 years ago
Mike Cao
a5ea267d50
Changed scope of instances array
14 years ago
Mike Cao
9d43930d2d
Make sure the init callback is only called once.
14 years ago
Mike Cao
c84e52b998
Load method was not reading the shared parameter properly.
14 years ago
Mike Cao
370e17be4e
Fixed method documentation
14 years ago
Mike Cao
540f7ae44f
Object can use foreach in PHP 5
14 years ago
Mike Cao
ce8dbfc435
Initial commit
14 years ago