On his blog today Matt Curry shows how to connect CakePHP plugins so that two could be used and treated as one by the end user.
In the asset plugin I needed to know if the localization plugin was also installed and if it was use it. Cake’s App::import() function returns "boolean true if Class is already in memory or if file is found and loaded, false if not." Perfect.
His code shows how he combines a plugin for localizing javascript files and an asset plugin that combines and compacts javascript and css files.