I am working on a url shortening project using yourls php script(origin here :[url removed, login to view])
The origin version of the script make use of mysql DB. I want someone's help to change its default DB connection from mysql to DynamoDB of AWS.
I have asked the creator of the script and he has given me instruction as below:
Implementing an alternate DB layer isnt difficult in YOURLS
See line 104 of includes/[url removed, login to view] : you can drop a [url removed, login to view] in the user dir to bypass loading the ezSQL class. Then simply define all standard methods (add, update, delete, insert, search....) in your custom class and you're done. The doc is in the source itself
It does not sound difficult at all and its a very small project, but i m in the middle of different project and do not have time to study his code.
I would like to make it clear that the SOW should include the necessary piece of code that create the table in DynamoDB. And the yourls php script should work on DynamoDB immediately after installation, and all the respective method (add, update, delete, insert, search....) should all be defined to work with DynamoDB as well.