是否有数据定义的声明性语言?
阅读有关 WPF 的内容并同时思考我的应用程序的数据存储,我想知道是否有任何语言或工具允许您以声明性方式定义关系数据?
谷歌的浅层搜索表明不存在这样的东西。但它看起来显然很有用。我想到的那种工具将声明性地描述(至少)实体、关系和视图,这是一种与平台无关的方式,它将充当数据驱动应用程序及其数据存储之间的抽象层。
是否存在这样的工具?
Reading about WPF and thinking about my application's data store at the same time led me to wonder if there are any languages or tools that allow you to define relational data in a declarative way?
A shallow Google search suggests no such thing exists. Yet it seems so obviously useful. The kind of tool I have in mind would declaratively describe (at least) entities, relationships and views is a platform-agnostic way that would act as an abstraction layer between data-driven applications and their datastores.
Does any such tool exist?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
休眠映射? http://docs.jboss.org/hibernate/ core/3.3/reference/en/html/tutorial.html
hibernate mapping ? http://docs.jboss.org/hibernate/core/3.3/reference/en/html/tutorial.html
它并不完全独立于平台,但 ADO.NET DataSet 的架构几乎完全符合您所描述的内容。它是用于表示关系数据的 XML 格式的声明性描述。它不包含视图,但包含实体和关系。
它不是独立于平台的,但另一方面,它是存在的。
It's not exactly platform-independent, but the ADO.NET DataSet's schema pretty much does exactly what you're describing. It's a declarative description of an XML format for representing relational data. It doesn't include views, but it does include entities and relationships.
It's not platform-independent, but on the other hand, it exists.