Watch, Follow, &
Connect with Us

Delphi for PHP

Archive for November, 2008

VCL for PHP Charting components - Available for download

The first beta for the components is available for download right here:
http://www.qadram.com/vcl4php/third-party/OpenChart/OpenChart.exe

Close the IDE
Run the setup
Check the path is the Delphi for PHP 2.0 path
Run the IDE again

Now you will have a new category on the tool palette called Open Chart, and a component there. There is also a sample on the vcl\openchart\samples, with the [...]

Posted by José León on November 25th, 2008 under Delphi for PHP, Uncategorized, VCL4PHP | 1 Comment »

VCL for PHP Charting components - Subproperties

Sometimes, our components, need to publish properties that are grouped under a common category. The first example can be the Font property, which allows the user to specify all font attributes in a single property, like name, size, boldness, etc.
You could add all those properties to your component in an ungrouped fashion:

FontAlign
FontCase
FontColor
FontFamily
FontLineHeight
FontSize
FontStyle
FontVariant
FontWeight

But that will clutter [...]

Posted by José León on November 19th, 2008 under Delphi for PHP, PHP | 2 Comments »

VCL for PHP Charting components - Generating the chart

In the last article, we learned how to write a property editor to allow the user edit the Series property visually. On this article we are going to use the contents of that property to generate the chart, instead use dummy data.
Iterating through Series
At the end of the article, you will get the full source [...]

Posted by José León on November 14th, 2008 under Delphi for PHP, VCL4PHP | Comment now »

VCL for PHP Charting components - Property Editor

On the last article, we added some properties to the chart component, including a Series property, of array type, but such property cannot be edited directly through the Object Inspector. To allow the user edit such property, we need to write a property editor that visually allows the user to create all series and set [...]

Posted by José León on November 13th, 2008 under Delphi for PHP, VCL4PHP | Comment now »

VCL for PHP Charting components - Skeleton

On this article we are going to create the basic skeleton for the component, we will add properties and will render the component with dummy information.
Adding properties
On the first article, we gathered the requeriments and set a task list, and now is time to add all the properties we want to provide, so the user [...]

Posted by José León on November 12th, 2008 under Delphi for PHP, VCL4PHP | Comment now »

VCL for PHP Charting components - Initial setup

On the previous article, we learned how to gather the requeriments to write the wrapper, now we are going to setup the folder where to place our component files and write some code.
Components folder
Our component must live on the VCL for PHP folder the IDE uses, which, by default, is C:\Program Files\CodeGear\Delphi for PHP\2.0\vcl, so [...]

Posted by José León on November 11th, 2008 under Delphi for PHP, VCL4PHP | 2 Comments »

VCL for PHP Charting components - Planning

This article is not about coding, but about planning how to write a wrapper for an existing library. The very first step is to know how the library works, you don’t need to become a master on it, but you will need some key points and, usually, the samples provided by the library are enough [...]

Posted by José León on November 10th, 2008 under Delphi for PHP, VCL4PHP | 2 Comments »

VCL for PHP Charting components - Introduction

Some time ago I found these nice flash charting library:
http://teethgrinder.co.uk/open-flash-chart-2/
So it was a no-brainer to write the components to wrap that functionality so it can be used in Delphi for PHP.

Here you can find a demo application:
http://www.qadram.com/vcl4php/samples/OpenChart/basic/index.php
To see the source for that demo, click here:
http://www.qadram.com/vcl4php/samples/OpenChart/basic/index.phps
On the next few days, I will post some more articles [...]

Posted by José León on November 6th, 2008 under Delphi for PHP, VCL4PHP | 2 Comments »

EKON 12 - Delphi for PHP sessions

Not everything at EKON12 was about software and computers, located in Mainz, the conference gave us also the opportunity to visit the city and enjoy the german autumn, here is a shot of what you can see just out of the building:

And here you can find, as promised, the two sessions about Delphi for PHP:
Delphi [...]

Posted by José León on November 3rd, 2008 under Delphi for PHP | 4 Comments »



Server Response from: BLOGS2