Delphi for PHP

As you design the user interface for your application, Delphi for PHP generates the underlying code. When you modify object properties, your changes are automatically reflected in … 1 Getting Started The Delphi for PHP integrated development environment (IDE) provides many tools and features to help you build powerful applications quickly. 1.1 What is Delphi for PHP? Delphi for PHP is an integrated development environment (IDE) for building PHP applications. The Delphi IDE provides a set of tools that streamline and simplify …
1.1 What is Delphi for PHP? Delphi for PHP is an integrated development environment (IDE) for building PHP applications. The Delphi IDE provides a set of tools that streamline and simplify the development life cycle. The following sections briefly describe these tools. See Also Tour of the Delphi for PHP IDE ( see page 1) , Overview of Editing Code ( see page 5) , Overview of Debugging ( see page 5) , Overview of PHP User Interface Design ( see page 4) , Creating a Custom Component ( see page 15) , Creating a Database Application ( see page 23) Designing User Interfaces The Delphi for PHP visual designer surface lets you create graphical user interfaces by dragging and dropping components from the Tool Palette to a form. Using the designers, you can create forms. Generating and Editing Code Delphi for PHP auto-generates much of your application code as soon as you begin a project. To help you complete the remaining application logic, the text-based Code Editor provides features such as code completion. Syntax highlighting makes your code easier to read and navigate. Debugging Applications The integrated debugger helps you find and fix runtime and logic errors. 1.2 Tour of the Delphi for PHP IDE When you start Delphi for PHP, the integrated development environment (IDE) launches and displays several tools and menus. The IDE helps you visually design user interfaces, set object properties, write code, and view and manage your application in various ways. The default IDE desktop layout includes some of the most commonly used tools. You can use the View menu to display or hide certain tools. You can also customize and save the desktop layouts that work best for you. The tools available in the IDE include the following: ï Start Page ï Forms ï Form Designer ï Tool Palette ï Object Inspector ï Project Manager ï Data Explorer ï Structure View ï Code Editor The following sections describe each of these tools. Start Page When you open Delphi for PHP, the Start Page appears with a number of links to developer resources, such as Delphi for PHP-related articles, training, and online Help. As you develop projects, you can quickly access them from the list recent projects at the top of the page. Forms Typically, a form represents a window or HTML page in a user interface. At design time, a form is displayed on the Designer surface. You add components from the Tool Palette to a form to create your user interface. Form Designer The Form Designer, or Designer, is displayed automatically when you are using a form. Visual Components Visual components appear on the form at design-time and are visible to the end user at runtime. They include such things as buttons, labels, toolbars, and listboxes. Nonvisual Components and the Component Tray Nonvisual components are attached to the form, but they are only visible at design-time; they are not visible to end users at runtime. You can use nonvisual components as a way to reuse groups of database and system objects or isolate the parts of your application that handle database connectivity and business rules. When you add a nonvisual component to a form, it is displayed on the form as a small icon. You can select the icon to set properties for the component. Tool Palette The Tool Palette contains visual and non-visual components to use on a form when developing your application. You can double-click a control to add it to your form. If you are viewing code in the Code Editor, the Tool Palette displays code segments that you can add to your application. Customized Componenets In addition to the components that are installed with Delphi for PHP…
Download Delphi for PHP.Pdf
