Feeds

Small, awkward and looking for love: Delphi for PHP 2.0

Dreams of past Windows glory

Combat fraud and increase customer satisfaction

Although there are a generous range of controls on offer, making full use of them is a challenge thanks to the sketchy documentation. This has improved since version 1.0, but remains inadequate. The sample applications are rudimentary. The quality of the VCL for PHP is uneven. That's partly due to the inclusion of components from various sources (another example is the Qooxdoo Ajax framework used for the DBGrid), and partly because even in version 2.0 the product still seems rushed, with TODO comments scattered liberally through the library.

A snag with the first Delphi for PHP was the difficulty in mixing HTML and PHP code in a form, thanks to the way the VCL works. Each component is a class that dumps its contents to output at runtime. The layout of controls on a page is stored in a separate XML resource file, which is loaded as part of the initialization sequence.

Delphi for PHP 2.0 includes a new unit called a templated form, which does let you add HTML code directly. Even so, an application written in Delphi for PHP is heavily hooked into the VCL for PHP, and code will not be easy to migrate to any other framework.

Concerns over the quality of the VCL for PHP, and whether it has a long-term future, might deter those considering major projects using this product. Perhaps it is more suitable for applications that are small, quick and simple, a role it could fill nicely if only the documentation and tutorials were improved.

Debugging in Delphi for PHP 2.0

Debugging with Nusphere debug listener

Finally, it is a shame that the IDE is Windows-only; it would make sense for CodeGear to do what it has done with JBuilder and move Delphi for PHP to Eclipse. Maybe this will come in time with Embarcadero, given CodeGear was rather stretched for resources as the unwanted subsidiary of Borland.

This has the feel of a product with good potential, but under-resourced by its developers. There are better PHP libraries out there, such as Zend Technologies' Framework, which leaves CodeGear's product occupying a small and awkward niche.®

High performance access to file storage

More from The Register

next story
Android engineer: We DIDN'T copy Apple OR follow Samsung's orders
Veep testifies for Samsung during Apple patent trial
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Windows XP still has 27 per cent market share on its deathbed
Windows 7 making some gains on XP Death Day
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
prev story

Whitepapers

Designing a defence for mobile apps
In this whitepaper learn the various considerations for defending mobile applications; from the mobile application architecture itself to the myriad testing technologies needed to properly assess mobile applications risk.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.