上午写完了,却存盘失败了,只好重写。
先转一段,
1) Tapestry与MVC
Tapestry组件扮演着控制器Controller的角色,是模式层(Model)中pure-domain objects和包含有组件的HTML模板之间的媒介。大多数情况下,这种方式应用于页面(页面也是Tapestry组件),但是在某些情况中,一个组件拥有自己的模板,包含着更多的组件,并且支持与使用者的互交。
页面通过配置一系列属性表达式(Property expressions)连接模式层和表现层。属性表达式使用另外一种开源框架OGNL(Object Graph Navigation Language)。OGNL的开源工程(project)独立于Tapestry,但是在Tapestry中起很重要的作用。OGNL主要的目的在于读取和更新对象的Java Bean属性。
- recognize which [of their] references indicate aggregation and which ones indicate association
- copy themselves
- maintain business logic
- compare themselves to other domain objects of the same type
- facilitate other objects that choose to print or display them
- conduct tests on their domain information"
- identify themselves
- validate themselves
- domain objects direct their persistence
- there may be collections of Domain objects
- domain object may contain references to other domain objects (this is assumed by the first one above).
--Fritz Schenk
上网查web表现控制方面的资料,看到了,没有细究:
理解一下:
1、Tapestry现在是jakarta的一个web的application framework
2、基于组件的框架。
3、由servlet和html组成的。
4、html(表现)在使用前从池中调出,被组件这个controller加以渲染(结合model),从而完成mvc的过程。
5、解决jsp中嵌入程序的问题。
博客介绍了Tapestry与MVC相关内容。Tapestry组件充当控制器,是pure - domain objects和HTML模板间的媒介。页面通过属性表达式连接模式层和表现层,属性表达式使用开源框架OGNL,其主要用于读取和更新Java Bean属性。
1404

被折叠的 条评论
为什么被折叠?



