by billyhoffman · 12y ago · 0 comments
Take hoodie.email.send(properties) as an example. It just the same as `POST /email` with email properties JSON, with the only difference that it's simpler to understand and to handle for frontend people, and it works offline (syncs when connection is back).
https://developers.google.com/gmail/actions/actions/actions-...
I'm actually surprised so few companies have implemented it thus far.
https://developers.google.com/gmail/actions/reference/one-cl...
Gmail's code base is not a "offline first, mobile first" platform. The API that is exposed to the client-side is fairly light (watch the traffic).
I highly suggest use research "business logic flaws" in web apps. Anything Jeremiah Grossman has said on this topic is good stuff.
Thanks for the pointer to Jeremiah, though :)
"This document describes functionality and features that don't exist yet."
I'm well aware that it isn't a perfect solution but it just works.