News Feed
Sections




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

Chris Hartjes' Blog:
Tutorial Integrating PHP/SWF Charts with CakePHP
September 27, 2006 @ 07:18:38

On his blog today, Chris Hartjes has posted a tutorial about getting charts, specifically SWF charts generated with PHP, into your CakePHP application.

Okay, for a project at work I was asked to add graphs to some of the reports I'd already created. So I looked around for solutions for graphing in PHP and stumbled upon PHP/SWF Charts as a solution.

He walks you through the installation (a simple unpacking) and the code that he used to get things set up and working, inluding his custom controller. His GraphsController functions the same way as any other controller, but uses a single action function to encapsulate the generation of the chart. This is then pushed out to the view where the PHP/SWF Charts system is implemented.

1 comment voice your opinion now!
cakephp framework phpswf chart dynamic action view controller cakephp framework phpswf chart dynamic action view controller


blog comments powered by Disqus

Similar Posts

Chris Hartjes' Blog: Screencast: Interactive Console for CakePHP

ThinkPHP Blog: Which Open Source PHP framework do you use? (Poll)

PHP Town Hall: Episode 1 - Composer Kicks Ass, Laravel 4 Is Coming, and PHP Hosting Sucks (Podcast)

Marcelo Gornstein's Blog: Making your ivr nodes (call) flow with PAGI

PHPMaster.com: Google App Engine and a Plea for Phalcon


Community Events

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


symfony2 example performance conference introduction voicesoftheelephpant library release api framework interview language application laravel configure series opinion php7 community podcast

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