HomeDelphi-PHP Forums

Welcome to the Delphi-PHP Blog

This Blog is dedicated to giving you the latest information and news, including tips and tricks on Delphi for PHP and PHP Programming in general.


Just to let you know, my tutorial videos are now on Youtube … not the best quality but hey, it’s better than nothing ;)

Check out the videos here:

How to convert an existing web application to use AJAX

How to update a MySQL database using AJAX

More on the way soon!

Share This


For all those people who are having trouble getting the DB Repeater VCL component to work, here is a great tutorial video created by TimH (Tim Hayes) which takes you step by step through using it to display records in a mySQL database.

Check it out here: https://www.delphi-php.net/videos/tutorials/dbrepeater/
Tutorial notes (PDF format) can be found here: https://www.delphi-php.net/videos/tutorials/dbrepeater/DBRDemo.pdf

Share This


I’ve finally done it and replaced the old template with this NEW one …. lets face it, the old one just wasn’t that good!! The new template is best viewed at resolutions of 1024×768 or higher.
This is one of many improvements coming to delphi-php in the next couple of months, so stay tuned !! :)

Share This


Ppientje has just released a basic website template for Delphi4PHP. You can use it to develop your own websites based on this template.

Main features are:

  • Home Page
  • About Page
  • Contact Us Page
  • Additional Product/Informational Pages
  • Site style controlled by CSS Styles

You can see a live demo here: Demo Website
Template files can be downloaded here: Website Template Files
To discuss changes or improvements to this template, please see this forums thread.

Share This

JomiTech have just released their commerical full component suite for Delphi4PHP. This is the first complete package that has been released from any developer that I have seen. It’s a substantial package with some great components.

There is over 60+ components included:

JTAdRotator, JTAdvancedEdit, JTAtomFeed, JTAuthRegistration, JTBevel, JTBuildYourOwn*, JTBulletList, TCategoryButtons, JTCheckBoxList, JTClock, JTDateTimePicker*, JTDivWindow, JTEventCalendar, JTExpandPanel, JTExpert*, JTExplanationPopup, JTGrid, JTGroupBox, JTHeaderCode, JTHorizontalLine, JTIFrame, JTImageMap*, JTImageSubmit, JTInputValidator, JTJavaScript, JTJSWindow, JTLabel, JTLargerImage*, JTListView, JTLookupComboBox, JTLookupListBox, JTMenu, JTMenuBar, JTMonthCalendar*, JTNavigationBar, JTNewsControl*, JTNotebook*, JTObjectControl*, JTPageControl, JTPanel, JTPCRegExvJTPDODatabase, JTPHPPaintBox*, JTProgessBar, JTRadioButtonList, JTRawOutput, JTRSSFeed*, JTScrollBox, JTSectionBar*, JTSendEmail, JTSiteMap*, JTSiteMapPath*, JTSiteMapView*, JTStatusBar*, JTStylesheet*, JTSurvey*, JTTabControl, JTTablevJTTabSet*, JTTCPSocketClient*vJTTemplatePanel, JTTimePicker, JTToolBar, JTTreeView*, JTUserLogin, JTVerticalLine, JTXMLDataSource*

* = donates components which have not being relased in the current version.

Some of the main features include:

  • JTTheme XML/CSS-based site theming system, gives virtually unlimited possibilites for site design.
  • User-friendly property editors.
  • Comes with full source code.
  • Extensive documentation.
  • Generates fully cross-browser compatible HTML, CSS and JavaScript code.

JomiTech’s website: http://www.jomitech.com

Share This

I’ve just finished creating my second screencast tutorial! :)

This Delphi for PHP tutorial shows you step by step how to create a basic Delphi for PHP web application and then convert it in to a modern AJAX web application.

To view the video follow this link: Delphi4PHP and AJAX Tutorial

Again, it’s always a good idea to have the latest VCL4PHP release, so go HERE and download the latest version!

Anyway, check out the video and let me know what you think?

Share This

I’ve just finished creating my first screencast tutorial! :)

This Delphi for PHP tutorial shows you step by step how to create a Delphi for PHP web application to update a MySQL database using AJAX.

Asynchronous JavaScript and XML (Ajax) is built around the XMLHTTP Request Object (XHR) which forms part of the XML Document Management Model (XML DOM). This object is the core of the Ajax model and it allows JavaScript to access either XML or XHTML documents. The advantage of this model is that it allows HTTP requests to be made to the server WITHOUT refreshing the web page.

To view the video follow this link: MySQL and AJAX Tutorial

I had a lot of problems creating the tutorial with older versions of the VCL for PHP …. The version you need to use is version 65.

This version has fixed some renderer problems with the DBGrid component which this tutorial uses. To get this latest version of the VCL click here.

Check it out and let me know what you think?

Share This


There are a lot more tutorials and examples coming very soon. So stay tuned. If you wish to see any specific examples, please vist http://forums.delphi-php.net/forumdisplay.php?f=7 and post what you would like to see there! :)


Share This

Delphi for PHP comes with an example web application showing you how to use Google Maps in your projects. Unfortunately this web application does not work straight out of the box. You have to install the Google Components Package first.

To do this, go into the Installed Packages dialog box which is found by going to Component->Packages… on the main menu. Click on the Add button and locate the file called \CodeGear\Delphi for PHP\1.0\vcl\google\google.package.php :

When you have clicked on the Open button, you should see the Google Components package listed in the Installed Packages dialog box like so:

When you have done this you can open up the test Google Maps PHP file which is located at this location: \CodeGear\Delphi for PHP\1.0\vcl\google\maps\test\testmaps.php

.. And that’s it, the test application for Google Maps should be up and running. Have fun with it!!

Share This

Announcing the first ever forum Competition here at Delphi-php.net.

Competition Overview:

The competition is a posting based competition where the users with the highest average posts per day count (This can be found in your Profile “My Profile” section) will be the winners.

How Can I Enter This Competition?

You do not need to enter, just start posting , if you are a visitor to the forum, all you need to do is go through the simple forum registration process at forums.delphi-php.net and you can start posting.

What Are The Rules:

As with all competitions there are always rules to keep things fair:

  • No spam posts.
  • Minimum word count: 10
  • Post must be of substance, not just ‘I agree with that’ type posts.
  • If a member violates any of the rules above they will receive a 0.2 deduction per rule violation on their final posts per day count. The forum moderators’ have the final say and their decisions are not open for debate.

    Competition End Date:

    The competition will end on 18th June 2007, at 19:00 (7:00pm) GMT time.

    Competition Prizes:

    There is $100 (USD) worth of cash prizes to be won. The prizes are broken down as follows:

  • $50 = First Place
  • $30 = Second Place.
  • $10 = Third Place.
  • $5 = Forth and Fifth Places.
  • Payment will be made by Paypal only.

    So go and start posting at forums.delphi-php.net today!!!

    Share This

    E-mail It