Blog posts tagged in Delphi for PHP
The schedule for today is complete, we had a really nice session this morning, everything went perfectly and I think we concentrated in short time the essence of what Delphi for PHP is and what is useful for.
Here is a photo of the event:
And here is the URL of the session:
After that, we had an interview with a very friendly CodeZine journalist, and I answered questions about the origins of the product, the target market and the strengths that make Delphi for PHP uniq...
Today is the first day (yesterday we had the reception party, which was great) of the Shoeisha Developer Summit 2009, and there is planned a panel discussion talking about Delphi for PHP, after that, there is a media interview from CodeZine, will keep writting as the sessions are progressing.
The ambient and the audience seems to be really great and lots of people are going to attend, so it's going to be a nice opportunity to show the capabilities and features of Dephi for PHP and VCL for PHP...
Just write this post to inform you that qadram software S.L. has signed an agreement to develop a big web application, this web application will use VCL for PHP and, the core, will be released as GPL, with the goal to be freely reused by anyone. This can be of interest to Delphi for PHP users, because will see a professional web application using VCL for PHP, but will get part of it so they are able to base their future developments on this code.
Below are the details of the agreement:
Para que los usuarios de Delphi para PHP y VCL para PHP podamos realizar consultas sobre los productos en español, hemos creado este foro específico:
Esperamos que os sea de utilidad....
The first beta for the components is available for download right here:
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 source code for this:
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:
But that will clutter the Object Inspector, just let...
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 code for the generateChart method, now we are going to review it, step by step. Inside generateChart(), there is a main loop, which iterates through the series on the Series property:
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 its attributes.
On this article, we will see how to create a visual Property Editor in Delphi for Windows and how to attach it to the Series property to read and write informati...
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.
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 is able to customize the component.
For that, you can use the Edit | Add Published Property option, which saves some coding. You need to enter the name of the property and the d...
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.
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 let's create a subfolder called openchart inside.
Now we need to identify the open flash chart library files we need to include, to make all work, I usually...