Delphi for PHP Comprehensive analysis

Source: Internet
Author: User
Tags ini

Delphi for the trial version of PHP, you need to pay attention to the official authorization of the trial time, only one day, I have been in business for the first time since 10 to recognize this unique sales style of large companies!

Codegear™announces general availability of Delphi®for PHP

Developers Say Delphi ' s Rapid application Development environment

Makes It easier and faster to build PHP Web applications

U.S. Pricing

The product is available for a introductory price of $249; Special academic pricing is also available. For more information on system requirements, languages and pricing, visit www.codegear.com/products/delphiforphp.

Trial DOWNLOAD Link: Ftp://ftpd.borland.com/download/delphi/php/d4php_trial.exe

vcl4php http://vcl4php.sourceforge.net/

Other http://www.qadram.com/vcl4php/

Background analysis:

That year's Delphi is rely on VCL vertical and horizontal Win32 development tool market, with the changes of the times. NET, Delphi in the entire Windows development tools of the market, the share has been more and less, whether or not the original Borland strategy error, independent out of the codegear gradually put the previous Borland development tool innovation Spirit reappeared again, With the help of the development environment of Delphi for PHP, the development of Web programs with PHP can save a lot of time, good tools can increase productivity, good tools can produce more convenient and stable program code, plus the integration of the AJAX web 2.0 of the hottest technology and the birth of the VCL for PHP architecture, as a PHP developer programmer must be quite looking forward to the advent of Delphi for PHP listing, the development of software as soon as the Dragon Sword will become the martial arts Supreme! Delphi for PHP has been listed, new PHP development era began to change, here and you phper share the new scientific and technological achievements.

Delphi for PHP (hereinafter referred to as DFP) opened, the interface and Delphi is very similar, but also very easy to use, it provides the standard control of PHP, and the language used is pure PHP, and the Delphi itself does not matter, the reason to take DFP this name, Perhaps to highlight the high efficiency of its development. As we all know, Delphi is the most efficient development tool in the world, DFP also have to take the road of high efficiency! To mention that, although DFP surname Delphi, but it uses syntax similar to BCB.

What you need to be aware of is that the DFP project directory cannot be changed, all items are created in the "My Documents", and then the development of the way, in fact, used by the Delphi people will use, it is very simple, drag out the control on the line, DFP page due to be VCL rewrite, but also provides other features, For example, layout, very similar to Java, allow XY layout, also allow flow, or grid package layout. DFP and asp.net, like the code behind, and have the event-driven mechanism, the event does not need to be like the previous development of PHP, to refer to some manuals, DFP all the events are listed, you only need to double-click the event, automatically bound, and generate the relevant code.

People who are just starting out may say that DFP does not support alert (), and can't even play a dialog box, but the code is written in a JavaScript event, not in a PHP event, and the code is like this:

<?php require_once ("vcl/vcl.inc.php");?>

Alert (' Hello world! ');

<?php .....

DFP also provides the ability to develop PHP controls just as much as developing controls in BCB, and if you are familiar with BCB, developing controls is very easy to get started with. Because PHP is a Dynamic Web page, so the file reference inside it is not visible, but you can find all the files in the VCL folder under the DFP installation directory, they are completely open source, is also VCL for PHP core part. By learning VCL for PHP, you are bound to improve your ability to use DFP greatly.

DFP is also object-oriented, but unlike usual PHP, its object configuration is a generic XML file with a file name of xxx.xml.php, which lists all the page objects and events. At design time, this file is invisible and the IDE hides everything that is involved in the interface, but modifying the XML is inevitable if you want to fine-tune the page.

In general, DFP is very powerful, especially for those who specialize in Web sites, DFP at least allows you to save more than half of the time, for that 512M of memory demand, almost can be ignored, online someone in a poorly configured computer to do the test, memory 128M, DFP can run well, run, debug as well, and do not feel slow.

You ask me? Please leave a message or contact me directly about this software issue.

1. Support Chinese method?

Jiania A: In fact very simple, in Tool->options Click Editor Options, the use of utf-8 to create new units and forms of the hook to remove. Then click PHP, set the default CharSet to gb2312, and then tick the set values on PHP.ini and click ok!

2. Modify your own Web service port method?

In the too->options-php->internal webserver->port default is: 3569, you can modify the port you want.

3. What if you modify the PHP environment variable that is automatically installed?

Jiania A: In the Software installation directory, take the author development environment as an example: program Filescodegeardelphi for php1.0php directory there is a square piece called. Php.ini.template, the novice does not change the php.ini file directly, Because every time you start the Delphi for PHP main program, the program will automatically add all the variables php.ini.template parameters, and then get rid of php.ini, and then Gaga loaded into Apache.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.