4 ms·
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 b
by gr2m 14y ago
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 browser.
- RaphiePS 14y agoA lot of my Angular code is glue for the backend, so this would be an absolute godsend.
- gr2m 14y agoI've made a backbone adapter a while a go: https://github.com/hoodiehq/hoodie.js/blob/master/stuff/backbone-hoodie.coffee https://github.com/hoodiehq/hoodie.js/blob/master/stuff/back... shouldn't be hard to make one for Angular. Happy to help
- jjsz 13y agoI'm looking for someone to translate this into an angular adapter and combine it with Yeoman's 1.0b4's AngularJS generator, among other things to test out hoodie. If you were already going to do it, might as well do it sooner than later and get payed for it! :-) I posted the job on Elance, Freelancer, and Odesk if anyone is interested. Elance: https://www.elance.com/job/40077787/proposals https://www.elance.com/job/40077787/proposals Freelancer: http://www.freelancer.com/projects/Javascript-Software-Architecture/Create-Hoodie-AngularJS-adapter-with.html http://www.freelancer.com/projects/Javascript-Software-Archi... ODesk: https://www.odesk.com/jobs/Create-Hoodie-AngularJS-adapter-with-Yeoman-0b4-Angular-Generator_~~deb45ba3ee122d03 https://www.odesk.com/jobs/Create-Hoodie-AngularJS-adapter-w...
- gr2m 13y agoGet in touch at twitter.com/gr2m if you don't find anyone by end of April. I'll do it for ya. You can donate the money
- lifeisstillgood 14y agoI have not read any more than the intro linked, but I am kind of "concerned" by the big claims Behind the scenes, Hoodie takes care of account creation, email validation and all the boring backend tasks you have to think of. yeah, but how. You still need to do account creation, even if you are storing the hoodie-account-object locally in some fashion. Am I being dense, or is this like a nice client framework that still needs to talk AJAX to the backend, so still needs to allow oAuth, so still needs to change code if the API changes, and so on. "We just want to make apps, and add billing by Monday" is a bit worrying as a goal to me... edit: oh, so this stubs out the server side at the client ? It seems like the same amount of work to keep backbone models in synch with the server as it does to keep hoodie? What do I gain?
- janl 14y ago> yeah, but how. Hoodie comes with a backend that does all that stuff that can only be sensibly done server-side for you. > edit: oh, so this stubs out the server side at the client ? It seems like the same amount of work to keep backbone models in synch with the server as it does to keep hoodie? What do I gain? @gr2m can you take this one?
- lifeisstillgood 14y agoHoodie comes with a backend that does all that stuff that can only be sensibly done server-side for you. wibble? I run your client and your server and talk to the stubs both ways? Why? Sounds like Microsoft. Edit: I take back the MS jab - unnecessary when simply trying to understand something. My apologies
- janl 14y agoYeah, we are basically copying Microsoft. Edit: No harm done :)