关于本书的行文和语气
看过本书的一些行文和语气,感觉这不但是一本良好的技术教材,也是一本挺不错的专业英语材料。因为作者的功力非常深厚,所以在他们的语气中无不流露出对技术的热爱和自信。因此,行文和语气中不是干巴巴的说教,而是一种略带“表演性”的指导。读这本书,就好像作者就站在你身边指导你——不,应该说更像是“脱口秀”!不过,我在译的时候就感觉有点“装腔作势”了。呵呵,大家莫见怪哦!
序言中提到的WinForm技术——NTD
NTD是No-Touch Deployment 的缩写,写成No Touch Deployment也一样。译过来就是“无接触部署”。那么什么是无接触部署呢?
我们知道,B/S结构程序的一大好处就是只要更新了Server端的程序,那么Browser端的所有用户就立刻可以同步享受到这种更新。如果是C/S结构程序就比较麻烦了,这要求Client端的客户按照要求来下载升级包并且安装升级包——这就相当于“接触”到了安装包。在企业中,因为员工的操作水平、安全权限不同,这种“有接触安装”是非常麻烦的事情——排解这些麻烦一般都需要IS部门的同事亲自出马,可是对于企业而言,IS部门这样纯花钱的部门,人养多了成本太高,人养少了又忙不过来——因此B/S结构的程序才得到了企业的青睐。
NTD就是帮助C/S结构程序解决这一难题的方案。
No-Touch Deployment Using a Web Server
With no-touch deployment, Windows Forms applications — desktop applications built using the Windows Forms classes of the .NET Framework — can be downloaded, installed, and run directly on the users' machines without any alteration of the registry or shared system components.
How Does It Work?
The .NET Framework installation provides a mechanism to hook Internet Explorer 5.01 and above to listen for .NET assemblies that are being requested. During a request, the executable is downloaded to a location on disk called the assembly download cache. A process named IEExec then launches the application in an environment with constrained security settings.
NTD在MSDN中的链接