.Net 的 MVP Taligent 编程模型
有没有人使用智能编程模型创建了.NET
控制架构如下?
http://www.wildcrest.com/Potel/Portfolio/mvp.pdf
正如IBM所述 -
MVP 将使 IBM 能够在其所有主要面向对象语言环境中提供统一的概念编程模型
问题是如何实现 IInteractor 概念(第 9 页)或将其映射到 .NET 接口? 目前的猜测是使用 IInputElement
接口作为所有 UI 输入控件的事件源。
如果有人已经在.NET中实现了taligent模式,我想知道它是否适用于Silverlight和WPF。 如果是这样,它是否适用于它们接口的联合?
最后,这代表了统一的抽象架构,并且可以取代PresentationFramework.dll。 如果您认为这适用于控制架构,请发表评论。
Has anyone created a .NET
control architecture using the taligent programming model as follows?
http://www.wildcrest.com/Potel/Portfolio/mvp.pdf
As stated by IBM -
MVP will enable IBM to deliver a unified conceptual programming model across all its major object-oriented language environments
The question is how do you implement or map the IInteractor concept (Page 9) to a .NET interface? Currently the guess is to use the IInputElement
interface as a the event source for all UI input controls.
If anyone has already implemented the taligent pattern in .NET, I would like to know if it is applies to both Silverlight and WPF. If so, does it apply to the union of their interfaces?
Finally this represents the unified abstract architecture and can displace PresentationFramework.dll
. If you see this applies as a control architecture, please comment.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这取决于“.net”的含义。 该术语涵盖多种应用。 Web 应用程序、Web 服务、Windows 窗体应用程序、WPF 应用程序等...
MVP 在 ASP.NET Web 应用程序中大量使用。 请参阅:
http://msdn.microsoft.com/en-us/magazine/ cc188690.aspx
That depends on what you mean by ".net". The term covers many kinds of applications. Web apps, Web Services, Windows Forms apps, WPF apps, etc...
MVP is used a lot in ASP.NET Web apps. See:
http://msdn.microsoft.com/en-us/magazine/cc188690.aspx
文章如何:实现模型-视图-演示者模式 MSDN 模式和 实践部分接缝就是你正在寻找的......
The article How to: Implement the Model-View-Presenter Pattern of the MSDN patterns & practices section seams to be what you are looking for...
我们基于 Taligent 的思想,为 .NET 创建了一个完整的 MVP 框架。 我们花了一些时间才得到正确的结果,但现在我们可以通过编写业务类、创建新表单并将类的属性拖放到表单上来创建应用程序。
该框架非常复杂,允许在运行时自定义表单,并自动将业务类中的验证连接到表单上的编辑。
我们还编写了一个 OPF(对象持久性框架)来补充它,因此也无需管理数据库代码。
We have created a complete MVP framework for .NET, based on the Taligent ideas. It took us some time to get right but now we can create applications by writing business classes, creating a new form and drag-dropping the properties of a class onto the form.
The framework is very sophisticated and allows for the customisation of forms at runtime, as well as automatically hooking up validation in the business classes to edits on the form.
We also wrote an OPF (Object Persistence Framework) to complement it, so avoiding the need to manage database code as well.