Subscribe to this list via RSS Blog posts tagged in Delphi for PHP

Posted by on in Blogs
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 for this. The planning stage it's a very important (if not the most important) step in the process, because here is where we determine the scope of the project and which steps are required to get it done. ...

Posted by on in Blogs
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 artic...

Posted by on in Blogs
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 for PHP - General Introduction VCL for PHP - Overview and Component Development (Part I) VCL for PHP - Overview and Component Development (Part II)...

Posted by on in Blogs
Delphi for PHP 2.0 - General Introduction - EKON12 The session is finished, things went well, but it was too early in the morning, I expect more people to come at 14:00 ;-). The presentation will be available next week for you to download. You can e-mail to This email address is being protected from spambots. You need JavaScript enabled to view it. // or This email address is being protected from spambots. You need JavaScript enabled to view it. // with any question you forgot to ask....

Posted by on in Blogs
Delphi for PHP Sessions on EKON 12 Just arrived to the Congress Centrum at Mainz, the two sessions for Delphi for PHP are tomorrow, and I'm writting this post at the hall, just checking the wifi connection and where the sessions will take place. Here is the info for the two sessions: Thursday 30 08.30 - 09.30 - Delphi for PHP 2.0 - General Introduction 13.00 - 14.00 - VCL for PHP 2.0 - Overview and component development If you are going to assist, don't forget to say hi, and if not, I will publish the sessions afte...

Posted by on in Blogs
Integrating Zend Framework: ZCache (III) In this article, we are going to add caching to the VCL for PHP using the ZCache component we have written on previous articles. For that, we will need to modify the VCL for PHP source code, and as it is Open Source, there is no problem to do it ;-) This is a perfect example for you to see how easy is to add this kind of things to the library, as we tried to design it as open as possible. Planning First, let's check how to integrate caching on the VCL for PHP. Caching can be useful for...

Posted by on in Blogs
Debugging with Delphi for PHP 2.0 Another useful feature in Delphi for PHP 2.0 is the integrated debugger, it allows you to debug PHP code right out of the box, so you don't need to mess up with setups, configurations or strange wizards to simply debug a script. If you have been working with PHP, you know what I'm talking about... With Delphi for PHP 2.0, the debugging experience is the same you can get with Delphi for Windows, just press F9 and you are running in Debug Mode, place breakpoints on your code and when that code ...

Posted by on in Blogs
Code writing helpers in Delphi for PHP 2.0 To finish these articles about code writing features found in Delphi for PHP 2.0, let's detail some of the smaller features. Code Folding This feature allows you to collapse/expand blocks of code, delimited by braces, useful if you want to focus on an specific part of your code and ignore the rest. Also you can collapse parts of php code embedded into HTML, which is delimited by <?php and ?>. And finally, Code Folding also works on other types of documents, like HTML or CSS, by allow...

Posted by on in Blogs
Using Code Insight in Delphi for PHP 2.0 (II) In the previous article, we saw some of the features that help you to write code, on this one, you will see the rest of Code Insight features. Tooltip expression evaluation This option is active when debugging, and allows you to evaluate an expression just by placing the mouse over the identifier you want to evaluate, this is a lot faster than adding a watch. The hint shows the indentifier is being evaluated, the value and type of the value. Tooltip symbol insight This option wor...

Posted by on in Blogs
Using Code Insight in Delphi for PHP 2.0 (I) On Delphi for PHP 2.0 we have improved a lot all Code Insight related technologies, the goal was to provide a fast, nice and comfortable environment for writting PHP code. On this article, you will see, with more detail, how Delphi for PHP 2.0 can help you to write code faster and reducing coding errors. Code Insight for procedural code Let's start easy and create an empty unit, if you press Ctrl+Space on the very first line you will see this: You get a popup list, with all PHP prede...

Check out more tips and tricks in this development video: