News for hackers. Stuff that matters.
Re:Introducing Cloud Functions for Firebase by subpixel on Thursday March 09, 2017 @02:56PM (#13832835)
This was a long time coming, so congrats first.

I also recently read this from an experienced Firebase developer: https://medium.freecodecamp.com/firebase-the-great-the-meh-a...

Interestingly, he lists several things that he things Firebase needs in order to be awesome, and server-functions is last on the list:

> 1. Real querying capabilities. Search, joins, the whole enchilada.

> 2. Some sort of references likes MongoDB or RethinkDB.

> 3. Real offline persistence with Javascript.

> 4. Give me moar analytics.

> 5. A cache API.

> 6. Some way of adding server side code without needing to resort to a VPS.

Re:Introducing Cloud Functions for Firebase by mbleigh on Thursday March 09, 2017 @03:15PM (#13833063)
Well, Cloud Functions for Firebase isn't the only thing we're working on... ;)
Re:Introducing Cloud Functions for Firebase by thawab on Thursday March 09, 2017 @03:36PM (#13833312)
We use flashlight[1], an elasticsearch plugin to querying firebase. There is another implementation using cloud functions and Algolia[2].

[1]https://github.com/firebase/flashlight

[2]https://github.com/firebase/functions-samples/tree/master/fu...

Re:Introducing Cloud Functions for Firebase by cyberferret on Thursday March 09, 2017 @05:40PM (#13834512)
The extremely poor JOIN functionality is what turned me away from Firebase a couple of years ago.

I come from 25+ years of SQL, and Firebase was my choice for essentially my first 'real world' NoSQL project. I was enjoying it right up to the bit where I had to extract data from 2, and 3 data tables at the same time in a single query. Couldn't believe how verbose and painful it was and it made me drop NoSQL for a while before more recently going back to it (with RethinkDB).

Re:Introducing Cloud Functions for Firebase by katowulf on Thursday March 09, 2017 @11:03PM (#13836281)
A lot of the join functionality can now be simulated by using functions to effectively create views or map reduce data to distilled output. We've got a lot more to come on this front. Functions was just first on the list.
Re:Introducing Cloud Functions for Firebase by Liron on Thursday March 09, 2017 @11:56PM (#13836484)
Do you think there will ever be some kind of materialized views / declarative data denormalization?
Re:Introducing Cloud Functions for Firebase by rutierut on Thursday March 09, 2017 @04:49PM (#13834058)
Nr. 3 would be the end for me, I still don't get why they haven't implemented this, it exist for Ios and Android, why not web!!
Re:Introducing Cloud Functions for Firebase by Andrex on Thursday March 09, 2017 @06:21PM (#13834804)
I understand wanting a native version, but wouldn't it be relatively straightforward to connect to something like PouchDB for web persistence?
Re:Introducing Cloud Functions for Firebase by pier25 on Thursday March 09, 2017 @05:10PM (#13834269)
Author here. That list wasn't really ordered in any way.

And btw I've removed point 6 from that list.