View on GitHub

WebExample1

WebExample1 = wd libraries + XSQLite(xml) + PSWrequest;

WebExample1

This project consists of a simple registration application to demonstrate the integration of the following tools:

The app has a table for recording customer data, another table for recording product data and a third table for recording product sales to customers. The app was called “My Sales”.

The tables were built using the XML structure contained in the mySales.xml file that resulted in the mySales.sql file (see XSQLite), no improvements were made to SQL statements.

The SQL statements were compiled using the sqlite3 package for Ubuntu (Linux wd 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux) version 3.22.0-1ubuntu0.2.

$ sqlite3 -init mySales.sql mySales.db

For each table the following actions were created:

Given that the purpose of the application is to demonstrate how the tools work together, there were no extra safety or performance concerns.

The application has been tested using the Firefox package for Ubuntu version 71.0 + build5-0ubuntu0.18.04.1. On the server side were used Apache packages, version 2.4.29-1ubuntu4.11, and PHP, both for Ubuntu, version 7.2.24-0ubuntu0.18.04.1. Check if PHP sqlite3 package is enabled.

Click here to download the zip package with the application files. Be sure to give the proper permissions to the files so that they can be executed properly.

Willian Donadelli (wdonadelli@gmail.com)