]> git.mxchange.org Git - core.git/commit
Added new FrameworkFeature class + missing exception:
authorRoland Haeder <roland@mxchange.org>
Wed, 27 May 2015 01:17:43 +0000 (03:17 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 May 2015 01:17:43 +0000 (03:17 +0200)
commit0ffd98d58a9add40b642e9888f6f4d57a58ed4b5
treed6d2f6c5b32d0afd9462768d5b77ff78d0cd520a
parent1c4fc1ae50d2e99f9e52a2fe86c15caeab55de70
Added new FrameworkFeature class + missing exception:
- Features can be enabled or disabled by the user
- Their availability depends on if the feature is enabled and if all
  requirements are found. This can be anything like loaded PHP extensions (PECL)
  or anything else.
- Features can have methods that can be called (publicly) where their actual
  "feature" is being written.
- This can be again a class with static or non-static methods that will be
  called.
- Generally feature classes shall not contain the actual implementation, they
  shall only call implementing classes.
- So basicly a feature class "hides" the actual implementation and can be
  understood as a generic facade.

Signed-off-by: Roland Häder <roland@mxchange.org>
contrib/mindmaps/Local File Database - NG.mm
inc/classes/exceptions/config/class_ConfigValueTypeUnsupportedException.php [new file with mode: 0644]
inc/classes/exceptions/feature/.htaccess [new file with mode: 0644]
inc/classes/exceptions/feature/class_FeatureMethodNotCallableException.php [new file with mode: 0644]
inc/classes/interfaces/feature/.htaccess [new file with mode: 0644]
inc/classes/interfaces/feature/class_Feature.php [new file with mode: 0644]
inc/classes/main/feature/.htaccess [new file with mode: 0644]
inc/classes/main/feature/class_ [new file with mode: 0644]
inc/classes/main/feature/class_BaseFeature.php [new file with mode: 0644]
inc/classes/main/feature/class_FrameworkFeature.php [new file with mode: 0644]