老文原创
2. 总览
2.1. 什么是Portal(门户)?
Portal 是一种网页应用信息系统,通常提供个性化、单点登录、由多种不同来源的内容聚合,并hosts 展示层。
“聚合“就是把不同来源的内容整合到一个网页。
Portal 可能有丰富的个性化功能提供给使用者可以定制的内容。Portal 页面可以是由一系列不同的portlets 给不同的使用者提供内容。
2.2. 什么是Portlet?
Portlet 是一种Java 技术的网页构件,她由portlet 容器管理,能够处理请求构造动态内容。
Portal 用portlet 这种可插入的用户接口构件来提供信息系统的表现层。
由Portlet 生成的内容也称为“一片“。
一片就是一块标记语言(如:HTML、XHTML、WML),这样一片和其他的片按照一定的规则聚合一起构成一个完整的文档。
一个portlet的内容和其他portlet 的内容组合成portal 页面的一个表单。 Portlet 的生命周期由portlet 容器来管理。
网页客户端由portal 实现的请求/响应 模式来与portlets 交互。
通常,用户与portlet 生成的内容交互,比如,进入链接或提交表单,portal 会收到发生在portlet 中的动作,再转到用户交互的portlets 目标。
依据使用者对portlet 的配置,对用户生成的内容会有不同。
老文原创
PLT.2.1 What is a Portal?
A portal is a web based application that –commonly- provides personalization, single
sign on, content aggregation from different sources and hosts the presentation layer 5 r of
Information Systems. Aggregation is the action of integrating content from different
sources within a web page. A portal may have sophisticated personalization features to
provide customized content to users. Portal pages may have different set of portlets
creating content for different users.
10 PLT.2.2 What is a Portlet?
A portlet is a Java technology based web component, managed by a portlet container, that
processes requests and generates dynamic content. Portlets are used by portals as
pluggable user interface components that provide a presentation layer to Information
Systems.
15 The content generated by a portlet is also called a fragment. A fragment is a piece of
markup (e.g. HTML, XHTML, WML) adhering to certain rules and can be aggregated
with other fragments to form a complete document. The content of a portlet is normally
aggregated with the content of other portlets to form the portal page. The lifecycle of a
portlet is managed by the portlet container.
20 Web clients interact with portlets via a request/response paradigm implemented by the
portal. Normally, users interact with content produced by portlets, for example by
following links or submitting forms, resulting in portlet actions being received by the
portal, which are forwarded by it to the portlets targeted by the user's interactions.
The content generated by a portlet