Research on query pagination technology for web data based on django framework
QI Jin-gan · Electronic Design Engineering · 2014
In order to explore the methods and properties of Web data query pagination in the Django framework, this paper first analysis the implementation processes of Web data query pagination and the methods of paging commonly used in other frameworks. On this basis, puts forward several implement methods of paging in the Web service layer and paging in database service layer in the Django framework, which are paging in the Web service layer by using the cache and Sessions and paging in the database service layer by using stored procedures and user-defined Manager method. Finally, these methods are tested and compared, find that when the data of website is little the performance of these methods is not very different, but when the data of website is huge the method of paging in database service layer is superior.