By: Andreano Lanusse
Abstract: A list of many Delphi for PHP examples available
Delphi for PHP was released and many requests for examples in the user groups list, so this article show where you can download some examples and what kind of examples is include in Delphi for PHP.
These examples is really helpful to learn Delphi for PHP, otherwise is important to know the PHP language.Examples in Code Central:
Blog Application with InterBase
Blog application wrote in Delphi for PHP and InterBase 2007
Ecommerce Application with InterBase
A complete ecommerce application that explore a lot of features, like templates, VCL, database connection, image interaction, etc.
Simple Application using Smarty Templates
Small application example, showing how to use Smarty Template integrating html and php pages
Examples inside Delphi for PHP All of the examples below are part of Delphi for PHP and are located in: \1.0\vcl\samples Some examples required some configuration before being able to execute, please read the README file before trying to execute.
This sample shows you how to use ajax in the easiest way, by using the ajaxCall method
This sample shows you how to use ajax to work with databases, it uses ajax to send to the server the table the user wants to browse, and change the table properties to open the right one.
This sample features the BasicAuthentication component, which allows you to use HTTP authentication with ease, without creating files on your server, just by sending the right headers to the browser.
Blog application using MySQL
This sample features the ButtonView component, which allows you to create a set of buttons with images.
This sample it doesn't contain a Page, but it features how you can use a Canvas object to generate graphics easily.
This project shows you how to use the Clock component, to configure it and to react to the OnAlarm event.
This sample shows you how DataSet events work, you can test opening and closing and see how the Opening event will happen only once if the table is not opened, this is achieved by the persistence on properties.
Databases can fire events to inform you about several stages on the database connection.
Displaying information in DBGrid
Displaying InterBase information in DBGrid
Using the DBPaginator component
This sample shows how to create a master detail with two grids, you need to set MasterSource and MasterFields properties with the appropriate values and also set the UseAjax property of the Page to true, as what we are doing is, when the row changes on the Master grid, call the server to updated the Detail grid.
This samples shows you how to use a Query component to issue parametrized SQL statements.
Capturing the row change event in DBGrid using Java Script
Using store procedure to populate a DBCombo, stored procedure execution with parameters
Working with database transactions
This e-commerce example is based around a MySQL database
Working with HTML Frames and database connection
Working with HTML Frames
Using CSS files to define the style sheet page
Working with groupbox component
Building a localized application
Using IBX components to connect in InterBase database
Using IBX components to execute queries
Using IBX components to execute stored procedures
Using IBX components to open tables with Table component
Working with inheritance pages (Master Page)
Working with different types of layout
Working with listbox component
Creating Menus for web
Creating Menus with images for web
Using the PageControl component
Understanding the Parent properties concept
Using ProgressBar component
Using ScrollBar component
Using the SimpleChat to generate dynamic graphics
Inserting, Deleting and Updating record getting the information’s from the HTML components
Integrating the php pages with HTML using templates
Using the trackbar component
Working with TreeView components
Creating a WebService component and using a Delphi Win32 client to connect
A sample showing the usage of graphical advanced components,
To create desktop-like interfaces you can use the Window component, a container to place components inside and when running in the browser, it mimics a window you can move, resize, maximize, close, etc. You can also create modal dialogs
If you want more examples about Delphi for PHP, please tell us.If you have some examples using Delphi for PHP and want to share with the community, please post in CodeCentral.
Click here to download a free 30-day trial of HTML5 Builder >
More social media choices:
HTML5 Builder on Google+
@RADADtools on Twitter
Server Response from: ETNASC04