DotNetNuke Skinning Whitepaper 翻译记录(术语与win客户端程序部分)

 翻译:

术语

 

术语 “Skinning(皮肤)是一个很难用语言解释清楚的东西,简单的说,一种皮肤体系提供给你一个静态的布局,但允许你修改颜色和样式甚至可以用你的图片代替原有的图片,另外一种皮肤体系则拥有允许你自定义除了内容以外的任何外观上的表现。这两种手段有着明显的区别,你需要根据你的商务需要去选择最适合你的应用程序的解决方案。

 

Windows 客户端程序

 

皮肤技术在Windows客户端程序中已经流行了相当一段时间了,这或许会让你认为不需要太大努力就可以将同样的皮肤体系运用在你的web应用程序上,然而,这个想法被证明是一个错误。

 

这是由于Windows 客户端程序并没有和web应用程序相同的需求,一个Windows 客户端程序界面可以使用多种分解技术而并不会对性能产生任何影响,这是因为Windows 客户端程序的用户界面具有长久的容器生命周期,而web应用程序的界面则是对web浏览器的对每个页面的请求进行装配和传输的,这就要求我们需要一个高性能的表现层机制来应付web应用程序的需求。

原文: 

Terminology

 

The term “Skinning” has many different interpretations depending on the audience. At the most basic level, skinning provides you with a static layout but allows you change colors and styles and possibly override images with your own custom graphics. At the other extreme, skinning can allow you with the capability to customize every aspect of the user interface except for the actual content. There are obviously many stages in between these two extremities and your business requirements should drive the optimal solution for your application.

 

Windows Clients

 

Skinning techniques have long been popular in Windows client applications. This would lead you to believe that it should be a trivial effort to incorporate the same skinning architecture into your web applications. However, this approach would prove to be a tragic mistake.

 

Due to their stateful nature Windows client applications do not have the same requirements as a web application. A skin can be applied to a Windows client application using a wide variety of parsing techniques with little or no performance impact. This is because the user interface in a Windows client application is persistent for the lifetime of the container. Compare this to a web application where the entire user interface is assembled and transmitted to the web browser on every page request. It is quite obvious that an extremely high performance rendering engine is required in a web application to meet these demands.

DotNetNuke Skinning Whitepaper 翻译记录:
DotNetNuke Skinning Whitepaper 翻译记录(简介部分)
DotNetNuke Skinning Whitepaper 翻译记录(术语与win客户端程序部分)
DotNetNuke Skinning Whitepaper 翻译记录(技术部分)
DotNetNuke Skinning Whitepaper 翻译记录(定义部分)
DotNetNuke Skinning Whitepaper 翻译记录(DotNetNuke部分)

你可能感兴趣的:(dotnetnuke)