GithubHelp home page GithubHelp logo

event-thread's Introduction

Research

Maven Central

Description

Here is a solution for declarative application description. It allows describing the desired logic of application behavior using configuration tools.

This toolkit enables the description of the application's operation on all necessary levels, from working with the graphical interface to interacting with data in the cache.

Key concepts:

Scope - an entity that describes a certain part of the graphical interface (screen or individual widget) and contains all the necessary configuration to ensure its operation.

Resource - an object that is required for the execution of certain logic. It is created only when demanded and releases resources after the logic is executed.

At the moment, there are two types of resources:

Basic - contains only a stored object.

Observable - provides a StateFlow of objects of the specified type.

Containers - contain an abstraction over certain data, their state, and the logic of interacting with them. They include StateFlow, which allows building containers on top of observable resources. If resources abstract over some data, then the container describes methods for interacting with this data. Containers can also undergo concatenation, allowing the use of one or more containers to compose the final state.

Event Thread or Thread - entity, that can handle events. Contains a list of event handlers that can be triggered when using a special event.

Installation

commonMain {
    dependencies {
        implementation("io.github.izzgoy:event-thread-core:$event_thread_version")
        implementation("io.github.izzgoy:event-thread-compose:$event_thread_version")
        implementation("io.github.izzgoy:event-thread-network:$event_thread_version")
        implementation("io.github.izzgoy:event-thread-cache:$event_thread_version")
        //available only on android/ios target
        //KValut under hud
        implementation("io.github.izzgoy:event-thread-secure:$event_thread_version")
    }
}

event-thread's People

Contributors

izzzgoy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.