 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
RIA Zone: Charting data from a database using Adobe Flex and PHP
by Chris Cornutt July 07, 2010 @ 09:14:01
On the RIA Zone today Ryan Stweart has posted a new tutorial about using Flex and PHP to chart out some data pulled from a backend database with just a hint of animation on load.
Creating charts and data visualization is one of the areas where Adobe Flash shines. The combination of a very powerful drawing API that makes it easy to generate artwork and the interactivity means that Flash is ideally suited for integrating data visualizations. It used to be that you'd have to be very familiar with Flash and scripting to work with charting. [...] You use a combination of XML-markup and scripting to create [Flex] applications. Further, you can use CSS syntax to customize the look and feel of the charts. Flex makes it straightforward to add interactive charts to web applications.
The tutorial walks you through the creation of the Flex project (you'll need Flash Builder 4 to follow along), creating and pulling in the data from a PHP-based service call, binding the data to the chart object and a few tips on how to modify the HTML output to use teh Flex/Ajax bridge. Animating the resulting chart is as simple as adding two new tags to the Flex definition.
voice your opinion now!
flex tutorial adobe chart database
Developer.com: Charting Your Course Using the Google Maps API
by Chris Cornutt April 15, 2009 @ 17:27:05
Developer.com has posted the latest part in their series on using the Google Maps API. This time they focus on something a bit more complex - working with more than one point and creating complex routes between them.
This installment tackles another fascinating aspect you'll undoubtedly encounter when building location-based solutions, namely distance calculation. Whether you want to simply plot the distance separating two points on the map, or perform more complex operations involving measuring the total distance spanning a more complex route, understanding how to perform these sorts of calculations will prove invaluable time and again.
The tutorial gives you example screenshots and complete code to calculate the distance between two points and, based on plots of a few different points, how to determine the distance traveled. His example is of a running route around a park.
voice your opinion now!
chart course googlemaps api screenshot tutorial
Vinu Thomas' Blog: pChart - PHP charting library
by Chris Cornutt October 22, 2008 @ 07:53:00
Vinu Thomas points out a nice looking PHP charting library on his blog today - pChart.
Looking for some good looking graphs without having to pay for a library or resort to Flash graphs? Try creating your own using pChart. pChart is a PHP class oriented framework designed to create aliased charts. This project focuses on allowing developers to generate great looking graphs by increasing rendering quality introducing an aliasing algorithm.
It uses GD to create the graphs, so just about any PHP distribution out there will support it (if you're not sure, make a phpinfo() page to check out your setup). There's even some example graphs so you can get an idea of what some of the end results could be.
voice your opinion now!
pchart chart library gd graphics image render
Zoe Slattery's Blog: PHP Opcodes
by Chris Cornutt September 04, 2008 @ 13:46:42
In a recent blog post Zoe Slattery took a look at opcodes in PHP, specifically related to performance increases.
After one particularly frustrating day [looking at how the Zend engine works] I asked a colleague (Andy Wharmby) about the issue I was looking at. Then a miracle happened - he'd not only looked at it but had documented it (and many other things) in a set of charts.
She has linked to the charts (Open Office format) for the results of some tests her friend had already run. They're a bit out of date and some parts might be inaccurate, but they're still a good start.
voice your opinion now!
opcode performance zend engine openoffice chart test
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
|
Community Events
Don't see your event here? Let us know!
|