[HN Gopher] Strada - Create fully native controls, driven by you...
       ___________________________________________________________________
        
       Strada - Create fully native controls, driven by your web app
        
       Author : ashjanderson
       Score  : 76 points
       Date   : 2023-09-20 18:00 UTC (5 hours ago)
        
 (HTM) web link (strada.hotwired.dev)
 (TXT) w3m dump (strada.hotwired.dev)
        
       | wilg wrote:
       | It's honestly just sad how complicated the engineering is to make
       | a modern CRUD app that works on the various platforms users
       | expect and behaves normally. It doesn't seem tenable long-term to
       | have to build your app three or four times, or use weird glue
       | projects like this. This seems like a decent solution, to be
       | sure, but still.
        
         | [deleted]
        
         | gjsman-1000 wrote:
         | Right now I'm building a web app, but I'm at the point where
         | when it comes to phones, it's either fully native apps - or
         | nothing. I take some relief knowing that only the "R" and a
         | subset of "U" really needs to be in the app to satisfy almost
         | everyone but staff in my case.
        
           | chris24680 wrote:
           | A nice benefit to the Turbo/Strada approach is that you can
           | progressively enhance the apps over time. So you can start
           | off with full functionality facilitated by the web app and
           | overtime if it makes sense for the app you implement
           | particular screens fully natively.
        
           | holoduke wrote:
           | We migrated all our native apps to webapps. No fancy 3d apps.
           | But mostly news apps. Lists, detail screens. Our approach
           | shows no decrease in performance. But development becomes 10
           | times easier. Its a pita to work with iOS, but specially
           | Android SDK is such a crap framework. You still need a bit of
           | native code. But at least all the UI related stuff can be
           | created with css.
        
       | pkcsecurity wrote:
       | This is a pretty interesting approach.
       | 
       | We've been doing a similar pattern already, because we have our
       | web app iframed and communicating with outlook (via Office.JS)
       | and gmail (via InboxSDK.JS) in order to read changes to the To:
       | field and insert contents into the compose page based on that:
       | 
       | * stimulus encapsulates the javascript logic that "bridges" to
       | Outlook and Gmail, including initializing the To: field listener
       | * stimulus actions can trigger the "bridge" as well
       | 
       | It's worked out very well - though I really hate dealing with
       | native stuff in general - especially compatibility nightmares
       | with older versions of Outlook. Probably less of a problem with
       | iOS/Android.
        
       | thehenster wrote:
       | Is there a cause for concern that a strada app might conflict
       | with the App Store review guidelines?
        
         | chris24680 wrote:
         | Strada is just a standardized communication layer between
         | native code and your Turbo web app. Turbo native is the native
         | wrapper for the web app and that has been available for years
         | and is used by a bunch of apps.
        
       | foooorsyth wrote:
       | Something like Strada is the final piece for me to give Rails a
       | real shot. I've been running with Django + htmx recently. I'm
       | having to do backend-for-frontend and write redundant JSON APIs
       | for mobile. And of course I lose the SSR in those cases.
        
         | joshmn wrote:
         | Strada isn't dependent on Rails, but Turbo.
        
         | nomdep wrote:
         | Did you try Hyperview (https://hyperview.org/)? It's discussed
         | in the Hypermedia book like the htmx for mobile.
        
       | sashenka wrote:
       | [dead]
        
       ___________________________________________________________________
       (page generated 2023-09-20 23:00 UTC)