Should a web app have automatic updates?

大兔子大兔子 提交于 2019-12-02 08:42:49

Pushing a client app update to somebody's computer is putting to risk only that user's computer and data.

However, you can't automatically push updates to other people's servers. You don't know what their envirnment is and what you can break by pushing your updates. And given that your people will be using your app to publish their content to their users, you would be risking your users business.

Yes and No.

To be clear, it should be an opt in. You want auto-updates, you can select auto-updates. You will run into some implementation issues/limitations, but that is for another question.

I can see a mix, some users may prefer to have security updates pushed, but not a new version. Other may want both, some neither. If you keep it flexible, this could be the one distinguishing features of your CMS.

If you do decide to add such a feature, it would be wise to let users opt-out. CMS is something were customization is common, and updates can break it with horrifying results. We've been down that road at one of my places of employment, where a CMS framework upgrade caused many, MANY hours of re-work on our part.

I think Wordpress has a feature that automtically checks for updates, and will put up a nag screen in the admin interface if you're running an out of date copy. That seems like a fairly good comprimise between forcing an update that could break users' installations, and simply posting a notice on your project website that users might not see.

If I have it straight: Some users will go to a website to use your system while others will download a binary?

In that case, I'd force the download folks to upgrade. What if you make a change to the underlying database that effects how the client interacts with it? It'd be a pain to write every new version to work with those stubborn people using version 0.1 when you're already on version 4.0.

I'm assuming the web app and the downloaded binaries are using the same database. If you have a setup where an organization maintains it's own database, definitely do not force updates.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!