Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Design Pattern & UML  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:请问数据组装与模板替换有没有相关的pattern? [Re:tier3]
zyzhang

Explorer



发贴: 155
积分: 30
于 2004-08-23 17:51 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
I think the concept or spirit using by Velcity, JSP page or what ever template-like product are essentially the same. Generally speaking, you donot need to do this kind of programming by yourself.

If you do need to create your own solution, i think you have to find a way to interpret your template defined and integrate with the result set(metat data mapping) from jdbc.

The Interpreter design pattern of GoF is a good reference to deal with the language template related implementation(If complicated enough, the parser generator with Interpreter pattern can work together).

Regarding the integration of data base, the book "Patterns of Enterprise Architecture" by Martin Fowler is a good referenced.




话题树型展开
人气 标题 作者 字数 发贴时间
10477 请问数据组装与模板替换有没有相关的pattern? tier3 998 2004-08-20 21:14
8417 Re:请问数据组装与模板替换有没有相关的pattern? floater 126 2004-08-20 21:46
8743 Re:请问数据组装与模板替换有没有相关的pattern? tier3 233 2004-08-23 12:11
8508 Re:请问数据组装与模板替换有没有相关的pattern? zyzhang 712 2004-08-23 17:51
8483 Re:请问数据组装与模板替换有没有相关的pattern? floater 148 2004-08-23 23:08
9467 Re:请问数据组装与模板替换有没有相关的pattern? 主管 99 2004-11-05 17:20

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923