want to join us? register, it's easy | help

browse by tag: status

sort by

newest, oldest, most popular

category icon

Adding Custom Panels to the CakePHP Status Plugin

in PHP added by goodphptutorials, on 11/8/2009 cakephp framework plugin status

There are two different ways to add a panel '" using requestAction or Ajax. The general rule is if the panel is pretty fast to load and content is static use requestAction. If the panel takes some time or you want to be able to interact with it then use Ajax. For example, the logs panel uses requestAction since it's pretty quick to grab the log entries and you really don't need to interact with them. The Google Analytics panel, on the other hand, takes a few seconds to query the API and has options to change the timeframe, so it uses Ajax.

comment save report