Live data from Hacker News

Hoodie: very fast web app development

hood.ie

11–20 of 155 posts

Re: Hoodie: very fast web app development

#12

Neat, I really like the idea of being able to sync local storage with a Couch backend. > Hoodie currently only runs on OS X Oh, a hipster framework.

are you on Windows or Linux? Would be great if you could help us to migrate it.

hoodie is basically CouchDB + node.js, nothing fancy. We just do local DNS magic, creating *.dev domains like http://pow.cx/, that is only compatible with Mac atm

Re: Hoodie: very fast web app development

#13

Self hosted Firebase, nice! How do you handle permissions by the way? is it the same concept as Firebase's? how do you handle data validation? (e.g. preventing users gaming the data, e.g. saving all their stolen ebooks in your system by using a console, or just cheating in a game by doing illegal moves?)

permissions is handled directly by CouchDB. Every user has an own database that only he/she has access to. Synchronization between accounts can be done via shares.

We don't have validation at the moment. You can store whatever you like, it's just JSON. We could add validation at some point, but it's currently not on our agenda.

We try to keep it really simple at the moment, getting the core right, then empowering others to build modules on top of it.

Re: Hoodie: very fast web app development

#15
post #6

Earlier quoted context omitted.

at first, Hoodie is just a Store for data. So instead of Backbone, Angular etc storing their data via AJAX on a server, or in LocalStorage, we can very simply build adapters for all of the MV* frameworks to use Hoodie as their store. This way, you get accounts and data synchronization for free. And offline ;-) Emails and other future modules like payments are just extensions of the available JavaScript API in the bro…

A lot of my Angular code is glue for the backend, so this would be an absolute godsend.

I've made a backbone adapter a while a go: https://github.com/hoodiehq/hoodie.js/blob/master/stuff/back...

shouldn't be hard to make one for Angular. Happy to help

Re: Hoodie: very fast web app development

#16

Neat, I really like the idea of being able to sync local storage with a Couch backend. > Hoodie currently only runs on OS X Oh, a hipster framework.

> Oh, a hipster framework.

Never attribute to hipsterism what could adequately be explained with picking priorities :)

The hoodie backend works anywhere node and Couch work (anywhere, really), it’s just that the local dev setup with the fancy domains and everything is tailored to Mac OS X. We have Linux support in the works.

Re: Hoodie: very fast web app development

#17

Self hosted Firebase, nice! How do you handle permissions by the way? is it the same concept as Firebase's? how do you handle data validation? (e.g. preventing users gaming the data, e.g. saving all their stolen ebooks in your system by using a console, or just cheating in a game by doing illegal moves?)

CouchDB has validations, we just don’t use them yet, you are welcome to, though :)
Post reply on HN