Hi all. I am not sure how to proceed. I want to display google analytics chart in my dashboard.
I have in my user_controller.php admin_dashboard function: all google analytics blablabla to retrieve the data for the view trough GA api. I am calling a config file (uname + pass), and a model + datasources file in this ga function. In my view I output it just fine, as is, but slow :( Now, my question is, to speed this process up when visiting dashboard (today, it takes time to load, because the controller retrieves all the data for the GA output to view before displaying the dashboard). I was thinking of: - Make a separate function (admin_ga) - make element and requestaction that function - cache the element/requestaction - ajax call some view/element to speed things up? Or something like that. I am not sure what would be the best practice/approach on this! Any suggestions?? Thanks for all input on this... Awesome ;) -Tom -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
