Skip to content

Commit 96d80f3

Browse files
authored
Update README.md
1 parent c336106 commit 96d80f3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
An advanced DI framework for JVM and Android applications based on the Java Reflection API with a specialized implementation for jMonkeyEngine Applications.
55

6+
## Software specification:
7+
| What's the problem? | How Jector solves it? | How DI works in general? | How DI works in Jector? | What are some good examples of Jector? | Synergism with Virtual Threads?
8+
|--------------------|----------------------|---------------------|----------------------------|--------------------------------------------|-------------------------|
9+
| The problem is doing multi-threaded/concurrent code in games is overwhelming and will require you to use synchronization or locks at some point in your application which might disrupt the architecture in your final software product. | Jector solves this by making good use of the DI pattern to bind your proposed function stack frame as a `WorkerTask` to a `TaskExecutor` instance, a TaskExecutor instance could be a Thread, a Game State, an Android Task,...etc. | DI stands for Dependency Injection, as the name implies, it consists of 3 objects, a dependency object, a dependent object, and an injector object, the dependency object contains the delegation code that is utilized by a dependent object, the injector object role is to pass the dependency object to the actual dependent to complete its job. | DI in Jector works by injecting a method as a WorkerTask (dependency) into a TaskExecutor (dependent object) using a TaskExecutorManager (injector object). | Loading game assets asynchronously is now easier, by enabling some tasks to be executed at some point on their respective threads. | WIP |
10+
611
## Building:
712
```bash
813
┌─[pavl-machine@pavl-machine]─[/home/twisted/GradleProjects/Jector]

0 commit comments

Comments
 (0)