scalaonandroid
SQLDelight
scalaonandroid | SQLDelight | |
---|---|---|
11 | 32 | |
168 | 5,928 | |
- | 1.0% | |
6.7 | 9.6 | |
9 months ago | about 22 hours ago | |
Scala | Kotlin | |
GNU General Public License v3.0 only | 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.
scalaonandroid
-
Fx Calculator: A calculator for Android written in JavaFX (and Scala)
Here's the 1.0.0 version of FxCalculator
-
Android development.
Im my free time I experiment with the GraalVM approach, which is quite different (JavaFX or ScalaFX for GUI, no Android SDK). You can take a look here: https://github.com/makingthematrix/scalaonandroid
- JavaFX Cross-platform Mobile Apps
-
Do you contribute to open-source android projects?
https://github.com/makingthematrix/scalaonandroid - that's my weekend project
-
Can Javafx application be deployed to Android?
I'm experimenting with this idea: https://github.com/makingthematrix/scalaonandroid
-
How does Gluon's GraalVM based substrate work?
You can build a mobile app with GraalVM Native Image and JavaFX, but without Gluon - I have one such example: https://github.com/makingthematrix/scalaonandroid/tree/main/HelloFXML
-
How do I include multiple FXML files in one project?
In my case, I put them as separate files in the resources/ folder, like here with main.fxml and history.fxml. And then I load them separately in the code:
-
9 years later but we finally have the answer
https://github.com/makingthematrix/scalaonandroid - Here's a repo where I'm doing some experiments with this approach, putting Scala on top of it (it's GraalVM so I can write in Scala if I want to, ha).
-
Java to Android project conversion
This can feel a bit hacky, but... here's my tutorial how to use GraalVM and Gluon to write an Android app in Scala. You can follow it step by step, just ignore the Scala part. https://github.com/makingthematrix/scalaonandroid
-
Is anybody using Scala for Desktop Development?
Here's how to make an Android native image with Graal, but a desktop one is not much different: https://github.com/makingthematrix/scalaonandroid
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
https://cashapp.github.io/sqldelight/
-
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).
[1]: https://github.com/cashapp/sqldelight
What are some alternatives?
TilesFX - A JavaFX library containing tiles that can be used for dashboards.
Exposed - Kotlin SQL Framework
uni-app - A cross-platform framework using Vue.js
Realm Asset Helper - A small library to help with Realm.IO integration in Android apps
ScalaFX - ScalaFX simplifies creation of JavaFX-based user interfaces in Scala
Ktorm - A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.
jfx - JavaFX mainline development
jOOQ - jOOQ is the best way to write SQL in Java
FXGL - Java / JavaFX / Kotlin Game Library (Engine)
RoomAsset - A helper library to help using Room with existing pre-populated database [DEPRECATED].
controlsfx - High quality UI controls to complement the core JavaFX distribution
Realm - Realm is a mobile database: a replacement for Core Data & SQLite