News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matt Curry's Blog:
Connecting CakePHP Plugins
May 29, 2009 @ 08:47:35

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.

2 comments voice your opinion now!
connect tutorial plugin cakephp


blog comments powered by Disqus

Similar Posts

Lorenzo Alberton's Blog: Create a video preview as animated GIF with FFmpeg and PHP SPL

IBM developerWorks: A step-by-step guide to publishing your own PEAR channels

HowTo Forge: Fedora 8 Server Setup - LAMP, Email, DNS, FTP, ISPConfig - Page 6

Lorna Mitchell's Blog: Fetching Namespaced XML Elements With SimpleXML

SitePoint PHP Blog: Help Develop PHP: 5.6 RC1 on Homestead


Community Events





Don't see your event here?
Let us know!


release podcast list series introduction language interview community framework threedevsandamaybe developer code laravel refactor opinion wordpress install configure unittest testing

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework