Git Product home page Git Product logo

whiskyclub_redux's Introduction

WhiskyClub Redux

This repository represents a simple whisky catalog application build using the Redux design pattern in SwiftUI 1.0. I created this application in order to test the Redux design pattern in a mobile application. With the release of SwiftUI, the latest framework from Apple for building iOS/mac application, I believe that this pattern will start to be used a lot in the mobile applications.

In WWDC2019 Apple emphasized that the view should be a function of a state. I think that Redux perfectly matches that statement.

What I think that are the benefits of this pattern:

  • You know every possible state of the application
  • You can easily send the app in every state that you want. This can be used a lot while creating tests for the app.
  • You can track the user behavior because in every state change you know the current user's state and the action that he has taken. Hypothetically this data you can send it to the backend and train a ML model that will predict the user behavior.

Application Demo

I created a simple demo of the WhiskyClub application. I additioanly added a slider at the bottom of the screen to demonstrate the power of the Redux design pattern. After going through couple of states in the application I can slide through all of my past states that I have visited.

Link to the video: https://www.youtube.com/watch?v=ULFoUVZCBSI

whiskyclub_redux's People

Contributors

vilijan avatar

Stargazers

MG avatar Marina Angelovska avatar Dimitar Stefanovski 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.