Hacker News new | past | comments | ask | show | jobs | submit login

What are they using Firebase for?

Great read anyway. I always feel inferior when I see other companies' tech stacks but this makes me realize you can learn along the way and still be successful.




>"Nick: It wasn’t quite working, like people would start typing and we’d notice, they’d start typing one character and all of a sudden eight characters appear, it’s all crazy.

Scott: It’s a really complicated algorithm.

Nick: Yeah. Eventually, we could’ve waited for ShareJS to update to the newer version or we could just go to Firebase and put in an adaptor for that and it’s been totally stable since we did that. So we started using Firebase a couple of months ago."

So from that i infer that they were somehow using it to implement the Multiplayer mode. I still haven't entirely understood how firebase is a client-side DB so i am not sure how they were doing that


Mostly Firepad, which is an adapter for CodeMirror that uses Firebase to add real-time collaborative text editing to it: http://www.firepad.io/

We are using ACE, not CodeMirror, so I added another adapter to hook Firepad up to ACE: http://ace.c9.io/

We also use Firebase to sync the wizard presence, position, chat, and game script state.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: