Live data from Hacker News

Using Ember.js and Firebase for powerful real-time applications

thomasboyt.com

11–13 of 13 posts

Re: Using Ember.js and Firebase for powerful real-time applications

#11
post #9

Earlier quoted context omitted.

Firebase engineer here. For things like chron jobs / emails / any logging you want to do, you can run a node server that uses the javascript SDK. That lets you do things like, "any time a user writes to this location, send an email with the contents of the data". You can also observe arbitrary data changes and log any info that is relevant to you. As for passwords, we have a few details here at the bottom of the page…

A node server that I run on my server accesses Firebase through the SDK, right?

Correct. There's a quickstart guide for using the Node SDK here: https://www.firebase.com/docs/nodejs-quickstart.html

You can also use the REST API (https://www.firebase.com/docs/rest-api-quickstart.html) to interact with Firebase from any platform.

Re: Using Ember.js and Firebase for powerful real-time applications

#12

Regarding Firebase: * How do you access logs * How do you email users * How do you run cron-like jobs * How are passwords stored? Are they salted? AES256 encryption? I've been reading the docs and questions like these are not readily accessible.

As the Firebase engineer posted you can use Node.js, OR ANYTHING YOU WANT, remember you are not forced to use JavaScript for everything, that's the beauty of *nix, if CRON worked for ages, why not just use cron and a perl script or simila?.

Re: Using Ember.js and Firebase for powerful real-time applications

#13

In case anyone would like to compare, here's a similar example using Angular and Firebase: http://firebase.github.io/angularFire/examples/chat/ Source: https://github.com/firebase/angularFire/tree/gh-pages/exampl...

And here is the 14 line jQuery version. https://www.firebase.com/tutorial/#session/pxkpekf5ze3 Would love to see your angular demo implement authentication. Also, your angular demo uses angularfire.js.

It's not my demo, it's firebase's demo. Why should it not use angularfire?
Post reply on HN