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

browse by tag: plugin

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
category icon

Basic Plugin/Event Architecture

in PHP added by AKnife, on 15/5/2007 abstraction advanced tutorials events php plugins

Any complicated application will require some level of abstraction on top of the programming language itself; a strong plugin and event architecture can make for strong reusable components, as well as clean, easy to manage code.

comment save report