NuSphere PHP Scripts provided with PhpED - NuSphere PHP IDE
NuSphere provides PhpDock Currency Converter as a sample application for PhpDOCK. It is simple but very educational PHP Application, which uses PHP NuSoap Web services class to get currency exchange rates and provides the User Interface for currency conversion. It also makes use of SQLite - PHP embedded database. PhpDOCK Currency Converter PHP Application is deployed with PhpDock and works in both on-line and off-line mode.
PHP Currency Converter consists of six PHP Scripts and one SQLite database file:
- index.php - displays the form for currencies selection. Fetches available currencies from SQLite database
- convert.php - processed the POST Request to convert the currencies, performs rate lookup in SQLite database and displays the result
- converter-service.php - service PHP Script. It is executed by PhpDOCK upon start up and can also run in background. Uses NuSoap calls to webservicex to get the currency exchange rates and stored them in SQLite database.
- Header.php and footer.php - standard header and footer displays.
Currency Converter is developed in PhpED PHP IDE, using PhpED's NuSoap Client and and PHP Database Connection client.
How to use PHP Currency Converter
You can install Currency Converter by downloading the sources and unzipping while preserving the directory structure into the document root of your WebServer.
Learn more about PhpDock Currency converter.
Find out more about NuSphere PHP Scripts and PHP Tools provided with NuSphere PhpED - PHP IDE.
|