在没有 MVVM 的情况下构建 Silverlight 应用程序
我继承了一个Silverlight应用程序(使用wcf服务),它没有太多的结构(代码后面有很多代码,一些实用程序类,3个单独的页面)。
我大约有一天的时间来清理它,所以我无法真正重组它以使用 MVVM 模式...而且说实话,我认为我没有足够的 MVVM 经验来对整个系统做到这一点即使我有更多时间也可以申请。
考虑到这些限制,有什么关于改变的建议可以有所帮助吗?
谢谢。
I have inherited a Silverlight application (using wcf services) that doesn't have a lot of structure to it (a lot of code in the code behind, some utility classes, 3 separate pages).
I have about a day to clean it up a bit so I can't really restructure it to use a MVVM pattern... and to be honest I don't think I have enough experience with MVVM to even do that well to the entire application even if I had more time.
Given those constraints any advice on changes that could help?
thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许有点晚了,但希望这有帮助:
还有属性。
尽量避免出现重复数据等
Maybe a bit late but hope this helps:
As well as properties.
Try to avoid having double data etc