Application data can sometimes grow rapidly. And so displaying a reasonable number of records per page has always been a critical part of every application and used to cause many headaches for developers. Bancha eases the burden on the developer by providing a quick, easy way to paginate data.
Ext JS and Sencha Touch provides the config pageSize to define how many records should be loaded and displayed in the application. By default Bancha sets it to load up to 500 records. The Sencha Touch/Ext JS store will send the paging information and the CakePHP PaginatorComponent will get it in the CakePHP format. You can freely choose the pageSize.
Please note, the default max. page size for Bancha requests is 1000. Since any hacker is able to send fake requests with bigger page sizes there should always be a limit to prevent denial of service attacks. If you want to have a pageSize bigger then 1000 please adopt the CakePHP maxLimit config like this:
$this->Paginator->banchaSettings['maxLimit'] = 2000; // now up to 2000 entries can be loaded // The actual size depends on Ext JS/Sencha Touch store pageSize