问题描述:
计算机方面的英文翻译?3
3 Programming model
This section covers the basic pro gramming model of portlets, like the lifecycle, request processing, and the data model.
3.1 Portlet entity
A portlet entity is a Java instance of a portlet parameterized with additional settings. This kind of pattern is called flyweight pattern (see [2]). The parameterization is done with the portlet preferences. Portlet preferences are persistent state information that can be customized. The initial settings can be defined in the portlet deployment descriptor. A portal administrator can modify these settings for a base portlet entity (e.g., a server address where the portlet retrieves its news from). From this base portlet entity new entities can be created for each user who puts this portlet on her/his page. The user can then further customize the portlet preferences (e. g., set favorite stock quotes). However, further details of how to build and deploy portlet entity hierarchies are not specified in the first version of the portlet specification but need to be taken care of in a future release of the specification.
3.2 Portlet window
In the portlet window the markup fragment produced by the portlet is displayed (see also Fig. 2). Attached to the portlet window are the portlet mode, the window state and the render parameters. This decoupling of the portlet window from the portlet entity is explained in the previous section and allows different windows pointing to the same portlet entity. These windows of the same portlet entity can be in different window states or portlet modes. The following section explains the concepts portlet mode and window state in more detail.
请高手帮忙翻译上面这段英文,不要求很准,但要求通顺!谢谢!
3 Programming model
This section covers the basic pro gramming model of portlets, like the lifecycle, request processing, and the data model.
3.1 Portlet entity
A portlet entity is a Java instance of a portlet parameterized with additional settings. This kind of pattern is called flyweight pattern (see [2]). The parameterization is done with the portlet preferences. Portlet preferences are persistent state information that can be customized. The initial settings can be defined in the portlet deployment descriptor. A portal administrator can modify these settings for a base portlet entity (e.g., a server address where the portlet retrieves its news from). From this base portlet entity new entities can be created for each user who puts this portlet on her/his page. The user can then further customize the portlet preferences (e. g., set favorite stock quotes). However, further details of how to build and deploy portlet entity hierarchies are not specified in the first version of the portlet specification but need to be taken care of in a future release of the specification.
3.2 Portlet window
In the portlet window the markup fragment produced by the portlet is displayed (see also Fig. 2). Attached to the portlet window are the portlet mode, the window state and the render parameters. This decoupling of the portlet window from the portlet entity is explained in the previous section and allows different windows pointing to the same portlet entity. These windows of the same portlet entity can be in different window states or portlet modes. The following section explains the concepts portlet mode and window state in more detail.
请高手帮忙翻译上面这段英文,不要求很准,但要求通顺!谢谢!
问题解答:
我来补答展开全文阅读