Coder Social home page Coder Social logo

ivalx1s / darwin-relux Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 4.0 94 KB

Relux is a unidirectional data flow architectural library designed to work seamlessly with Swift 6's concurrency model and is tailored for use within SwiftUI applications.

License: MIT License

Swift 100.00%
redux swift swiftui

darwin-relux's Introduction

Relux /rēˈlʌks/ n.

  1. An architectural approach for developing applications on Apple platforms, characterized by:
    1. Safety: Utilizes Swift 6's concurrency model to ensure data-race safety.
    2. Modularity: Promotes clear separation of concerns and modular design.
    3. Scalability: Supports growth from small projects to large-scale applications.
    4. Asynchronicity: Leverages Swift's structured concurrency for efficient asynchronous operations.
  2. A framework implementing the Relux approach, featuring:
    1. Unidirectional data flow.
    2. Compatibility with SwiftUI.
    3. Progressive adoption capabilities.
    4. Service-oriented architecture principles.

Overview

Relux is a unidirectional data flow architectural library for developing robust, modular, and asynchronous applications across Apple platforms. It is designed to work seamlessly with Swift 6's concurrency model and is tailored for use within SwiftUI applications.

Relux provides a flexible approach to app architecture, suitable for developers at all experience levels. It leverages modern Swift features, including Structured Concurrency and data-race safety, to enhance development efficiency and application performance.

Key Features

  • Employs Swift's type system and concurrency primitives for high-performance operations while maintaining Redux-like architectural guarantees.
  • Allows integration with existing codebases, supporting gradual implementation alongside other architectural patterns such as MVVM.
  • Facilitates growth from small-scale to enterprise-level applications, promoting clean and modular code structure.
  • Encourages separation of business logic from views and view lifesycles and promotes service-oriented architectural principles.
  • Adapts to various development needs and preferences, avoiding strict opinionated structures.
  • Promotes thinking in terms of modules and clear module boundary definitions, enhancing code maintainability.

Requirements

  • Swift 5.10+
  • iOS 13.0+, macOS 10.15+, tvOS 13.0+, watchOS 6.0+

License

Relux is released under the MIT License.

Architecture diagram

redux-architecture

darwin-relux's People

Contributors

ivanopcode avatar alexis-ag avatar

Stargazers

Grigory avatar  avatar Denis Skripnichenko avatar Sergey Shchepetkov avatar  avatar Bilal Bakhrom avatar parsable-jasurbek avatar

Watchers

 avatar  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.