ReSwift
SQLDelight
Our great sponsors
ReSwift | SQLDelight | |
---|---|---|
6 | 32 | |
7,510 | 5,908 | |
0.2% | 1.6% | |
3.4 | 9.6 | |
10 days ago | 2 days ago | |
Swift | Kotlin | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ReSwift
-
Do I need third party library to manage state management in swiftUI?
Check this out: https://github.com/ReSwift/ReSwift
-
Cast for and against Redux
There are some great examples linked to the ReSwift GitHub page: https://github.com/ReSwift/ReSwift
-
Is MVVM the only architecture you’ve used when developing iOS app?
ReSwift is also pretty good!
-
Getting Started With Kotlin Multiplatform Mobile
ReduxKotlin There are a few ports of Redux for KMM. This one might be the best because it is thread safe, which is very nice. The only drawback that I don't love about it is that it doesn't have types for sevral aspacts that feel like they should have types. On the other-hand ReKotlin (which is a port of ReSwift) has a lot of the typing that ReduxKotlin is missing, but is missing the thread safety. It just depends on your use-case.
-
I wrote an article about Redux architecture for SwiftUI, you can achieve pretty amazing stuff using it. Below Hot Reload implemented in 30 minutes. More links in comments. It's worth at least getting familiar with this architecture :)
Great article OP! Im sure you've seen it in your travels, but Ive been using ReSwift and ReSwift-Thunk for async actions and I've had great success - Gonna look into your navigation solution as that was the one part I'm still missing!
-
Do we have Redux specialists here :D? I'm trying to figure out if I should use classes or structs for keeping the state
I recommend you checkout the code base of ReSwift
SQLDelight
-
querky – autogenerate Python functions and types for your SQL queries
This seems to be similar to https://github.com/cashapp/sqldelight, and I've always wanted a python equivalent!
In typescript, there are query builders (not talking about ORMs) that can basically do this within the type system, but that would be infeasible in python's type system. This approach (type/code generation is a good alternative, though I like using sqlalchemy / alembic to manage schemas/migrations.
One thing I'm curious about is how it knows the types of columns? I looked quickly at the Readme but didn't see it (probably a parameter somewhere I missed).
- I'm creating a REST API using KTOR. What's the best ORM to go with KTOR ?
-
KMM alternatives to Android Datastore & Room DB?
That functionality has existed for almost exactly a year
-
What were your negative experiences when adopting KMM?
- SQLDelight - great experience overall, the only issue that I found, was when that I made a database migration that worked on Android, but not on iOS (https://github.com/cashapp/sqldelight/issues/3812)
-
Adopting Kotlin Multiplatform Mobile(KMM) on 9GAG App
Database - SQLDelight
-
Android Starter Template (hilt, ktor, coroutines, flow, modules, gradle.kts, version catalog, compose, MVVM, tests, GitHub CI)
room is a great example but like I said our data is kotlin-only so we tend to use libraries like sqlDelight.
-
Announcing new crate - "hugsqlx": turning SQLx queries into Rust functions
This seems similar to https://cashapp.github.io/sqldelight/ for kotlin, I think this approach is pretty neat, good luck with it!
-
ADVICE WANTED - Typescript PostgreSQL without ORM
Sounds like you want what SQLDelite offers, but for TypeScript. SQLDelite is only for Kotlin and SQLite though.
-
Why We're Moving on from Firebase
SQLDelight had neat built in support for this
-
Flyweight: An ORM for SQLite
You would really like sqldelight[1] then. It takes the concept of an ORM and flips it on its head. Instead of mapping function calls to SQL statements, it lets you write SQL statements and then generates classes for you that have methods for those statements.
For instance, you could have a SQL statement like getCardsForFight: select * from fights where cardId = ? and titleFight = ?, and it would generate a class that has a method getCardsForFight(cardId: number, titleFight: number).
What are some alternatives?
RxSwift - Reactive Programming in Swift
Exposed - Kotlin SQL Framework
Katana - Swift Apps in a Swoosh! A modern framework for creating iOS apps, inspired by Redux.
Realm Asset Helper - A small library to help with Realm.IO integration in Android apps
ReactorKit - A library for reactive and unidirectional Swift applications
jOOQ - jOOQ is the best way to write SQL in Java
ReactiveCocoa - Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.
Ktorm - A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.
swift-composable-architecture - A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
RoomAsset - A helper library to help using Room with existing pre-populated database [DEPRECATED].
RxAlamofire - RxSwift wrapper around the elegant HTTP networking in Swift Alamofire
Realm - Realm is a mobile database: a replacement for Core Data & SQLite