EcsR3
  • readme
  • Getting Started
    • Stuff To Know
  • Systems R3
    • Getting Started
      • Setup
    • The Framework
      • Systems
      • Computeds
    • Framework Infrastructure
      • Application Infrastructure
      • Application Lifecycle
      • Dependency Management
    • Plugins
      • Overview
  • Ecs R3
    • Getting Started
      • Setup
    • The Framework
      • Entities
      • Components
      • Systems
      • Blueprints
      • Groups
      • Observable Groups
    • Framework Infrastructure
      • Application Infrastructure
      • Application Lifecycle
      • Dependency Management
    • Framework Architecture
      • High Level Architecture
      • Entity Collections
    • Plugins
      • Overview
      • Reactive Systems Plugin
      • Computeds Plugin
      • View Plugin
      • Batching Systems Plugin
      • Group Binding Plugin
    • Performance
      • Overview
      • Component Type Lookups
      • System Affinities
      • Struct Components
  • Other
    • Breaking Changes
    • FAQs
    • Third Party Content
Powered by GitBook
On this page
  • Inversion Of Control
  • Dependency Injection
  • Reactive Extensions (RX)
  • Intro to Unit Testing
  • Mocking in Unit Tests
  • WHAT IF I STILL NEED HELP OR HAVE QUESTIONS!??!
Edit on GitHub
  1. Getting Started

Stuff To Know

PreviousGetting StartedNextGetting Started

Last updated 4 months ago

Before we begin there should be some existing knowledge in place, if you don't know the stuff below then just go read up on it (each heading a link you can click on to learn about it). You don't NEED to know all of this, but it will be VERY beneficial.

This is about how your objects (generally classes) get their dependencies, this approach is used heavily throughout the codebase and means most of what the class needs is passed in via its constructor.

This is related to IoC and is basically a industry standard way of resolving dependencies for objects in a way that is flexible and highly configurable. If you have ever seen any code with bits like Bind<ISomething>().To<Something>() then that is DI configuration.

This library tries to make use of the common ECS paradigm while making reactivity one of its big bonuses. If you are unsure about what rx/r3 is or how it can benefit your project then have a read into it, simply speaking it's a push approach to data changing rather than a polling approach.

If you have not done any unit testing, then its not the end of the world, you don't NEED to suddenly become a testing rockstar but part of the benefit of using this framework is it tries to keep your code highly testable, so if you want to make use of that benefit its worth knowing how.

Related to unit testing, it covers how you can provide mocked/fake implementations of dependencies to force your code to act a certain way and then confirm that it behaves as you expect.

WHAT IF I STILL NEED HELP OR HAVE QUESTIONS!??!

If you want to know more on the above topics then feel free to drop into our to discuss further or ask any questions.

Inversion Of Control
Dependency Injection
Reactive Extensions (RX)
Intro to Unit Testing
Mocking in Unit Tests
Discord Channel