Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
WIP: Ivy Architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed May 8, 2022
1 parent c766573 commit 345b424
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/Developer-Guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,35 @@ A short guide that'll evolve our time with one and only goal - to make you a bet
> Proposals: Highly appreciated.
## Ivy Architecture

```mermaid
graph TD;
android(Android System)
user(User)
view(UI)
event(Event)
viewmodel(ViewModel)
action(Action)
io(IO side-effects)
pure(Pure)
event -- Propagated --> viewmodel
viewmodel -- Triggers --> action
viewmodel -- "New State (Flow)" --> view
action -- Abstracts --> io
action -- "Composition" --> action
io -- "Side-Effect abstraction" --> pure
pure -- "New State (Data)" --> viewmodel
pure -- "Composition" --> pure
user -- Interracts --> view
view -- Produces --> event
android -- Produces --> event
```

## I. Domain (Business Logic)

We classify business logic as any domain-specific logic that: is neither UI nor Android stuff nor IO (persistence or network calls).
Expand Down

0 comments on commit 345b424

Please sign in to comment.