Firebase Validation hasChildren() Pro Tip

So, I'm chugging along with testing data validation in Firebase. Everything was going okay with my tests. I could block invalid data and accept valid data. tl;dr : If you use .hasChildren() validation, you must include a validation rule for every property you are requiring. Original Rules: { "rules": { ".write": false…

Firebase Data Validation

Yesterday, I explained how I chose to start testing Firebase for taking over the Kids In Touch API. I mentioned that all was not roses. I'll go over one of my biggest issues with the service here. Rules Based API With Firebase, you don't write any server side code. Unlike…

Comparing Firebase to PubNub

I've been testing Firebase lately and considering using it to replace my own backend for Kids In Touch. I'm liking Firebase very much. The two way syncing is so fast and smooth. The "three-way binding" with Angular is really nice too. Very importantly, I've been really impressed with the Firebase…

Ionic List Stlying For Dummies

So, I'm a bit embarassed here. I got off on a bit of a tangent while trying to style the new signup process for Kids In Touch. I wanted a checklist to show the status of the onboarding process. Somehow, I decided a checkbox would style a list of steps…

Increase MongoDB Result Size

Sick of getting the Type "it" for more response from a MongoDB query after just a few results? The fix is very easy. Unfortunately, remembering the fix is impossible. It's also surprisingly hard to find this answer. I'm putting it here so I can find it again. DBQuery.shellBatchSize = 5000…

Cordova Contacts Plugin with Ionic Framework

A few days ago, Raymond Camden posted an article about using the pickContact feature in the updated Cordova contacts plugin. I dabbled with it but ran into some problems. Unfortunately, those problems were my own. Today, I've finally gotten around to trying this out with a sample Ionic Framework app…