Commit Graph

11 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
84b3154ea2 Implemented some changes to the SQL Model 2016-01-23 14:08:29 +01: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
9d665e2ae1 Many Misc jobs:
- Modules can now be loaded using routes by adding a routes[] array to the moduleInfo.php. When it matches, the module gets loaded, and a route() function in the main class gets called. (Fixes #79)
- Composer can now load from a different file
- License headers have been added to all core files (Fixes #66)
- Table model has been renamed to sqltable. Interpret model has been removed
- layoutLoadViewEvent added
- Controllers now extend the \FuzeWorks\ControllerAbstract class
- Controllers are now in the \Application\Controller namespace
- Models are now in the \Application\Model namespace
- Events are now in the \FuzeWorks\Event namespace
- Moved some classes in a different namespace for a better overview
- Events can now properly load function listeners (fixes #81)
- Documentation added to more classes. (Partially fixes #58)
- Added replace() command to DatabaseUtils Abstract Model
- Added more unit tests for router, query and events
2015-10-11 19:14:49 +01:00
5093f98c4b Started working on renewed Unit Tests. 2015-09-06 15:42:57 +02: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
bdf6b0244c Added Joins to the QueryBuilder 2015-05-14 13:30:40 +02:00
aab34844ee Implemented renewed querybuilder and a better databasemodel. Database utilities can from now on be added to this module.
Fixes #46
2015-05-06 21:25:57 +02:00