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

Code2Learn.com:
Using HighCharts with php , MySQL and CodeIgniter
Apr 17, 2012 @ 16:17:33

New on the Code2Learn site there's a tutorial showing how to integrate HighCharts, PHP, MySQL and CodeIgniter to create a simple graph based on database data.

While working on a project I found out that HighCharts is the best to display graphs on webpage as it has less overhead and requires less space. But the biggest challenge was to implement it using php and not jQuery. We will implement it using MVC pattern as CodeIgniter follows the same.

Included in the post is a library for interacting with HighCharts from PHP, configuration settings for CodeIgniter and the model/view/controller pieces to tie it all together. You can see an example of the end result here.

tagged: tutorial highcharts codeigniter framework mysql database

Link:

Paul Reinheimer's Blog:
XHGui Improvements
Jun 15, 2010 @ 16:03:01

Paul Reinheimer has posted about some updates to a profiler project he's been working on, XHProf, with some new GUI improvements thanks to Highcharts. XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.

I merged my Highcharts branch into master today, including a bunch of improvements to the GUI for XHProf including: using Highcharts for graphing URLs over time, which allows for multiple axis per graph, adding a pie chart to the individual run page to show where time was spent on page load, ability to merge various calls for display within the pie chart (e.g. mysql_* into mysql), switched to the javascript tablesorter for the single run results, filter to allow you to view results only from a specific server or domain

You can see two screenshots of this new feature in action here and here. If you'd like to give the tool a try, you can grab the latest version from github.

tagged: gui improvement xhprof profiler highcharts

Link:


Trending Topics: