Php examples that store the product events data on a SQLite database and give access point for retrieving the data in a JSON format