PDA

View Full Version : Firebase



ccrosetti
28 Aug 2013, 7:26 AM
I wondered if someone has tested the Ext JS REST (out of the box) proxy against the Fierbase

https://www.firebase.com/docs/rest-api.html

existdissolve
28 Aug 2013, 9:42 AM
I wondered if someone has tested the Ext JS REST (out of the box) proxy against the Fierbase

https://www.firebase.com/docs/rest-api.html

Straight out of the box, I think the generated URLs would be a bit different. For example, take a PUT. Firebase expects the URL in this format:


https://SampleChat.firebaseIO-demo.com/users/jack/name.json

The Ext JS Rest Proxy, by default, would probably generate something like this, assuming your endpoint was "users/name":


https://SampleChat.firebaseIO-demo.com/users/name/jack.json
// or some other id, e.g., 1234.json

That being said, you can easily create a custom proxy that extends Rest and implement your own buildUrl() (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.data.proxy.Rest-method-buildUrl) method to stitch together the endpoint url in whatever structure is required.

ccrosetti
28 Aug 2013, 9:49 AM
From what is see from the REST proxy I believe it may work but no time to test now, maybe someone else already tried.

devtig
18 May 2015, 10:33 PM
SenchaFire at the horizon.http://senchafire.com/

Misiu
5 Apr 2016, 1:47 AM
SenchaFire at the horizon.http://senchafire.com/
Any news on this? Any release dates?