Adobe Flex与.NET WinForms [英] Adobe Flex vs. .NET WinForms

查看:79
本文介绍了Adobe Flex与.NET WinForms的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们,


多年来我一直在使用

MSFT技术设计应用程序(Win32 API,MFC和现在.NET WinForms)。

所有应用程序都是基于互联网的,具有胖客户端。通过套接字或远程连接向我的服务器网格拨打电话




客户对我的工作感到满意,但似乎在过去十二天<相比之下,那些同样的客户表示强烈要求通过浏览器访问我的应用程序
。他们不喜欢安装.NET

运行时,他们不想安装我的MSI文件。特别是银行和大型的b $ b经纪公司对安装MSI文件持谨慎态度[明显和合理的原因]。他们想要基于浏览器的访问。我可以在Windows上作为客户的操作系统使用

,但不一定是Internet Explorer

浏览器。 Firefox的使用很常见。


我从未成为开发基于浏览器的应用程序的忠实粉丝,主要是因为我对JScript的仇恨。我不介意以小的

剂量使用JScript来连接网页上的主要元素,但是使用它作为我的主要客户端编程语言的想法是根本没有吸引力。

不幸的是,鉴于AJAX似乎是最近处于web

开发技术的最前沿,并且鉴于''J''在''对于JScript,'AJAX'代表

,我觉得好像我的选项已经用完了。


....但是在做了一些研究之后,我遇到了Adobe的一项名为

Flex的技术。我运行了一些演示应用程序并且完全被吹走了!它们具有非常现代的外观,并且与桌面应用程序一样响应。有没有人

从WinForms过渡到Flex?优缺点都有什么?我得到了这样的印象:Flex用户界面是使用一种名为ActionScript的语言创建的。\\ b
。您对这种语言有何看法?


回想一下,我所有的服务器端逻辑都是基于C#(.NET)的,可以通过HTTP远程访问来获取
Flex

应用程序用什么机制从服务器检索信息?


在C#/ WinForms世界中,我可以购买组件像网格,图表和来自第三方组件供应商的花哨导航工具。在Flex世界中,同样的事情是真的吗?


感谢任何信息。


谢谢,


Jules Winfield

Guys,

I''ve been designing applications for the financial services industry using
MSFT technologies for many years (Win32 API, MFC, and now .NET WinForms).
All applications are Internet-based, with a "thick client" which makes calls
to my grid of servers via a socket or remoting connection.

Customers are pleased with my work but it seems that over the past twelve
months or so, those same customers have expressed a strong demand to access
my application via a browser. They don''t like having to install the .NET
runtime and they don''t like having to install my MSI file. Banks and large
brokerage firms in particular are wary about installing MSI files [for
obvious and legitimate reasons]. They want browser-based access. I can rely
upon Windows as the customers'' OS, but not necessarily an Internet Explorer
browser. Firefox use is common.

I''ve never been a huge fan a developing browser-based applications,
primarily due to my hatred of JScript. I don''t mind using JScript in small
doses to connect major elements on a web page but the idea of using it as my
main client-side programming language is not appealing at all.
Unfortunately, given that AJAX seems to be at the forefront of web
development technology these days, and given that the ''J'' in ''AJAX'' stands
for JScript, I feel as though I''m running out of options.

....but after doing some research, I ran across a technology by Adobe called
Flex. I ran some of the demo apps and was completely blown away! They have a
very modern look and they are as responsive as desktop apps. Have any of you
made the transition from WinForms to Flex? What are the pros and cons? I get
the impression that the Flex user interfaces are created using a language
called ActionScript. What are your thoughts on this language?

Recall that all of my server side logic is C# (.NET) based and can be
accessed via HTTP remoting, sockets, etc. What mechanism does a Flex
application use to retrieve information from the server?

In the C#/WinForms world, I can purchase components like grids, charts, and
fancy navigational tools from third party component vendors. Is the same
thing true in the Flex world?

Any information is appreciated.

Thanks,

Jules Winfield

推荐答案

我不太了解.netWinForms但我觉得开发一个基于Web的<使用Flex的
应用程序是现在可用的最佳选项之一。 Flex

有自己专业的缺点。让我把我的想法放在你的

注释之下..... Flex是基于一种名为MXML的xml类型语言而且

也使用ActionScript作为重新

6月13日上午1:48,朱尔斯温菲尔德 < ghe ... @ englewood.comwrote:
I am not much aware of .netWinForms but I feel developing a web based
application using Flex is one of the best options available now. Flex
has its own pro''s n cons. let me put my thoughts below your
comments.....Flex is based on a xml type language called MXML and it
also uses ActionScript as and when re
On Jun 13, 1:48 am, "Jules Winfield" <ghe...@englewood.comwrote:

伙计们,


我一直在设计应用程序金融服务行业使用多年的
MSFT技术(Win32 API,MFC和现在的.NET WinForms)。

所有应用程序都是基于Internet的,具有厚客户机QUOT;通过套接字或远程连接向我的服务器网格调用


Guys,

I''ve been designing applications for the financial services industry using
MSFT technologies for many years (Win32 API, MFC, and now .NET WinForms).
All applications are Internet-based, with a "thick client" which makes calls
to my grid of servers via a socket or remoting connection.



Flex可以使用HTTPService与远程服务器通信,而且它很容易做到这一点。

Flex can communicate with remote servers using HTTPService and its
pretty easy to do that.


>

客户对我的工作感到满意,但似乎在过去十二个月左右,这些客户表达了强烈的需求通过浏览器访问我的应用程序
。他们不喜欢安装.NET

运行时,他们不想安装我的MSI文件。特别是银行和大型的b $ b经纪公司对安装MSI文件持谨慎态度[明显和合理的原因]。他们想要基于浏览器的访问。我可以在Windows上作为客户的操作系统使用

,但不一定是Internet Explorer

浏览器。 Firefox的使用很常见。
>
Customers are pleased with my work but it seems that over the past twelve
months or so, those same customers have expressed a strong demand to access
my application via a browser. They don''t like having to install the .NET
runtime and they don''t like having to install my MSI file. Banks and large
brokerage firms in particular are wary about installing MSI files [for
obvious and legitimate reasons]. They want browser-based access. I can rely
upon Windows as the customers'' OS, but not necessarily an Internet Explorer
browser. Firefox use is common.



Flex应用程序需要在

客户端计算机上安装Flash Player 9及更高版本才能运行。如果安装了Flash Player 9,它可以在任何支持Flash Player的操作系统上的任何浏览器中无缝运行
9。通常支持的操作系统和浏览器是: - Windows,Mac OS X,Linux。

然后IE,Firefox,Opera,Safari等...

Flex applicatiosn need Flash Player 9 and above to be installed on the
client machines for it to run. If Flash Player 9 is installed, it can
seemlessly run in any browsers on any OS that supports Flash Player
9 .Commonly supported OS and browsers are:- Windows, Mac OS X, Linux.
Then IE, Firefox, Opera, Safari etc...


>

我从未成为开发基于浏览器的应用程序的忠实粉丝,主要是因为我对JScript的仇恨。我不介意以小的

剂量使用JScript来连接网页上的主要元素,但是使用它作为我的主要客户端编程语言的想法是根本没有吸引力。

不幸的是,鉴于AJAX似乎是最近处于web

开发技术的最前沿,并且鉴于''J''在'' 'AJAX'代表JScript的
,我觉得好像我的选项已经用完了。
>
I''ve never been a huge fan a developing browser-based applications,
primarily due to my hatred of JScript. I don''t mind using JScript in small
doses to connect major elements on a web page but the idea of using it as my
main client-side programming language is not appealing at all.
Unfortunately, given that AJAX seems to be at the forefront of web
development technology these days, and given that the ''J'' in ''AJAX'' stands
for JScript, I feel as though I''m running out of options.



您可能不会遇到JScirpt,但您必须使用MXML和

ActionScript来完成大部分工作。您还可以使用CSS来

美化您的应用。 MXML是一种基于XML的语言。

You may not encounter JScirpt but you will have to use MXML and
ActionScript to get most of your job done. You can also use CSS to
glorify your app. MXML is kind of XML based language.


>

...但经过一些研究后,我遇到了Adobe的一项技术叫做

Flex。我运行了一些演示应用程序并且完全被吹走了!它们具有非常现代的外观,并且与桌面应用程序一样响应。有没有人

从WinForms过渡到Flex?优缺点都有什么?我得到了这样的印象:Flex用户界面是使用一种名为ActionScript的语言创建的。\\ b
。你对这种语言有什么看法?
>
...but after doing some research, I ran across a technology by Adobe called
Flex. I ran some of the demo apps and was completely blown away! They have a
very modern look and they are as responsive as desktop apps. Have any of you
made the transition from WinForms to Flex? What are the pros and cons? I get
the impression that the Flex user interfaces are created using a language
called ActionScript. What are your thoughts on this language?



查看Flex演示可以让任何人对Flex感到疯狂。我建议您通过一些很酷的灵活演示来实现
http://www.quietlyscheming.com/blog/

Viewing Flex demo can make any one go crazy about Flex. I recommend
you to go thru some of cool n awesome demo of flex at
http://www.quietlyscheming.com/blog/


>

回想一下,我所有的服务器端逻辑都是基于C#(.NET)的,可以通过HTTP远程处理,套接字等访问
.Flex的机制是什么?
应用程序用于从服务器检索信息?
>
Recall that all of my server side logic is C# (.NET) based and can be
accessed via HTTP remoting, sockets, etc. What mechanism does a Flex
application use to retrieve information from the server?



您可以保留服务器端逻辑。您可以请求HTTPService

来访问您的服务器端逻辑。这里不用担心。

You can retain your server-side logic. You can request an HTTPService
to access your server-side logics. no worries here.


>

在C#/ WinForms世界中,我可以购买网格,图表和
$ b $等组件b来自第三方组件供应商的精美导航工具。在Flex世界中,同样的事情是真的吗?
>
In the C#/WinForms world, I can purchase components like grids, charts, and
fancy navigational tools from third party component vendors. Is the same
thing true in the Flex world?



您可能需要为flex开发购买的东西是

1. Adob​​e Flex Builder - 用于开发flex的默认IDE />
应用程序。

2. Flex Charting SDK - 一个SDK包,它将使创建花哨的n b / b
有趣的图表变得更加容易。 (查看图表演示
http://www.quietlyscheming.com/blog/

3.许多自定义组件都是免费提供的,以及

一些钱。大多数常用组件都免费提供Flex

SDK。

如果您是专家编码器,您可以跳过Flex Builder IDE和代码

即使在你的记事本中,也可以使用免费提供的Flex

SDK进行编译。


Flex的一个优点是你可以转换你的Flex web

应用程序到Apollo(现在的Adobe AIR)基于桌面的应用程序,带有

最小的更改。 (哦,是的,你需要在客户端机器上安装Adobe Apollo运行时

。)


最后欢迎来到FLEX的奇妙世界。 br />

问候,

-Anish

Things that you may need to purchase for flex development is
1. Adobe Flex Builder - the default IDE used to develop flex
applications.
2. Flex Charting SDK - An SDK package that will make creating fancy n
interesting charts quite easier. (check charting demos at
http://www.quietlyscheming.com/blog/)
3. Lots of custom components are available for free as well as for
some money. Most of the commonly used components comes free with Flex
SDK.
If you are an expert coder, you can skip Flex Builder IDE and code
even in your notepad and compile it using the freely available Flex
SDK.

One of the advantages of Flex is you can convert your Flex web based
applications to Apollo (now Adobe AIR) desktop based application with
minimal changes. ( Oh yeah you need Adobe Apollo runtime to be
installed on the client machine for this.)

And Finally WELCOME TO THE WONDERFUL WORLD OF FLEX.

regards,
-Anish


>

Any感谢信息。


谢谢,


Jules Winfield
>
Any information is appreciated.

Thanks,

Jules Winfield



谢谢,Anish,给予深思熟虑的答复。我会调查你提到的网站

。我想问一个关于其中一个点的后续问题

你曾经说过:
Thanks, Anish, for the thoughtful reply. I''ll investigate the web site to
which you referred. I''d like to ask a followup question to one of the points
you rasied:

你可能不会遇到JScirpt但你会必须使用MXML和

ActionScript来完成大部分工作。您还可以使用CSS来

美化您的应用。 MXML是一种基于XML的语言。
You may not encounter JScirpt but you will have to use MXML and
ActionScript to get most of your job done. You can also use CSS to
glorify your app. MXML is kind of XML based language.



你提到过CSS。所以听起来像FlexBuilder不仅允许你构建内置于网页中的动态应用程序,而且还可以使用
来构建网页页面本身。那么我会使用DreamWeaver来构建网站和FlexBuilder来构建嵌入式应用程序,还是使用

FlexBuilder来构建网站(HTML和CSS)和嵌入式应用程序应用程序?


谢谢,


Jules

You mentioned CSS. So it sounds like FlexBuilder not only allows you to
build the dynamic application(s) that are built into a web page, but it also
allows you to build the web page itself. So would I use DreamWeaver to build
the site and FlexBuilder to build the embedded applications, or would I use
FlexBuilder for both the site (HTML and CSS) and the embedded applications?

Thanks,

Jules


On Tue ,2007年6月12日15:48:12 -0500,Jules Winfield写道:
On Tue, 12 Jun 2007 15:48:12 -0500, Jules Winfield wrote:

...但经过一些研究后,我遇到了Adobe的一项技术,叫做

Flex。我运行了一些演示应用程序并且完全被吹走了!它们具有非常现代的外观,并且与桌面应用程序一样响应。有没有人

从WinForms过渡到Flex?优缺点都有什么?我得到了这样的印象:Flex用户界面是使用一种名为ActionScript的语言创建的。\\ b
。你对这种语言有什么看法?
...but after doing some research, I ran across a technology by Adobe called
Flex. I ran some of the demo apps and was completely blown away! They have a
very modern look and they are as responsive as desktop apps. Have any of you
made the transition from WinForms to Flex? What are the pros and cons? I get
the impression that the Flex user interfaces are created using a language
called ActionScript. What are your thoughts on this language?



我没有任何AJAX或Flex应用程序的经验所以我不会

能给你明确的建议在其中任何一个,但我有一些一般的

的想法。就像你一样,我不喜欢基于Web浏览器的应用程序

作为最终用户和开发人员的观点。我已经不幸地不得不用一个简单的Flash开发来完成一些简单的Flash开发,并将它集成到.NET应用程序中,男孩,那就是

痛苦......但我确定Flex专门针对开发

应用程序(因为选择了Flash动画),它完全可用于

"传统"没有太多痛苦的软件开发人员。


如果我不得不从传统的桌面应用程序开发切换到使用AJAX或Flex进行基于浏览器的应用程序开发,我会是非常小心的,然后选择Flex支持

AJAX,原因如下:


- Flex应用程序只不过是Flash文件。这意味着通过选择Flex的

,您将自己与专有格式,运行时和

环境联系起来。当然,像Adobe这样的公司不太可能在不久的将来崩溃,或者他们会拔掉Flash的插件。 AJAX on

另一方基于(现在)标准,并得到业内主要参与者的广泛支持。


- Flex要求在客户端计算机上安装Flash 9,而AJAX
应用程序只需要一个合理的最新Web浏览器。这可能是
或可能不是问题。另一方面,AJAX可能需要更多的测试和调整才能确保应用程序在大多数浏览器中运行良好,而Flex应用程序应该在每个浏览器中都能正常运行浏览器

因为它们运行在Flash运行时之上。


- 支持:随着AJAX嗡嗡声的爆炸和基于AJAX的数量

应用程序,专用于AJAX开发的可用书籍和在线资源(网站,

怎么样Flex?


- 开发工具:随着AJAX成为继Windows之后的下一个主要开发平台,有很多工具和

由许多不同公司开发的环境使开发更容易。这可能只是一个开始。使用Flex,你可能会总是被困在Adobe提供的东西上。


- 每当你需要雇用开发人员或者在你的

申请表上工作的顾问,找到合适的候选人有多容易?使用ASP .NET

和AJAX,现在和未来应该相当容易找到具有所有必需专业知识和经验的优秀开发人员。我在Flex方面有我的

怀疑。最重要的是,我想一些Flex

开发人员都是前Flash设计师,他们非常擅长设计看起来很棒的UI,但几乎没有经验和背景知识

开发强大而安全的业务应用程序。此外,如果您选择

Flex并且需要找到能够在系统的前端和后端工作的人,那么您需要找到一个具有Flex和.NET
专业知识的人。我想这些人在

的基础上相当薄弱。


- 当然,考虑到你正在开发的应用程序类型,我想

安全性在工作的各个方面都是至关重要的。我不能评论

,但很明显每个框架在安全性方面提供的功能

功能将是一个重要的参数。


这些只是一些随意的想法,我可能忘记了最重要的一些,但可以肯定的是外观&感觉或Flex或AJAX

应用程序肯定不是这里考虑的唯一或者最重要的一点。

I haven''t any experience in either AJAX or Flex application so I won''t be
able to give you definitive advices on either but I''ve got a few general
thoughts about that. Just like you, I dislike web browser based application
both as an end-user and as a developer point of view. I have been
unfortunate enough to have to do some simple Flash developement with
ActionScript and integrate that into a .NET application and, boy, that was
painful... But I''m sure that Flex being specifically targeted as developing
application (as oposed to Flash animations), it is perfectly usable by
"traditional" software developers without too much pain.

If I had to switch from tradtional desktop application development to
browser based application development using either AJAX or Flex, I would be
extremely careful before taking the plunge and choosing Flex in favor of
AJAX for a number of reasons:

- Flex applications are nothing else than Flash files. This means that by
choosing Flex, you are tying yourself to a proprietary format, runtime and
environment. Of course, it is unlikely that a company like Adobe will
collapse in the near future or that they''ll pull the plug on Flash. AJAX on
the other side is based on (now) standards and is widely supported by all
the major players in the industry.

- Flex requires Flash 9 to be installed on the client machine while AJAX
applications require nothing but a resonably recent web browser. This might
or might not be an issue. On the other side, AJAX probably requires a lot
more testing and tweaking to make sure that the application works fine in
most browser while Flex applications should work the same in every browser
as they run on top of the Flash runtime.

- Support: with the explosion of the AJAX buzz and number of AJAX based
application, the amount of available books and online resources (web sites,
discussion forums...) dedicated to AJAX development is almost limitless.
What about Flex?

- Development tools: with AJAX being well on its way of becoming the next
main development platform after Windows, there are loads of tools and
environment developed by many different companies to make development
easier. And this is probably just the beginning. With Flex, you''ll probably
always be stuck with what Adobe has to offer.

- Whenever you''ll need to hire a developer or a consultant to work on your
applications, how easy will it be find a suitable candidate? With ASP .NET
and AJAX it should be reasonably easy these days and in the future to find
good developers with all the required expertise and experience. I have my
doubts on the Flex side. On top of that, I guess that a number of Flex
developers are former Flash designers who are great at designing
fancy-looking UIs but have little to no experience and background knowledge
in developing robust and secure business applications. Also, if you choose
Flex and need to find somebody able to work on both the front-end and
back-end of your system, you''ll need to find somebody with expertise in
both Flex and .NET. I suppose these kind of people are quite thin on the
ground.

- Of course, given the type of applications you''re developing, I suppose
that security is a paramount in every aspect of your work. I can''t comment
on this but obviously what each framework offers in terms of security
features would be an important parameter.

These are just some random thought, I probably forgot the most important
ones but what''s for sure is that the look & feel or either Flex or AJAX
applications is definitely not the only or even the most important point to
take into account here.


这篇关于Adobe Flex与.NET WinForms的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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