Commit Graph

7 Commits

Author SHA1 Message Date
Abel Hoogeveen ed90b3badb Implemented the usage of multiple viewMethods.
- This change allows the developer to sort methods with the usual Priority. The first valid method found shall be used.
- Dependency for implementing methods in a REST API.
2019-09-17 17:24:12 +02:00
Abel Hoogeveen f49c5dd882
Implemented changes requested by FuzeWorks\Application
- Added Priorities to the routes array. Routes can now be saved with priorities, making higher priority routes load before lower priorities
- Fixed bug where callable is not reset upon attempting routing a new route after another was not satisfied
2019-03-04 21:33:38 +01:00
Abel Hoogeveen be414aa2cd
Implemented RouterCallViewEvent
This event gets called right before defaultCallable() invokes the requested method on the requested view. This allows other classes to intervene when required. Currently used by the WebComponent to suppress CSRF Exceptions.
2019-03-01 11:07:24 +01:00
Abel Hoogeveen 5b66dd5f29
Changed which properties Models, Views and Controllers contain.
They no longer share the Factory.

Fixes #5
2019-02-11 19:47:24 +01:00
Abel Hoogeveen d8acd801d2
Implemented routerLoadCallableEvent
Fixes #3
2019-02-11 19:31:49 +01:00
Abel Hoogeveen 3613a04f49
Implemented unit tests for Router.
Fixes #4
2019-02-11 19:23:45 +01:00
Abel Hoogeveen 0d867c7371 Created MVCR Framework
Implemented MVCR Framework
2019-02-01 00:55:49 +01:00