Re:Don’t Build a General Purpose API to Power Your Own Front...
by ativzzz on Sunday August 20, 2023 @10:29PM
(#37204860)
ruby on rails has been able to do all of this with remote forms for at least 10 years now
[ Parent
| on HN ]
Re:Don’t Build a General Purpose API to Power Your Own Front...
by littlecranky67 on Monday August 21, 2023 @04:07AM
(#37206640)
Very sceptic that RoR can obtain/interact with the browser push notification API as I stated in my example. You'd have to come up with glue JS code yourself, and that is where it gets messy. Pushnotifications just being one of many APIs that are client-only (and again please, if you don't need to interface with those APIs, then you might not need an SPA in the first place).
Re:Don’t Build a General Purpose API to Power Your Own Front...
by valenterry on Monday August 21, 2023 @05:59AM
(#37207355)
Just because "remote forms" have forms in their name it doesn't mean that they are conceptually the same thing. They are not, so obviously they can achieve those things, but they are built with js.