[aerogear-dev] Client Paging Strawman

Lucas Holmquist lholmqui at redhat.com
Tue Jan 15 15:59:59 EST 2013


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 at redhat.com> wrote:

> 
> On Jan 15, 2013, at 1:51 PM, Douglas Campos <qmx at 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> 
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130115/b73c7fb2/attachment.html 


More information about the aerogear-dev mailing list