 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Zend Developer Zone: Dynamically Creating Graphs and Charts with PHP and GDChart
by Chris Cornutt August 14, 2008 @ 15:12:58
The Zend Developer Zone has a new tutorial posted today (from Vikram Vaswani) that focuses on making charts and graphs with the help of the GDChart extension for PHP.
This extension, which is freely available from PECL, can significantly reduce the amount of work involved in dynamically generating graphical representations of numerical data at run-time. Over the next few pages, I'll introduce you to this extension, illustrating its important features and showing you just how easy it is to get your Friday evening back.
The tutorial shows how to get and install the extension as well as including a few usage examples - a simple charting of values (with the different chart types defined), comparing more than one set of data, changing the aesthetics of the output and a detailed look at a few of the chart types' output.
voice your opinion now!
chart gdchart extension pecl graph tutorial
Zend Developer Zone: Building Dashboards With PHP and Flex
by Chris Cornutt June 02, 2008 @ 15:58:09
Jack Herrington has posted a new tutorial to the Zend Developer Zone today showing how to combine PHP, your database of choice and Flex to create a dashboard in your application.
Let's face it: Interactive graphs and dashboards have never been easy to put together on the web. Sure, there are graphing libraries out there for PHP, but to get something that looks really good and that a user can play with has been tough. Or at least, it was yesterday.
He shows how to create a simple Flex application that takes in XML data (from whatever backend, he uses a PHP script that uses DOM) and displays the information - his sample traffic data - as a graph. This graph is an extension of the Elixir library from ILOG and makes dropping information into graphs and charts simple.
Screenshots of the Flex side of things and code for the PHP side are both provided.
voice your opinion now!
dashboard flex tutorial database elixir chart graph
Developer.com: Graphing Data with PHP/SWF Charts
by Chris Cornutt December 03, 2007 @ 11:14:00
Developer.com has a new tutorial posted today about using the PHP/SWF charting system to graph your data:
In this tutorial, I'll introduce you to PHP/SWF Charts, a great solution for building PHP- and Flash-driven charts. PHP/SWF supports a wide variety of charting formats, including bar, candlestick, 3D columns, pie, 3D pie, and advanced charts such as scatter, polar, and composites. See the maani.us PHP/SWF gallery for a great compilation of examples.
They focus mainly on a bar chart to keep things simple. They show how to install the software (dead easy) and how to create a simple first chart complete with a graphic to illustrate. Flat charts are nice, but they show some of the real power of the library by transforming it into a 3D bar graph, giving the columns some depth and all it really takes is changing the chart type.
voice your opinion now!
data graph phpswf chart bar 3d tutorial data graph phpswf chart bar 3d tutorial
Sebastian Bergmann's Blog: Speaking at Conference PHP Quebec 2008
by Chris Cornutt November 15, 2007 @ 11:13:00
Sebastian Bergmann points out that he will be speaking at the upcoming PHP Conference in Quebec (2008). He will be presenting three talks/tutorials:
- Test-Driven Object-Oriented Programming - Learning and Understanding (with Marcus Borger): This PHPLab is an in-depth introduction to object-oriented and pattern-based programming using PHP 5. You will learn everything necessary to write your own cutting-edge components and applications - and of course how to use and extend components from other people or companies.
- PECL: The PHP Language Workbench: A look into PECL shows how flexible the language core of PHP, the Zend Engine, is.
- Graph-Oriented Programming with PHP: This session presents the eZ Components' workflow engine, its possible applications and the underlying principles and techniques.
You can find out more about the conference from their main website (including other speakers that will be presenting) as well as registering to reserve your space for the March 12th-14th conference.
voice your opinion now!
phpquebec2008 speaker testdriven development pecl graph oriented phpquebec2008 speaker testdriven development pecl graph oriented
Mikko Koppanen's Blog: Creating a simple line graph
by Chris Cornutt October 15, 2007 @ 12:55:31
Mikko Koppanen has another post to his blog today that once again shows the combination of PHP and Imagick to create/output an image - this time, it's a simple line graph.
This example demonstrates how Imagick can be used to create graphs. This graphing class itself is mostly a demonstrative example. There are also some hardcoded values in the graph (like the steps in the values on the left hand side) but it should not be hard to refine it into a more elegant graphing solution.
The graph is made using the Imagick drawing functions that extends the standard "draw" class. The code produces a graph with a (straight) line drawn from point to point - code and output examples are both included.
voice your opinion now!
imagick image output graph line tutorial imagick image output graph line tutorial
Nexen.net: PHP 4 and PHP 5 are in a boat from will to reality
by Chris Cornutt October 03, 2007 @ 12:04:00
On Nexen.net today, Damien Seguy presents some numbers on something that there's not a lot of research done on - the number of servers running multiple PHP versions.
This subject was hot at the birth of PHP 4 (running PHP 4 and PHP 3, or course), and it is coming back with a vengeance for PHP 5, backed by the immense user base of PHP 4. If PHP 5 is the default installation in 2008, what will happen to all those users? [...] Based on this observation and my earlier experience of cohabitation, I wondered if there was any indicator of multiple PHP installation.
He used the same tracker he implements for his normal monthly stats and ran a modified query to get the numbers of multiple-version servers that are out there. He's graphed some of the results. Based on his results, though, he notes a market for multiple PHP installations but "a pretty small one", noting that you're probably better off making the jump out to PHP5 anyway.
voice your opinion now!
php4 php5 simultaneous installation graph statistics php4 php5 simultaneous installation graph statistics
|
Community Events
Don't see your event here? Let us know!
|