应用程序与MVC和WPF和UI [英] Application with MVC and WPF and UI

查看:116
本文介绍了应用程序与MVC和WPF和UI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须制作一个适用于wpf和mvc的架构。我还打算为其他平台添加webAPI。我创建了基本库(多个), BL 库, DAL 库,模型库, ViewModel (用于wpf和mvc之间的代码共享) )lib和 mvc proj和 wpf 项目。 如何连接这些图层。所有图层中的工厂模式只是创建其他对象并调用连接每个图层?存储库模式等似乎很复杂,不需要我。

只有需求才是可管理性和不那么混乱。它是一个erp。基本账单,财务等。我没有模式偏好。我对任何模式的建议持开放态度。多用户和速度是我唯一关注的问题。这将是一个产品,所以我应该能够单独包装不同的模块,并给不同的客户。如果我能得到每一层一个类的示例项目或代码,我将非常感激。

I have to make an architecture that works in both wpf and mvc. I also intend to add a webAPI for other platforms. I made base libraries(more than one), a BL lib, DAL lib,Model lib ,ViewModel(for code sharing between wpf and mvc) lib and mvc proj and wpf proj. How do i connect these layers. Factory pattern in all layers and just create objects of other and call to connect each layer? Repositories pattern etc seems complex and unneeded to me.
Only demand is it should be manageability and less confusing. Its for an erp. Basic billing, finance etc. I don't have pattern preference. i am open to any suggestions of pattern . Multi user and speed are my only concern. This will be a product, so i should be able to separately pack different module and give to different clients. I will be most grateful if i could get a example proj or codes with one class each layer.

推荐答案

这篇关于应用程序与MVC和WPF和UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆