Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Containerized Data & State Management Model #237

Open
hellofromtonya opened this issue May 22, 2018 · 1 comment
Open

Containerized Data & State Management Model #237

hellofromtonya opened this issue May 22, 2018 · 1 comment
Assignees
Projects
Milestone

Comments

@hellofromtonya
Copy link
Contributor

Data and state management are currently held in globals throughout the framework. Interaction with these are through private functions within each API.

The problem with globals is they are globally readable and writeable. The ability for any piece of code to overwrite the global models is problematic as it can lead to unpredictable behavior.

I propose that we build a Containerized Data & State Management Model with its own API to interact with it. This model will be OOP-based. Why? OOP is best suited for this type of modeling as it:

  • encapsulates and protects the data and state models.
  • provide clear interfaces to interact with each.
  • hide away any complexity to eliminate the private functionality.

The goal here is to ensure Beans is highly robust and predictable. Care will need to be taken to ensure the new architectural is performant.

@hellofromtonya hellofromtonya self-assigned this May 22, 2018
@hellofromtonya hellofromtonya added this to Planning and Organization in v2 Roadmap via automation May 22, 2018
@hellofromtonya
Copy link
Contributor Author

Status Update: I've built a prototype and am in the process of benchmarking it. Once it's ready, I'll create a PR for all of us to review and improve.

@hellofromtonya hellofromtonya removed this from Planning and Organization in v2 Roadmap Jun 23, 2018
@hellofromtonya hellofromtonya added this to Planning and Organization in V1.6 via automation Jun 23, 2018
@hellofromtonya hellofromtonya moved this from Planning and Organization to In Process in V1.6 Jun 23, 2018
@hellofromtonya hellofromtonya added this to the v1.6 milestone Jul 6, 2018
@christophherr christophherr modified the milestones: v1.6, v2.0 Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
V1.6
  
In Process
Development

No branches or pull requests

2 participants