Crates.io | shine_component_derive |
lib.rs | shine_component_derive |
version | 0.1.0 |
source | src |
created_at | 2020-06-27 11:26:56.116861 |
updated_at | 2020-06-27 11:26:56.116861 |
description | Implementation of #[derive(Component)] for Shine |
homepage | https://github.com/zhming0/shine |
repository | https://github.com/zhming0/shine |
max_upload_size | |
id | 258688 |
size | 7,986 |
Shine is a framework for managing lifecycle and dependency of your software components. In some languages, it was called "IoC" and "Dependency Injection". The main usecase of this framework is on medium/large scale web services.
The Shine ecosystem consists of two major concepts: System, Component. A System is a runtime unit that control lifecycles of all Components. A Component is a group of logic. A Component can depends on other Components and it can also have its own internal state.