UI生成统一JSR?(转载自Metawidget创始人博客)
来源:互联网 发布:js中format 日期函数 编辑:程序博客网 时间:2024/04/30 13:00
source: http://kennardconsulting.blogspot.com/2008/10/unified-theory.html
I just had an interesting exchange with the guys from the OpenXava project. We discussed differences in our two approaches, as well as those of other UI generation projects, and what it would take to unify them all under a JSR one day. I think we're a long way from that day, primarily because UI generation isn't particularly 'mainstream' yet (at least, not in the sense of ORM). Still, it's often said in physics that even though we don't know what the Unified Theory is, we know something about what features it must have.
Can we say something similar about UI generation? I'll list here all those features I think are being explored, either by Metawidget, OpenXava or one of the other projects, and see if we can update this page over the years to form consensus.
Static or Runtime
Should the generation happen statically or at runtime? If runtime, how do you allow customisation? If statically, how do you allow re-running the generation when the domain model changes (without losing any customisations)?
Modeling Language
Should the generator have its own modeling language, which developers use to describe the UI, or should it try and derive the UI automatically? Do modeling languages introduce error-prone duplication? Is automatic derivation too inflexible? Is there enough metadata to drive automatic derivation, or do we have to 'guess and fill in the gaps'?
Production or Prototype
Should we expect UI generation to be able to be used in production applications, or only during a prototyping phase?
Customisation
What sort of customisations of the generated UI are important? Graphics? Layouts? How should we facilitate them?
Bounds of Generation
Should we try to automatically generate the whole UI, or just pieces of it? Is generating the whole UI flexible enough? Is just generating pieces useful enough?
Multiple Platforms
Is supporting multiple platforms (eg. desktop, web, mobile) important?
Consistency
Given the same domain model, should we try and produce a consistent UI across all platforms? Does this risk a 'lowest common denominator'? Does tailoring uniquely to each platform introduce too much work for the developer?
Diverse Architectures
Should the generator care about diverse architectures? Is mandating the technology stack of the application too restrictive? Or should we try to enforce 'good coding' that way? Does supporting multiple versions of everything introduce too much complexity? Is the ability to retrofit existing applications an important goal?
Third Party Components
Should we support third-party UI components? What if they are not available on all platforms (eg. desktop, web)?
- UI生成统一JSR?(转载自Metawidget创始人博客)
- Http头(转载自博客园)
- 贪心算法(转载自博客园)
- 转载自博客园
- 转载自博客园
- 转载自博客园
- 我的UI自动化总结之失败用例跟踪----转载自网易杭州QA博客
- 转载自博客园:数字签名
- 大型网站系统架构分析(转载自博客园)
- 进程和线程(转载自廖雪峰的博客)
- Linux内存管理基本概念(转载自董的博客)
- 一个人的网站(转载自吴广磊的博客)
- Centos6.3安装配置svn(转载自博客园)
- 什么是 web 框架?(转载自博客园)
- Flex 布局教程:实例篇(转载自阮一峰博客)
- 移动支付接入相关(转载自elangduan的博客)
- 如何生成静态页(转载自多处)
- 如何生成静态页(转载自多处)收藏
- 低调做人,你会......
- 主动出击 夺回被人盗走的QQ号码
- 今天的心情真的是坏到极点
- 爱她 爱计算机 爱无拘无束
- Hibernate 原生查询 createSQLQuery 详解
- UI生成统一JSR?(转载自Metawidget创始人博客)
- 如何采用敏捷方法?
- Java SE 6 — 更好的 JPA、更好的 JAXB 和更好的批注处理
- Java程序员ActionScript 3入门
- 使用 JFreeChart 显示您的 Oracle 数据库数据
- 日语语法
- 上网不再怕中毒 教你一招克死所有病毒
- “不务正业”的一个月
- 判断一个域值是否为空并与用户交互