Commit Graph

327 Commits

Author SHA1 Message Date
28b6094d83 Merge branch 'master' into 'master'
Various Bugfixes

Made it possible to add and remove sections and added a CoreStartEvent.

Removed support for JSON config files

See merge request !4
2015-03-04 08:47:51 +01:00
409702e037 Implemented Section Editor and Documentation. Also removed useless line in config class 2015-02-26 15:45:15 +01:00
865c3a7bec Added core Start Event for complete control over the FuzeWorks start proces 2015-02-26 14:09:41 +01:00
e3ab0da0cc Started working on Model Type loading based on Events 2015-02-26 14:09:08 +01:00
e7fdee40d5 Merge branch 'master' into 'master'
Sections

Implemented sections and various fixes on the router

See merge request !3
2015-02-24 15:30:41 +01:00
8a320bbe3e When a page is not found, from now on the router sends the function in the parameters so the not_found function can handle dynamic requests 2015-02-24 14:54:34 +01:00
455dbd0c97 Router bugfix. Better checking wether or not the event has parameters 2015-02-24 14:33:09 +01:00
f894727e40 Changed the way sections work. From now on it is a separate module called by events. The router has been made far more efficient 2015-02-24 14:19:57 +01:00
3c54281092 Implemented Controller sections. This way modules can be loaded as controllers allowing for seperation of code. 2015-02-24 12:51:53 +01:00
9c249e0370 Merge branch 'master' into 'master'
New Features and Core Improvements

The following features have been added:

- Writable PHP Config files
- An EventRegister, which allows modules to be loaded at certain events
- Implemented module dependencies
- More PHP Documentation
- Smarty event, allowing plugin registration from other modules
- Various Bugfixes

See merge request !2
2015-02-23 22:13:57 +01:00
bedec427db Minor updates to default template 2015-02-23 21:54:00 +01:00
15610d13ff Fixed the default eventregister config 2015-02-23 20:51:04 +01:00
4343e773af Added EventRegister. This allows the framework to determine what modules should be loaded at an event. This way classes only get loaded at the right time 2015-02-23 20:27:26 +01:00
8eb292def5 Added check for empty configs 2015-02-23 20:26:26 +01:00
9d3c32d716 Fixed some documentation errors 2015-02-23 19:37:19 +01:00
1e96bfc894 Added documentation and removed cluttering 2015-02-23 19:35:21 +01:00
9edf81085a Updated the config class. JSON support has been removed and a PHP config file writer has been implemented. 2015-02-23 19:30:13 +01:00
1e5ec4297a Added a Smarty Load event so that plugins can register once Smarty Loads 2015-02-23 17:05:38 +01:00
a01967f205 Added a dependency system, where modules can load dependencies before they start by adding the dependencies to the moduleinfo 2015-02-23 12:46:06 +01:00
afcd561253 Changed the logger shutdown function to a better name 2015-02-23 12:45:32 +01:00
64f516c20f Merge branch 'master' into 'master'
Event Class logging

The event class logging started to become really big so I removed some repeating patterns.
It should be better now.

See merge request !1
2015-02-11 15:07:47 +01:00
3ab8692a5e Made the Event logger a little less cluttered 2015-02-11 15:03:20 +01:00
4d8b8d5233 Implemented new Event System. Listeners are no longer classes but now are simply callback functions. Also there is now a priority system which decides in which order events are executed.
The core can also not be loaded more then once. A check has been built in. The Model abstract is from now on a system module. No longer a core process.
2015-02-11 14:23:27 +01:00
0b1980c32c Decreased Framework loading time by letting Smarty not load directly after Framework launch 2015-02-10 21:35:45 +01:00
4c7d3b6d56 New Router algorithm implemented (Old FuzeWorks3 code, without subnamespaces) 2015-02-10 21:27:27 +01:00
69998316be Moved router to Modules. Router is no longer a Core class. 2015-02-10 21:04:31 +01:00
22d835257e Initial Commit, merge of MicroCore and FuzeWorks3 2015-02-08 17:29:39 +01:00