web - PHP开发的网站系统后台手动更新程序的实现

WBOY
Release: 2016-06-06 20:30:38
Original
1189 people have browsed it

目前大部分公司提供成套的商业应用web程序给客户群体,但是由于客户群体技术能力参差不齐,在开发过程中需要一种“傻瓜式更新”最新版本程序的功能,实现管理员在后台对程序进行版本更新。那么这个功能有哪些实现方式,能否提供Demo作为参考。

回复内容:

目前大部分公司提供成套的商业应用web程序给客户群体,但是由于客户群体技术能力参差不齐,在开发过程中需要一种“傻瓜式更新”最新版本程序的功能,实现管理员在后台对程序进行版本更新。那么这个功能有哪些实现方式,能否提供Demo作为参考。

在之前的公司曾经做过一个对接万网自助开通安装网站的一个项目,程序安装好后,后台使用里面就有一个一键升级,我记得我当时做的事后参考dedecms,phpcms,wordpress来实现的,步骤无非是把远程端的代码包下载下来,解压更新覆盖即可,注意版本之间的问题

可以参考DZ的插件管理,这个单方面肯定是无法实现的,商家给接口,客户这里去判断,有更新就提示有更新,更新操作其实是从商家那里down新的代码或者对比更新,等等类似

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!