Feeds

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

Dreams of past Windows glory

Internet Security Threat Report 2014

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.®

Security for virtualized datacentres

More from The Register

next story
Microsoft to bake Skype into IE, without plugins
Redmond thinks the Object Real-Time Communications API for WebRTC is ready to roll
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
Mozilla: Spidermonkey ATE Apple's JavaScriptCore, THRASHED Google V8
Moz man claims the win on rivals' own benchmarks
FTDI yanks chip-bricking driver from Windows Update, vows to fight on
Next driver to battle fake chips with 'non-invasive' methods
PEAK APPLE: iOS 8 is least popular Cupertino mobile OS in all of HUMAN HISTORY
'Nerd release' finally staggers past 50 per cent adoption
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
Ubuntu 14.10 tries pulling a Steve Ballmer on cloudy offerings
Oi, Windows, centOS and openSUSE – behave, we're all friends here
Was ist das? Eine neue Suse Linux Enterprise? Ausgezeichnet!
Version 12 first major-number Suse release since 2009
prev story

Whitepapers

Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.
The hidden costs of self-signed SSL certificates
Exploring the true TCO for self-signed SSL certificates, including a side-by-side comparison of a self-signed architecture versus working with a third-party SSL vendor.