将 CAB 迁移到 CAL/PRISM
我正在从事 C#.NET 项目。在这个项目中,我们遵循 CAB 框架(Win 表单)。现在我们计划将 CAB 移至 WPF 的复合应用程序库。在这个迁移过程中,我必须考虑、遵循和遵循哪些事项?学习?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我正在从事 C#.NET 项目。在这个项目中,我们遵循 CAB 框架(Win 表单)。现在我们计划将 CAB 移至 WPF 的复合应用程序库。在这个迁移过程中,我必须考虑、遵循和遵循哪些事项?学习?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
视图/GUI
Prism 和库
我假设您已经熟悉将业务逻辑与 UI 逻辑分开的应用程序架构,但对于 XAML 应用程序和 Prism特别是,MV-VM 模式将视图“联姻”到业务领域,并且比 CAB 跳过的麻烦更少。
请注意,通过 Prism 4.0,这是最近的版本。
另请参阅 - MEF 与IoC/DI
View / GUI
Prism and Libraries
I assume you're already familiar with application architectures that seperate business logic from UI logic, but for XAML applications and Prism in particular the MV-V-M pattern 'marries' the View to the business domain with less cumbersome hoops to jump than CAB.
Note that MEF is supported out of the box (alternative to Unity) with Prism 4.0, which is very recent.
See Also - MEF vs. IoC / DI
一篇优秀的 MSDN 文章,对比了 CAB 和 Prism
http: //msdn.microsoft.com/en-us/library/ff921081%28v=pandp.40%29.aspx
An excellent MSDN article that contrasts CAB and Prism
http://msdn.microsoft.com/en-us/library/ff921081%28v=pandp.40%29.aspx