72 karma · joined January 5, 2012
Yes, I'm biased, I'm a big fan. Just wanted to share some highlights because I think the article doesn't do the amazing work of Jamiah and his team justice. I hope we get to see many more such micro farms all across Los Angeles and Southern California.
I also don’t think that GraphQL will replace REST, the two work great side-by-side
I know this is nightmare to system architects / backend developers at first sight, but trust us, we know exactly what we are doing. We have excellent architects on our team, you just might not be our primary target group here.
But thanks for your feedback, much appreciated!
I'd be also very interested in your basic use cases that you think Hoodie couldn't handle. It would certainly be great input for the project.
If you have a specific scenario in mind, I'm happy to elaborate.
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).
For example, friends of mine like to go climbing. They've build an app in an afternoon, just for their group, to keep track of what tracks they finished and how they liked it. I think this is fascinating. I wonder what would happen if students would learn to build simple apps like that in school, instead of Excel?
Hoodie is more of a tool for applications, with user authentication etc, so SEO is not relevant here. I wouldn't build a public website with Hoodie.
> Also, something else that really trouble me with javascript client-side is that, often, when something bugs, everything just stop working
Yes. That's something we have to handle if we want dynamic web apps build on web technologies. But there are great tools today that help you 1. prevent JavaScript by automated testing in all the browsers / OS 2. track JavaScript errors, e.g. with errorception. And 3. todays browsers are more relaxed about errors, they try to continue running the app, even if one function errored out.
> Is there a better solution than a hard-refresh? Would a first-level try/catch solve this problem
If you can keep the state of an app and store user's data immediately, there is no big problem to reload the page, I do that in several occasions at minutes.io, the user usually doesn't realize, it's very fast.