Skip to Content
PHP编程:第4版
book

PHP编程:第4版

by Kevin Tatroe, Peter MacIntyre
January 2021
Intermediate to advanced
505 pages
9h 45m
Chinese
Publishing House of Electronics Industry
Content preview from PHP编程:第4版
356
17
调试
PHP
的服务器或任何人的代码。
localhost
环境可以用
Apache
网页服务器或微软的
IIS
手动处理来创建。也可以使用一
些集成的环境包,
Zend Server CE
(社区版)就是一个很好的例子。
无论你要为原始的开发环境进行什么配置,都要给你的开发者随心所欲的自由,并且他
们不用担心被责备。这会给他们信心去创新,并且没人会“受伤”。
在自己电脑上设置本地环境至少有两种选择。第一种是对于
PHP 5.4
内建了
网页服务器
1
。这可以免去下载和安装完整
Apache
IIS
网页服务器产品用于
localhost
的工作。
第二种,现在有些主机允许云开发。
Zend
为每个人提供一个免费的测试开发环
境。更多信息可参看链接
33
所示的网站。
预演环境
预演环境是一个要尽可能模拟生产环境的地方。虽然有时候这很难实现,但越接近生产
环境越好。你将会看到你的代码是如何在受保护的地方运行的,同时模拟真正的生产环
境。预演环境可以提供一个终端用户或客户端测试新功能的地方,其可给出反馈和压力
测试代码而不用担心影响生产代码。
作为测试和实验过程,你的预演环境(至少从数据的角度)需要远离生产环境。
所以好的实践是具备时刻将预演环境替换成生产环境的信息的过程。配置时间
因每个公司和开发场景而异,可以基于创建的功能、发布周期等。
如果资源允许,你需要考虑至少有两个分开的预演环境 :一个针对开发者(代码伙伴),
另外一个用于客户测试。从这两种类型的用户那里得到的反馈经常截然不同,但却能反
映实情。为了更接近生产环境,服务器错误报告和反馈在这里要保持最少。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

解密金融数据

解密金融数据

Justin Pauley
算法技术手册(原书第2 版)

算法技术手册(原书第2 版)

George T.Heineman, Gary Pollice, Stanley Selkow
Java持续交付

Java持续交付

Daniel Bryant, Abraham Marín-Pérez

Publisher Resources

ISBN: 9787121404634