For Read all Records
cars.updatePageConfig({
paged: false
});
cars.read({
success: function( data ) {
// do something
},
error: function() {
// handle it
}
});
I think we also want the ability to get all the records with a flag in the read method,
without changing the pipe.
I think that may have been in your original proposal.
On Jan 15, 2013, at 3:50 PM, Kris Borchers <kris(a)redhat.com> wrote:
On Jan 15, 2013, at 1:51 PM, Douglas Campos <qmx(a)qmx.me> wrote:
> As we wrap the day one of API design discussions, what about summarize the API
proposals with usage?
>
> JS/iOS/Android:
>
> 1) usage example, covering some mentioned usecases like changing the paging
"midflight" - something really straight to the point (no fluff, just stuff)
OK, hopefully this can get us going on #1
https://gist.github.com/4541788
>
> 2) API definition
>
> I think this will give the orthogonal view we need to come to a decision.
>
> kris: What about you providing a snippet of the API you hate too? just for comparison
sake :P
>
> -- qmx
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev