The :hoplon: ClojureScript Web Framework - http://hoplon.io/
George Ciobanu 2019-06-14T15:41:37.050900Z

I'd like to use the Hoplon model to develop mobile apps - I really really like it more than React/Native. I looked into the best ways to do this and have some thoughts: 1. Transpile Clojure to Dart and use Flutter (really involved process, might create weird interactions since Flutter itself has some kind of reactivity (though I think they can coexist). Note that Flutter also has a web version https://flutter.dev/web 2. Use Gluon Mobile (https://gluonhq.com/products/mobile/javafxports/) which is interesting since it turns out GraalVM is a JVM running on iOS and Android and it can run Clojure (like all good JVMs do). So then I'd just have to rewrite/adapt HLisp to render JavaFX mobile elements instead of HTML css etc. Javelin and Castra should work the same way 3. Compile Clojure to ObjC/ Swift for iOS, and to... Java? Just deploy? for Android. For iOS it Seems like a huge endeavor. Any other thoughts on how to approach this? My goal is to create a web (or desktop) visual editor similar to http://Bubble.is but for mobile. The user draws the UI in an HTML page and when they deploy to iOS or Android the UI looks the exact same way.

George Ciobanu 2019-06-14T15:58:43.052600Z

Another, somewhat related question, that I could not figure out from watching videos and reading documentation: what happens when a cell triggers an update? Is the dom node and everything below it just rebuilt? I know that for some items just the innerHTML is changed

flyboarder 2019-06-14T16:17:51.054300Z

@geo.ciobanu this is a loaded question, regarding the mobile development, you can choose any of the methods, there is already a hoplonfx in the works for desktop, I imagine this would work on mobile too

flyboarder 2019-06-14T16:18:40.055600Z

I personally think phonegap would be easiest since hoplon is a html/js lib - progressive apps would be the way to go IMO

flyboarder 2019-06-14T16:19:19.056700Z

When a cell is changed the attribute is updated, whatever that attribute does is then applied to the DOM object

George Ciobanu 2019-06-14T16:38:12.060100Z

Thank you @flyboarder! Didn't mean to make it a loaded question, just want to know what options exist to use the Hoplon paradigm on mobile šŸ™‚ This is a personal preference but I want to generate native code - not a huge fan of webviews and even of the RN adapter. Flutter is ok because although it has its own rendering engine it's got native-like performance. Looking at HoplonFx now. The only thing is, how does one create apps that look like the native ones? JavaFx does not have iOS/Android specific component libraries so any app developed based on it will look very Java like.

flyboarder 2019-06-14T16:46:15.061300Z

Yeah Iā€™m not sure what libraries are available for java mobile stuff, but if you find something you like we can help make it hoplon compatible!

flyboarder 2019-06-14T16:46:24.061600Z

@geo.ciobanu ^

George Ciobanu 2019-06-14T17:31:48.062800Z

@flyboarder I think I found 2: https://www.codenameone.com/ and Guon Glisten https://gluonhq.com/category/gluon-mobile/glisten/. Although Glisten doesn't seem to have lots of documentation (or at least not well advertised) the repo for it seems to be kept up to date: https://mvnrepository.com/artifact/com.gluonhq/charm-glisten?repo=gluonhq-releases

flyboarder 2019-06-14T17:50:22.063100Z

Yep looks like it

George Ciobanu 2019-06-14T18:24:39.064Z

I need to wrap my head around hoplonfx and how it would work with these component libraries - thank for helping me so far, I'll get back with some questions/ideas once I clarify it for myself šŸ™‚