summaryrefslogtreecommitdiffstats
path: root/development/boost-di/README
diff options
context:
space:
mode:
author Andre Barboza2017-02-03 13:58:44 +0100
committer Willy Sudiarto Raharjo2017-02-04 00:59:39 +0100
commit0294ee68a7eaee751067f0fe94d97575b28a2132 (patch)
tree857524e0e9c2543604f252971527e390e8fe8788 /development/boost-di/README
parent8bc78d960382b87ccca29d9b2dd6d769c7d6ac9d (diff)
downloadslackbuilds-0294ee68a7eaee751067f0fe94d97575b28a2132.tar.gz
development/boost-di: Added (C++14 Dependency Injection Library).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/boost-di/README')
-rw-r--r--development/boost-di/README25
1 files changed, 25 insertions, 0 deletions
diff --git a/development/boost-di/README b/development/boost-di/README
new file mode 100644
index 0000000000..d1828aede4
--- /dev/null
+++ b/development/boost-di/README
@@ -0,0 +1,25 @@
+Dependency Injection (DI) involves passing (injecting) one or more
+dependencies (or services) to a dependent object (or client) which
+become part of the client's state. It is like the Strategy Pattern,
+except the strategy is set once, at construction. DI enables loosely
+coupled designs, which are easier to maintain and test.
+
+Features:
+
+- None run-time overhead;
+- Compiles fast;
+- Gives short diagnostic messages;
+- Is non-intrusive;
+- Reduces boilerplate code;
+- Reduces testing effort;
+- Gives better control of what and how is created;
+- Gives better understanding about objects hierarchy.
+
+Design goals:
+
+- Be as fast as possible;
+- Compile as fast as possible;
+- Give short and intuitive error messages;
+- Guarantee object creation at compile-time;
+- Be as non-intrusive as possible;
+- Be easy to extend.