作业帮 > 综合 > 作业

计算机方面的英文翻译?3

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/04/29 19:49:41
计算机方面的英文翻译?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编程模型本节涉及的基本编程模式portlets,就像生命,请求处理,与数据模型.3.1实体portletportlet的一个实体,是一个Java举一个portlet参数的额外设置.这种模式被称为flyweight模式(见[2]).参数是带着portlet喜好.portletpreferences持久状态信息,可定制的.初始设定可以定义的Portlet的部署描述.门户网站管理员可以修改这些设置基地portlet实体(例如,一个服务器地址,以便portletretrieves的消息).从这一基地portlet实体,新的实体,能够为每一个用户把这个portlet对他/她的首页.用户可以再定制portlet喜好(减薄,设定喜爱的股票报价).不过,进一步详细说明如何建立和部署portlet实体层次上没有指明的第一版本的 portlet规范,但仍需要人照顾,在日后发布的规范.3.2portlet窗口在portlet窗口销价片段制作的portlet中显示出来(参见图.2).夹在portlet窗口的portlet模式,窗口的状态和render参数.这种脱钩的portlet窗口从portlet实体上节所解释的,允许不同窗口 指着同一portlet实体.这些窗户的同一Portlet的实体可以在不同的窗口或portlet模式.下一节解释了portlet模式和窗口状态的详细资料.