2012年4月17日星期二

Code2Learn.com: Using HighCharts with php , MySQL and CodeIgniter


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.

没有评论:

发表评论