2009-09-29 179 views
10

只是试图让之间的窗口(桌面)应用程序和Web应用程序开发的主要区别更透彻的了解。我的所有知识和经验都是作为一个Web应用程序开发人员,使用c#和.net框架。我很想知道开发人员在这两个领域都很熟练,例如WPF(桌面)开发。Windows应用程序VS Web应用程序开发

是否Windows应用程序开发采用不同的方法,测试方法等?当我想到诸如安装Windows应用程序和安装应用程序以供使用的用户之类的事情时,也想到如何更新软件,似乎这种开发所涉及的过程更加结构化,并且“出错的空间更小”。

您是否认为没有WPF经验或Windows应用程序体验但拥有.net背景的人有足够的知识来自信地设计和开发WPF应用程序(作为团队负责人),或者如果那么这个项目就会出现,那么谁就有机会获得WPF应用程序的体验?

回答

1

同时有differencies和相似于许多不同的层面,但是有一点不同,我觉得是非常重要的是,Web应用程序与Windows应用程序的多个状态特性的基于请求的性质。我看到一些开发者(主要是那些向相反方向移动的开发者)很难找到他们的头脑。

1

我认为,在任何平台,最好有一个牵头开发谁至少有一些与它的经验。 WPF是一个相对较新的平台,因此WPF经验丰富的开发人员很难找到。

作为一名Web开发人员,您可能比拥有WinForms体验的人更好地使用WPF,因为您不会因为对如何最佳构建Windows应用程序的偏见而苦恼。几年前,我以葡萄牙语上课,我发现学习这门语言的时间比讲西班牙语的人要容易得多。由于这两种语言如此相似,他们一直在回到西班牙语。

0

我没有任何经验,WPF,但我好与WinForms和我做了一些Web应用程序也是如此。

两者之间最大的区别,在我的经验,知道一个窗体的生命周期是如何工作的,并能区分具有不同的含义(即,窗体卸载事件)相同的术语。我发现这真的来自WinForms背景。

2

我已经在这两个和丰富和发展时间的WinForms方面制定打击网络出来的水,特别是因为喜欢的ClickOnce技术,大大降低了部署难题。随着的WinForms,你只需要对代码的平台,并没有考虑到其他因素数量巨大。

整个请求/响应通常是IMO的繁琐和有时不可靠的情况,更不用说支持越来越多的浏览器,不同标准的开发和页面生命周期的学习曲线哦,当然还有增长的趋势广告泼到全国各地。

然而,什么web应用给我们带来了超越什么的WinForms才有希望实现的,所以虽然有一个学习曲线,增加了开发时间有明显的奖励收获。

我们(我想大多数组织)倾向于将Windows应用程序用于管理目的,在最短的时间内需要丰富的用户界面,毕竟,为什么要在可能的情况下浪费Web服务器资源每个用户PC上有99%的可用CPU ...?

1

Web应用程序

1)Web application or webapp is an application that is accessed via Web browser over a network 
such as the Internet or an intranet 
2)It is a computer software application that is coded in a browser-supported language (such as 
HTML, ASP, PHP, Perl, Python etc.) and reliant on a common web browser to render the application 
    executable. 
3)Web applications are very much useful when they are hosted.Web app. can be access from anyware       
in the world through the internet. 
4)Web application is tested mainly for browser compatibility and operating system compatibility, 
error handling, static pages, back-end testing and load testing. 
5)Web applications are programs that used to run inside some web server (e.g., IIS) to fulfill 
the user requests over the http. 
6) Common Web applications include Webmail, online retail sales, online auctions, wikis, 
discussion boards, Weblogs 

Windows应用程序

1)A program that is written to run under Microsoft's Windows operating system. 
2)Windows applications typically run under all 32-bit versions of Windows, but earlier   
applications might also run under the 16-bit versions (Windows 3.x) as well. 
3)runs on personal computers and work stations. 
4)window based app. need to be install on your machine to access. 
5)windows applications (desktop) need to be installed on each client's PC. 
6)Windows application runs faster than Web application. 
7.Windows application have many inbuilt classes in .Net compared to Web application.