Created
August 7, 2017 07:11
-
-
Save makoru-hikage/d9469b66b7e8ebbf93c8da5ddc55b54b to your computer and use it in GitHub Desktop.
The MenuService technique...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A MenuService can be treated as a step of an HTTP Request-Response transaction.
Usually, when accessing a set of grades in school, there are these questions and happenings. The assumed input is a Query String converted in an associative array.
Using
prepend()
, all steps will be done throughprocessData()
of objects ofMenuService
class. Should a MenuService change the$code
through the series, It'll end with that MenuService that changed the$code
from 0 to whatever.To translate into code...