@@ -22,31 +22,17 @@ The feature-level modularity offered by plugins makes writing large and complex
22
22
programs more feasible. But it also helps to manage project scope, since every
23
23
possible contingency for user requirements need not be planned for in advance.
24
24
Users can obtain plugins created by third-party developers and even write their
25
- own. Open source and proprietary code can even coexist.
25
+ own.
26
26
27
- ### Dependency Injection
27
+ Sunstone aims to provide all the necessities for a successful plugin ecosystem:
28
+ feature-level modularity, versioning, dependency and lifecycle management,
29
+ component-level security, organizational conventions, and well-defined programming
30
+ interfaces.
28
31
29
- Nodejs' built in module system isn't adequate for a plugin architecture, because
30
- it would require the plugin developer to have knowledge of how the host
31
- application and even other plugins are implemented. Dependency injection solves
32
- this problem by abstracting the details of how to obtain plugin-component-level
33
- dependencies for use in other plugins. Sunstone's DI implementation borrows
34
- elements of the programming interface from AngularJS.
35
-
36
- ### Lifecycle Management
37
-
38
- Plugins have a lifecycle that can be controlled during runtime. This enables
39
- features to be added and removed without restarting the application.
40
-
41
- ### Plugin Dependencies & Versioning
42
-
43
- * Plugins are versioned and can depend on other plugins.
44
-
45
- ### Plugin Security
46
-
47
- * Plugins can expose or protect components
48
- * Plugins are verified with signatures and checksums
49
- * Plugins be required to have permission to run
32
+ Sunstone’s internal design is inspired by the Eclipse plugin model, and it’s API is
33
+ modeled after AngularJS’ dependency injection. The former addresses application-level
34
+ extensibility while the latter provides a programming interface that’s familiar and
35
+ easy to learn.
50
36
51
37
## Completed Work
52
38
0 commit comments