Hello QuickBox. It’s time for a development update from myself and @JMSolo 👑 !
api.php
This week I’ve converted our API to be a bit more RESTful. Here’s a quick excerpt:
{ "url": "https://localhost/api/qb/pro/status", "status": "success", "message": "api status returned", "data": { "code": 200, "api_key": "licensekeyhereblahblahblah", "api_instance": "instance", "api_activated_date": "Aug 23, 2021 4:35", "api_product_id": "product", "api_activated": "true" } }
sqlite3 ${qb_db}
We’ve consolidated the majority of tables from the MySQL database. We’re now rocking a smaller amount of tables with a bit more data in them. This has allowed us to remove duplicate data from all over the place providing a cleaner environment in the database, as well as decreasing load times. (Seriously, we had data everywhere)!
nopcache
With the move to php8.0, the introduction of our API and the optimizations we’ve achieved so far, we’ve decided to disable opcache. We haven’t witnessed any increase in page loads so far, and this will help ensure all information displayed is always up to date.
self-cleaning locks
One of the touchy bits with v2 is the lock checks. If an install/update/removal fails, then users are left having to run some commands to install again. With v3 if a lock file exists, it’ll check to see if any processes are running and clean up after itself when finished.
And that’s all folks! 💖