On Tue, Dec 1, 2009 at 2:58 AM, Casmit <[email protected]> wrote: > I'm trying to implement a feature on our website where the page > displays the latest 10 blog post through an ajax stream. Every 5 > seconds, new post appear in the list and the older post fall off.. > > Any links/info on how this can be done?
You can achieve this doing 5 sec periodic ajax calls to an action that retrieves the lastest posts added. Without a doubt you'll must use remoteTimer function to do this[1]. But first, take a look on how ajax calls works in CakePHP[2]. [1] http://book.cakephp.org/view/627/remoteTimer [2] http://book.cakephp.org/view/208/AJAX Best regards. -- MARCELO DE F. ANDRADE Belem, PA, Amazonia, Brazil Linux User #221105 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
