bbd8823901
Implemented a renewed Layout system.
...
The layout system now uses so called TemplateEngines. A Template Engine is an engine that implements \FuzeWorks\TemplateEngine, and is a standardized way of parsing template files.
3 template engines are present by default: PHP Parser, JSON parser and the Smarty Template engine.
Based on the file extension the manager should be able to decide which engine to use. New engines can be added by using $this->layout->registerEngine();. This function should be called on the layoutLoadEngineEvent.
Also Smarty has been removed from the system and is now a composer dependency.
2015-08-29 17:33:06 +02:00
bb66e6eb92
Added the ability to enable and disable composer loading
2015-08-29 17:26:47 +02:00
2ec5e8bafd
Added more documentation
2015-08-26 12:29:20 +02:00
d27af90a8f
The module config (config.module.php) of a module is now available through $this->cfg
2015-08-02 18:40:00 +02:00
338d0d2a43
Implemented the ability to disable core modules.
...
Using the config.core.php, you can choose what modules should run in FuzeWorks
2015-07-28 13:09:47 +02:00
b2aea986c3
Implementation of Composer. Now fully works
2015-07-28 12:08:35 +02:00
ebd81b9fce
Fixed critical bug where databases can not be used due to inheritance issue. Please refer later
2015-07-07 23:11:56 +02:00
d9001d5f9e
Removed Fuze References. Fixes #56
2015-07-07 17:27:46 +02:00
00eff0480e
Prepare for multiple types of Template Engines
2015-07-07 13:59:36 +02:00
b86c26243d
Misc bug fixes
2015-05-14 17:45:25 +02:00
cda60c264e
Removed advanced controller abstract, it's just a wrapper now
2015-05-14 17:45:11 +02:00
32b534d59a
Merge branch 'ffnmaster/core-Renewed_Modules'
...
Conflicts:
Core/System/class.core.php
2015-05-14 13:01:03 +02:00
71c9904746
The big great rewrite of modules. Hope it will merge well
2015-05-14 12:43:11 +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
c046b0867b
Fix for Issue #47
2015-05-06 19:52:52 +02:00
dd93772704
Router and Logger merge with GF, and many more CI Tests
2015-05-03 22:50:36 +02:00
07f88f1913
Fixed a crucial bug which made it impossible to run continuous integration on FuzeWorks
2015-05-03 18:12:58 +02:00
c86822f99b
Added multiple tests and started real continuous integration
2015-05-01 22:47:11 +02:00
630e207efc
Removed FUZEPATH and FUZESYSPATH since it actually is pretty stupid
2015-05-01 20:53:23 +02:00
881dcb0ae5
Fixed a few logging errors
2015-05-01 17:59:40 +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
f074bce545
Added Controller Abstract for multiple parent classes of controller
2015-04-29 19:36:38 +02:00
39d2982cf1
Added more documentation and implemented the Logger::backtrace into fatal errors
2015-04-29 17:49:33 +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
156f4a3460
Did the MVC Rewrite. Each component now has events. Fixes #9 , #10 , #20
2015-04-29 13:46:33 +02:00
54c81f769a
Fixed #24 . Sections are now dynamic and modules can now be disabled
2015-04-29 12:20:39 +02:00
ba84fa5cef
Messages when a module is already loaded, and loaded modules get correctly registered
2015-04-22 12:16:14 +02:00
e877d103c8
Implemented renewed modloading, so that modules do not get loaded multiple times
2015-04-22 12:11:28 +02:00
8c1a7afda5
Fix for #28 and #23 . This patch removes the mod and event registers so that modules can now be loaded dynamicly instead of using a global configuration file.
2015-04-22 11:31:29 +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
91740236e7
Fix for #21
2015-03-17 11:32:28 +01:00
9ce89a180e
It is now possible to have multiple types of models.
...
Just add one call to a model like "$this->setType('techfuze/databasemodel', 'DatabaseModel');" and you load a FuzeWorks2 esque SQL model
2015-03-16 13:29:03 +01:00
453afc0b31
Started working on new Abstract for models which allows the use of multiple types of models
2015-03-16 12:38:46 +01:00
5ceaa4868b
Merge branch 'master' into Issue_#9;_Recreate_Models
2015-03-15 12:47:49 +01:00
883b45fac7
Bugfix the sections module not being able to load module sections
2015-03-15 11:23:56 +01:00
771727ca48
Bugfixes for module loading
2015-03-14 17:03:15 +01:00
2398cf7352
Merge branch 'master' into Issue_#16,_Module_name_integration
2015-03-14 16:06:44 +01:00
b636e90462
Added a logger entry
2015-03-14 16:05:07 +01:00
44ae54445e
Added a very basic system to disabled modules using $enabled = false; in the moduleInfo.php
2015-03-14 16:03:38 +01:00
892068d583
Implemented versions
2015-03-14 16:02:18 +01:00
68c68cf91c
Added a mod register which allows the system to load advanced modules. This allows for the future build of module versions, prevention of module name conflicts and much more.
2015-03-14 15:46:05 +01:00
f6f72cc09d
Added the possibility to retrieve a mod and not add them to the mod register
2015-03-07 13:53:10 +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
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
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
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