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:
Example |
Description |
Ajax\Basic |
This sample shows you how to use ajax in the easiest way, by using the ajaxCall method |
Ajax\Database |
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. |
BasicAuthentication |
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. |
BlogProject |
Blog application using MySQL |
Button |
This sample shows the different usages for the Button component, how to use javascript, image buttons, hints, etc. |
ButtonView |
This sample features the ButtonView component, which allows you to create a set of buttons with images. |
Canvas |
This sample it doesn't contain a Page, but it features how you can use a Canvas object to generate graphics easily. |
Clock |
This project shows you how to use the Clock component, to configure it and to react to the OnAlarm event. |
Data Aware\DatasetEvents |
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. |
Data Aware\DBEvents |
Databases can fire events to inform you about several stages on the database connection. |
Data Aware\dbgrid |
Displaying information in DBGrid |
Data Aware\DBGridInterBase |
Displaying InterBase information in DBGrid |
Data Aware\DBPaginator |
Using the DBPaginator component |
Data Aware\MasterDetail |
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. |
Data Aware\query |
This samples shows you how to use a Query component to issue parametrized SQL statements. |
Data Aware\QuerySampleInterBase |
Data Aware\RowChanged |
Capturing the row change event in DBGrid using Java Script |
Data Aware\StoredProc |
Using store procedure to populate a DBCombo, stored procedure execution with parameters |
Data Aware\Transactions |
Working with database transactions |
ECommerceExample |
This e-commerce example is based around a MySQL database |
Frames |
Working with HTML Frames and database connection |
FramesNoDB |
Working with HTML Frames |
GetStylesFromStyleSheet |
Using CSS files to define the style sheet page |
GroupBox |
Working with groupbox component |
I18N |
Building a localized application |
IBX\database |
Using IBX components to connect in InterBase database |
IBX\query |
Using IBX components to execute queries |
IBX\storedproc |
Using IBX components to execute stored procedures |
IBX\table |
Using IBX components to open tables with Table component |
Inheritance |
Working with inheritance pages (Master Page) |
Internationalization |
Internationalizing applications |
Layouts\ColAndRowLayout |
Working with different types of layout |
Layouts\GridBagLayout |
ListBox |
Working with listbox component |
MainMenu |
Creating Menus for web |
MainMenu2 |
Creating Menus with images for web |
PageControl |
Using the PageControl component |
ParentProperties |
Understanding the Parent properties concept |
ProgressBar |
Using ProgressBar component |
ScrollBar |
Using ScrollBar component |
SimpleChart |
Using the SimpleChat to generate dynamic graphics |
SimpleManagement |
Inserting, Deleting and Updating record getting the information’s from the HTML components |
SimpleManagementAndJS |
Inserting, Deleting and Updating record getting the information’s from the HTML components and validating the required fields from JavaScript |
Templates |
Integrating the php pages with HTML using templates |
TrackBarDemo |
Using the trackbar component |
TreeView |
Working with TreeView components |
Web Service |
Creating a WebService component and using a Delphi Win32 client to connect |
WebMail |
A sample showing the usage of graphical advanced components, |
Windows |
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 |
WindowsNoDB |
|
|
Connect with Us