Implement the AJAX Programming based solutions in order to write a code to:
1) Add a new product to database.
2) Delete an existing product from database
In AJAX scripts you create, refer to the DSN data source as flamingo. Even though it’s not in your own folder or directory, it has been set up as the SYSTEM DSN, so your AJAX script will have access to it.
You must also consider how to validate requests, that is, don't delete a record that's not there and don't add a product along with an existing code.