Skip to main content
Tweeted twitter.com/#!/StackWordPress/status/389183761021415424
spelling and tags
Source Link
fuxia
  • 107.1k
  • 38
  • 255
  • 459

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.

my idea was to use a front controller in our wordpress plugin, has anyone did that already? The respondabilities 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.

i was thinking about following the standard martin fowler example but if someone has already tried it i might want to learn from him

My idea was to use a front controller in our plugin. has anyone done that already? The responsibilities 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.

I was thinking about following the standard martin fowler example but if someone has already tried it I might want to learn from him.

Source Link

Using a front controller in a Wordpress plugin, any suggestions?

my idea was to use a front controller in our wordpress plugin, has anyone did that already? The respondabilities 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.

i was thinking about following the standard martin fowler example but if someone has already tried it i might want to learn from him