News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
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





Similar Posts

DevShed: More Examples of Creating Command Objects with PHP 5

Soledad Pendaes' Blog: PHP will never have a (real) Rails-like framework

Tim Koschuetzki's Blog: Parsing XML With The DOM Library

JSLabs Blog: How to turn a php script to an exe...for free

PHPBuilder.com: Using the ADOdb library with Oracle and PHP


Community Events









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


feature release job benchmark codeigniter zendframework podcast extension sqlserver zend framework microsoft symfony wordpress doctrine facebook conference opinion developer windows

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