Commit Graph

10 Commits

Author SHA1 Message Date
9f4742b063 Updated entire project to PSR2 code standard. Some classes still need to be moved around. 2016-05-07 19:22:09 +02:00
81b86c61c9 Implemented static methods for Modules.
Modules can now call default static methods by implementing the \FuzeWorks\Module trait.
The database also closes connection upon coreShutdownEvent
2016-01-17 14:42:39 +01:00
68b3b402e7 Made the core of FuzeWorks static.
Resolves #74

More tests are needed in order to prove functioning of renewed core
2015-09-05 21:47:35 +02:00
d2ec5b0c2a Moved internal modules to the new module namespace.
Most of them have an alias starting with techfuze/ for backwards compatibility until #74 has been resolved.
Resolves #68
2015-09-05 19:06:19 +02:00
f73f638b2b Placed the License header in most files and implemented PHPDoc where needed.
Also removed useless whitespaces.
2015-08-29 17:43:13 +02:00
4f0f3e74d5 Fixed issues where the database is not properly loaded. 2015-07-28 12:06:40 +02:00
7d732790d2 Fix for issue #51. Tighter checks on input 2015-05-06 18:26:19 +02:00
b10561df6d Updated the database to a higher standard according to issue #33 and #32
Also moved the NotifierEvent into another file, the event abstract and gave the interpret model a namespace.
2015-04-30 21:19:07 +02:00
c5318a2e99 Added new namespaces as described in Issue #37. The following namespaces are used:
\FuzeWorks for Core classes
\Controller for controller classes
\Model for model classes
\Module for modules

Also did the following changes:
- DatabaseModel now loads the database module as a dependency
- DatabaseModel is no longer abstract because of ModelServer
- Implemented a new mechanism for model types in the name of a ModelServer. This interface requires a Model Type Server to return a Model parent class based on a given type
- Added a backtrace to the logger class for easy and fast debugging

And that was it for this commit
2015-04-29 17:18:33 +02:00
9b3bf5fc20 Moved Modules to a new directory, makes more sense. Also started adding events for the renewed sections, see #19 and #18 2015-03-20 10:20:30 +01:00