Version Checking / Updating
-
I have two methods. For my host plugin I pull the tags from my git repo. Each time I make a new release it gets a new tag.
For the expansions I have a Wordpress/WooCommerce plugin I made that pulls the version numbers from the file names of my downloadable products.
-
In the plugins, I am using manual check method to prevent the server load. On the server, there is a JSON file that holds the latest version number, and the plugin compares the version numbers.
I am also using the same JSON files with an html code to fetch & show the latest product versions on the website automatically.
-
@orange I've decided to go the JSON route (it seems like every time I have a problem JSON is somehow the answer lol)
With regards to server overload & download speeds, reckon it's fine to host these on Dropbox or Github? Trying to get as far away from Google Cloud as possible :)
-
@iamlamprey I haven't checked Dropbox's
https://........?dl=1
direct download link method for this purpose yet. If it works, then it would be ok.But a JSON file in the following format takes up approx. 100 bytes of space, not even 1 kilobyte. It is a very small file compared to Woocommerce's complex and space-consuming JSON data. So it wouldn't cause overload issue even if you put these on your server.
{ "Name": "Your Plugin", "MajorVers": "1", "MinorVers" : "0", "MaintenanceVers" : "0" }
-
@orange Yeah sweet it should be fine then, thanks for that!
-
@orange said in Version Checking / Updating:
{ "Name": "Your Plugin", "MajorVers": "1", "MinorVers" : "0", "MaintenanceVers" : "0" }
@iamlamprey i'm using the same kind of JSON data but I've created a custom wordpress)endpoint which echoes the data on plugins launch and displays a notification dot on the GUI. IDK if you can do that with shopify.
-
@Matt_SF said in Version Checking / Updating:
IDK if you can do that with shopify.
good thing I'm moving to Gumroad ;)
-
@iamlamprey said in Version Checking / Updating:
good thing I'm moving to Gumroad ;)
I started with gumroad but quickly move to WordPress as I was not satisfied with it. It works yes, and you don't have to worry about anything but posting your products but (IIRC, it was years ago) they take a percentage of course plus they charge legal taxes, which can be quite an amount - that said, it depends on the prices of your products and if you plan to live of it or if you just want to make extra money... Be sure to take all the details into account. If you have questions maybe I can help.
-
@Matt_SF I appreciate that :)
Yeah the main reason for the switch is just my hatred of keeping track of bills, and the fact that they provide hosting for "free", I'm not making enough to justify all the shopify plugins and cloud storage fees atm
-
@iamlamprey no problem! It's just a matter of calculation.
With a wordpress solution you can use a minimal setup and keep your expenses very low. From the top of my head, I would say 100$/year for security, and (for example) a host provider like Hostinger offers small hosting solutions for 100/150$/year, even less. If you have little traffic on your website, it can get you started.
About keeping track of your sales, this is done automatically within woocommerce, and you can of course export your data to an excel sheet.(others please correct me if I'm forgetting something)
-
I started with gumroad too. It is much cheaper to host your own solution but also more work. Another option you might want to consider is PayHip, it's just like gumroad but last time I checked it was a little cheaper.
-
@iamlamprey Wordpress-Woocommerce is one of the best price/performance solutions out there. WooCommerce powers more than 30% of all e-commerce websites all over the World.
However, one of the most critical tasks when using this system is to constantly update it. If the update is not done well, hacking is inevitable, because there are too many Wordpress sites, hackers primarily attack these systems. With updates, current vulnerabilities are continually being fixed.
So Keep updating your website to make it secure and compatible - Make your website fast with premium Theme & high quality WP plugins - use a good Hosting Service - use a Firewall WP plugin.
-
@orange said in Version Checking / Updating:
use a Firewall WP plugin.
I use wordfence, do you use something else?
-
use a Firewall WP plugin.
This is a last line of defense so don't rely on it alone.
If you're using managed hosting then a lot of the server side security will be handled for you - but you'll pay for it.
If you have your own host (I'm using vultr) then the server side security is mostly up to you, so take the time to set it up. Even if you have the greatest wordpress firewall plugin it will do nothing if your server is an easy vector.
Also use 2FA on everything if you aren't already, and use a password manager so you even you don't know your passwords :)
-
@Matt_SF said in Version Checking / Updating:
I use wordfence, do you use something else?
Yes I use it too.
@d-healey said in Version Checking / Updating:
If you have your own host (I'm using vultr) then the server side security is mostly up to you, so take the time to set it up.
Having your own server system is the biggest vulnerability. You can't have the front security systems of a good hosting company (many of which are expensive, high-tech services) on your own personal host or server. So don't rely on that setup. It is wise to pay a little price rather than incur much greater damage later on.
This is a last line of defense so don't rely on it alone.
It is not the only one defense, but it is one of them.
- Firewall blocks repeated failed account logins and brute force attacks.
- Updates will prevent vulnerability/compatibility issues.
- A good Hosting company takes a lot of front security services for you.
- 2FA should be used for every user, not only for admin.
-
Having your own server system is the biggest vulnerability. You can't have the front security systems of a good hosting company
I use a cloud-host which has some of the advantages of both a managed service but with more freedom to do your own stuff (if you know what you're doing). With vultr you can easily install different front end interfaces. I use CyberPanel, but there's plesk and cpanel, etc. For a managed version of vultr there is Cloudways which is pretty good value.
-
@d-healey I am using Kinsta. It is a cloud based system, and it eliminates the need to use CyberPanel or cPanel. It is a very fast system designed and optimized/customized only for Wordpress, which is incredibly fast compared to cPanel and other Hosting companies. It also has a Staging environment that allows you to try and see it on the server before updating or modifying it.
-
It is a serverless system
Tell me more.
Edit: I just took a look at their site. Looks like cloudways but more shiny.
-
y'all out here playing buzzword bingo with your fancy plugins
-
From their website:
Kinsta is a Cloud hosting platform designed to help companies and dev teams ship and manage their web projects faster and more efficiently.
I edited my post :) but highly recommended.