Has anyone created a .NET
control architecture using the taligent programming model as follows?
有没有人使用taligent编程模型创建.NET控件架构如下?
http://www.wildcrest.com/Potel/Portfolio/mvp.pdf
As stated by IBM -
如IBM所述 -
MVP will enable IBM to deliver a unified conceptual programming model across all its major object-oriented language environments
MVP将使IBM能够在其所有主要的面向对象语言环境中提供统一的概念编程模型
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.
问题是如何将IInteractor概念(第9页)实现或映射到.NET界面?目前,猜测是使用IInputElement接口作为所有UI输入控件的事件源。
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?
如果有人已经在.NET中实现了taligent模式,我想知道它是否适用于Silverlight和WPF。如果是这样,它是否适用于其接口的并集?
Finally this represents the unified abstract architecture and can displace PresentationFramework.dll
. If you see this applies as a control architecture, please comment.
最后,这代表了统一的抽象体系结构,可以取代PresentationFramework.dll。如果您认为这适用于控制架构,请发表评论。
3 个解决方案
#1
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...
这取决于你所说的“.net”。该术语涵盖多种应用。 Web应用程序,Web服务,Windows窗体应用程序,WPF应用程序等......
MVP is used a lot in ASP.NET Web apps. See:
MVP在ASP.NET Web应用程序中经常使用。看到:
#2
The article How to: Implement the Model-View-Presenter Pattern of the MSDN patterns & practices section seams to be what you are looking for...
文章如何:实现MSDN模式和实践部分接缝的模型 - 视图 - 展示器模式是您正在寻找的...
#3
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.
我们基于Taligent的想法为.NET创建了一个完整的MVP框架。我们花了一些时间才能做对,但现在我们可以通过编写业务类,创建新表单并将类的属性拖放到表单上来创建应用程序。
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.
我们还编写了一个OPF(对象持久性框架)来补充它,因此也避免了管理数据库代码的需要。
#1
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...
这取决于你所说的“.net”。该术语涵盖多种应用。 Web应用程序,Web服务,Windows窗体应用程序,WPF应用程序等......
MVP is used a lot in ASP.NET Web apps. See:
MVP在ASP.NET Web应用程序中经常使用。看到:
#2
The article How to: Implement the Model-View-Presenter Pattern of the MSDN patterns & practices section seams to be what you are looking for...
文章如何:实现MSDN模式和实践部分接缝的模型 - 视图 - 展示器模式是您正在寻找的...
#3
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.
我们基于Taligent的想法为.NET创建了一个完整的MVP框架。我们花了一些时间才能做对,但现在我们可以通过编写业务类,创建新表单并将类的属性拖放到表单上来创建应用程序。
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.
我们还编写了一个OPF(对象持久性框架)来补充它,因此也避免了管理数据库代码的需要。