myMy idea was to use a front controller in our wordpress plugin,. has anyone diddone that already? The respondabilitiesresponsibilities of the controller should be
- initiate router class;
- provide access to objects registry, which will be responsible for finding and initializing other classes (possibly through factories);
- initiate class responsible for binding WordPress actions.
iI was thinking about following the standard martin fowler example but if someone has already tried it iI might want to learn from him.