Recommend this page to a friend! |
Classes of Francesco Danti | ATK4 FastRoute | README.md | Download |
|
Downloadatk4-fastrouteATK4 integration with FastRoute Still needs :
EXPERIMENTALDefine routes : - RoutedCallable : as Callable - RoutedUI : as atk4/ui/* Class to be added to the App - RoutedMethod : as Class Method to be called like a controller Routes can be serialized as array to allow loading from external file. Using Interface implementation to define behaviour and needs of the class ( like flags ) : - iBeforeRoutable : request method OnBeforeRoute which will be called right before OnRoute ( setting up app? ) - iAfterRoutable : request method OnAfterRoute which will be called right after OnRoute ( setup other elements? ) - iArrayable : have fromArray and toArray to be serializeable - iNeedAppRun : if is needed to call ->app->run() after Routing method calls Next step
|