WPF 应用程序与 Winform for Business 应用程序的优势? [英] Advantage of WPF app vs Winform for business apps?

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

问题描述

我了解asp.net和winform开发.我不是那种仅仅因为新技术就跳入新技术的开发人员.它需要给我带来额外的好处,比如提高工作效率.

I know asp.net and winform development. I am not the type of developer who jumps into a new technology just because it's new. It needs to give me extra benefits like higher productivity.

对于纯业务应用程序,WPF 与 Winforms 相比有哪些优势?我对 WPF 提供的额外的眼睛糖果、动画、渐变、图像显示效果等不感兴趣.业务应用程序用于数据输入、数据报告以及一些图表和照片的静态显示.

What are the advantages of WPF over Winforms for pure business apps? I am not interested in the extra eye candy, animation, gradients, image display effects and so on which WPF provides. The business apps are for data entry, data reporting and maybe some charts and static display of photos.

WPF 对这些应用有何帮助?更好更丰富的数据绑定?WinForm 是一种成熟的经过验证的技术,我喜欢这样一个事实,我可以在 Visual Studio 中完成所有事情,而不是针对 WPF(VS & Blend 系列)的多个 IDE.另外,我认为 WPF 没有像 Winform 对应物(DataGridView..etc)那样丰富的数据绑定控件.AFAIK,微软仍将支持 Winforms 多年.

How will WPF help in these apps? Better richer data binding? WinForm is a mature proven technology and I like the fact I can do everything in Visual Studio vs multiple IDE's for WPF (VS & Blend family). Plus I think WPF doesn't have as rich data binding controls like their Winform counterparts (DataGridView..etc). AFAIK, Microsoft will still support Winforms for many years.

试着说服像我这样的人转换.

Try to convince someone like me to switch.

推荐答案

我了解asp.net和winform开发.我不是那种仅仅因为新技术就跳入新技术的开发人员.它需要给我带来额外的好处,比如提高工作效率.

I know asp.net and winform development. I am not the type of developer who jumps into a new technology just because it's new. It needs to give me extra benefits like higher productivity.

对于我的团队来说,WPF 已被证明比 WinForms 开发应用程序要快得多.我们最近在 32 个工作日内发布了一个中型应用程序.我们拥有团队中经验丰富的 WPF 开发人员以及渴望学习该技术的缺乏经验的人员的优势.士气高涨,生产力令人印象深刻.

For my team, WPF has proven to be much faster than WinForms to develop applications with. We recently released a mid-sized app in 32 man days. We had the advantage of an experienced WPF developer on the team, and inexperienced guys who were eager to learn the technology. There was great morale, and productivity was impressive.

WinForm 是一种成熟的经过验证的技术,我喜欢这样一个事实,我可以在 Visual Studio 中完成所有事情,而不是针对 WPF(VS 和 Blend 系列)的多个 IDE.

WinForm is a mature proven technology and I like the fact I can do everything in Visual Studio vs multiple IDE's for WPF (VS & Blend family).

您认为自己是手动编码员还是拖放编码员?如果您认为自己是一个拖放工具,那么当前的 WPF 工具可能不适合您.也许等待 Visual Studio 2010?我几乎只在 XAML 中工作.大多数 WPF 用户可能会同意,这是目前创建 WPF 应用程序的最有效方法.但是,我也手工制作了我的 HTML,所以对我来说感觉很自然...

Do you consider yourself a hand-coder, or a drag-and-drop coder? If you consider yourself a drag-and-dropper, than the current crop of WPF tooling may not be suitable for you. Maybe wait for Visual Studio 2010? I work almost exclusively in XAML. Most WPF'ers will probably agree that this is the most effective way of creating WPF applications at the moment. But then, I also craft my HTML by hand, so it feels natural to me...

对于纯业务应用程序,WPF 与 Winforms 相比有哪些优势?我对 WPF 提供的额外眼睛糖果、动画、渐变、图像显示效果等不感兴趣.

What are the advantages of WPF over Winforms for pure business apps? I am not interested in the extra eye candy, animation, gradients, image display effects and so on which WPF provides.

我曾经是这样想的,但我最近开发了一个业务应用程序,它具有渐变、基本动画和效果.添加这些花哨的功能是为了增强用户体验.为什么商业应用应该是 Battleship Grey?为什么它们不能使用?当然,使商业应用程序可用的不是颜色、渐变、动画,而是使用这些效果可以帮助用户体验,这对我来说很重要.我本可以在 WinForms 的 WPF 应用程序中完成我所做的一切 - 只是需要更长的时间.

I used to think this way, but I have recently developed a business application which has gradients, basic animation and effects. These fancy features were added to enhance the user experience. Why should business apps be Battleship Grey? Why should they be unusable? Granted, it isn't color, gradients, animation that makes a business app usable, but using these effects can help the user experience, and this is what is important to me. I could have done everything I did in the WPF app in WinForms - it just would have taken much longer.

更好更丰富的数据绑定?

Better richer data binding?

数据绑定支持真的很棒.这是我在平台中最喜欢的功能.查看这个精彩的数据绑定备忘单.

The databinding support truely is amazing. It is my single most-loved feature in the platform. Check out this wonderful Databinding Cheatsheet.

试着说服像我这样的人转换.

Try to convince someone like me to switch.

我已经决定我不会试图说服其他人改用 WPF.我试图说服"的开发人员(所有有经验的 Winforms 开发人员)通常都在与平台斗争.他们没有投资于技术.他们不明白".我鼓励人们检查这项技术,看看它是否适合作为开发人员的他们.学习曲线是巨大的.如果您通过书籍学习,请查看这篇 SO 帖子关于 WPF 书籍的一些小评论.如果您通过视频学习,请查看 windowsclient.net WPF 视频.如果您通过示例学习,请查看 thisthis 帖子.忘记您对 WinForms 的所有了解.WPF 看起来确实比 WinForms 更接近 ASP.创建一些示例应用程序.看看它是否适合您和您的团队.

I have decided that I am not going to try and convince anyone else to switch to WPF. The developers I have tried to "convince" (all experienced Winforms developers) usually have struggled with the platform. They are not invested in the technology. They don't "get it". I encourage people to check out the technology to see if it is right for them as a developer. The learning curve is huge. If you learn by books, check out this SO post for some mini-reviews on WPF books. If you learn by videos, check out the windowsclient.net WPF videos. If you learn by example, check out this or this post. Forget everything you know about WinForms. WPF really seems closer to ASP than WinForms. Create some sample applications. See if it works for you and your team.

由于您是多技能的(asp.net/winform 技能),您可能会看到 WPF 中技能提升的优势,因为它与 Silverlight 密切相关.Silverlight 填补了富客户端应用程序和 Web 应用程序之间的空白.

As you are multi-skilled (asp.net/winform skills), you may see the advantage of skilling-up in WPF as it is very closely related to Silverlight. Silverlight fills that gap between your rich client applications and web applications.

我个人认为 WPF 是可用于 .NET 框架的最佳客户端技术,并且通常会避免在 WinForms 中进行开发以备将来使用.赞一个

I personally feel WPF is the best client side technology available for the .NET framework, and will generally avoid developing in WinForms for future work. YMMV

祝你的决定好运.

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

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