Wednesday, September 12, 2012

Deploy

HTML5Builder has a built in PHP engine.  This makes it easy to test and debug as development progresses.

Once development has been completed it would be usual to deploy the application to a separate web server.

In this posting, I document shifting from the internal PHP engine to the WAMP server that is running on my development machine.

In this example I am "Deploying" the step by step program that I documented here to the WAMP (windows Apache Mysql PHP) server that I have running on my development computer. In this example, the user enters a number in a edit box.  The system then goes away and looks up the MYSQL table and if it finds a match for that number then it populates another couple of text boxes (labels in HTML5Builder speak) with the data from the other columns of the database table.

1. CHECK THE HELP
The HTMLBUILDER5 Help is good and clear.
There is a deployment wizard.
The RPCL needs to be moved from its default location and the wizzard moved it.








As you can se the RPCL folder has been copied into the web server directory automatically.  (This is good / easy)
The amazing thing is that it works.  (see http://html5builder.blogspot.com.au/2012/09/simple-mysql-example.html for how it works and what it is supposed to do)

1 comment:


  1. Hi

    I have put the demo running into Appserv but
    shown
    Fatal error: Declaration of Database::param() must be compatible with that of CustomConnection::param() in C:\AppServ\www\ajax\rpcl\dbtables.inc.php on line 282

    ReplyDelete