On Tue, Feb 10, 2009 at 9:15 PM, PHPScriptor <[email protected]> wrote:
> You always come back in your controller. The zend paginator add's the param > 'page' in the url. > So you always do a requery. (if that's what you wanted to say). > > http://localhost/news become http://localhost/news/page/1 Thanks for the clarification. What I mean is if we do fetchAll(), the result is already in the memory (static) and no matter how paginator access it, it will show the data already in memory (no requery to db but only get another part from already fetched query). While if we feed the select() (accroding to documentation in NOTE section http://framework.zend.com/manual/en/zend.paginator.usage.html), it will requery db each time page changes and it is possible to see the changes in query result over time. Anyway I now know few concepts to get started with. By the way I found a tutorial http://teethgrinder.co.uk/perm.php?a=Zend-Framework-MySQL-DB-Pagination-Tutorial while following the previous post on similar topic but didn't make sense till now. I will have re-look and try something. I won't know until I will try. Anyway thanks and Regards! -- ======================= Registered Linux User #460714 Currently Using Fedora 8, 10 =======================
