What is State? Data and Programming

Data System Architecture

About

State are the attribute values of a thing (entity) at a given moment.

A State can be seen as a snapshot of values at a precise moment.

Example

  • File:
    • if a line was added to a file, the file has a new state
    • if the owner changed, the file has a new state
    • if a variable has a new value, the variable has a new state
  • A on/off button has two states:

On Off Automaton

State modification

You can modify the state only in 2 ways:

  • event-driven
  • state driven

Reactive / Event-Driven

Tracking the changes to values as your program runs and propagating this change is called reactive programming.

And is the core of event-driven data application.

Lifecycle / State driven

Automata models computing devices or machines through state transition. See Automata - State

On Off Automaton

A entity may have several related primary state stored in a attribute called status that forms together a lifecyle(ie automata)

State History

See Data - History (Versioning) - Historical Data

Documentation / Reference





Discover More
Data System Architecture
(Data|State|Operand) Management and Processing

This section is and state management as opposed to code. System that manages data are called database. In a computer, there is two kinds of byte instruction byte and data byte. This section is...
Card Puncher Data Processing
(Software|Application|System)

This article regroups all cross functionality between application such as connection pool, proxy and so on .. It's more coupled to technology than to a product. From the operating system perspective,...
Card Puncher Data Processing
Application - Clone

Cloning is the process of copying an existing entity to a different location while preserving its state.
Card Puncher Data Processing
Automata - State

The state page in automata. Q is the symbol for the set of states q is the symbol for the start state. The state that the automaton is in after processing input is expressed by the below expression:...
Card Puncher Data Processing
Code - (Programming|Computer) Language

how the language is structured (grammar), how to name things you want to talk (vocabulary), and the customary and effective ways to say everyday things (usage). ...Grammarvocabularycommunity...B00B8V09HYEffective...
Card Puncher Data Processing
Code - Grammar / Syntax (Lexical)

This section regroups the entity of a computer language from a lexical point of view. It's the same as Parts of the speech for a natural language. Grammars are useful models when designing software...
Card Puncher Data Processing
Code Design - Request

A request is a command send to a service that should send back a response. This is the basic block of computing where application sends request to each other continously. The request is also generally...
Devtool Chrome Event Listener
DOM Event - Keydown

A Keydown is an input device event that tracks when a key goes down on the keyboard. keyup You can attach it to all element. This is also possible to create advanced accesskey (ie...
Data System Architecture
Data - History (Versioning) - Historical Data

Data history (or versioning) is just the derivation of data state. It can be found in the following data structure: where a new version of data is created by committing changes. a serie of...
Data System Architecture
Data - Snapshot

A snapshot is the copy of the state of an object or entity at a given time. It permits to create a data history.



Share this page:
Follow us:
Task Runner