性能最高的 ASP.NET Web 控件套件
就我个人而言,我多年来一直在使用 Telerik 的 RadControls 和 DevExpress ASP.NET 控件。恕我直言,它们都会在客户端产生相当令人印象深刻的 HTML 开销,因此我对它们一直不太满意。
当然我也了解Infragistics、ComponentOne、ComponentArt等。 我认为它们与我提到的没有太大不同。
哪个(商业)控件套件在客户端生成最紧凑的 HTML?
我倾向于认为不存在“性能最佳的控制套件”,而是一种组合 服务器控件和基于 Javascript 的控件(例如 jQuery UI)。你同意吗?
您通过哪些组合实现了最佳/性能最佳的用户体验?
Personally I've been working for years with Telerik's RadControls and DevExpress
ASP.NET controls. IMHO they both produce quite an impressive HTML overhead on the client side thus for that I've never been highly pleased with them.
Of course I also know about Infragistics, ComponentOne, ComponentArt, etc.
I'd assume they are not much different than those I mentioned.
Which (commercial) controls suite generates the most compact HTML on the client side?
I'm inclined to think there is no "most performant controls suite" rather a combination
of server controls and Javascript based controls (eg. jQuery UI). Would you agree with that?
What combinations did you achieve the best/most performant user experience with?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
2012 年 1 月 27 日更新
自从我最初回答以来,我花了很多时间使用 MVC。正如我下面所说,您可以完全控制生成的标记,这很棒。我还花了一些时间使用 Telerik MVC (http://demos.telerik .com/aspnet-mvc) 控件,我必须说,他们在保持工具功能方面做得很好,同时最大限度地减少了标记和脚本大小。他们引入了一个脚本注册器,允许您注册要包含在页面上的脚本。 这还允许您注册自己的自定义脚本,这些脚本可以组合成单个资源并进行压缩以实现低延迟和带宽。
原始接受的帖子:
您是正确的,商业控制套件往往会产生大量的标记和脚本开销。部分原因是他们传统上必须处理 ASP.NET 回发和视图状态页面工作流程,这会导致冗长的控件 ID 和许多小型 JavaScript 下载的激增(增加每个文件的延迟)。
此外,许多控件倾向于尝试添加过多的功能。他们试图做到这一切,但这使得用他们做任何简单的事情都变得相当麻烦,因为很多这样的套件都有一个陡峭的学习曲线,我相信你已经发现了。
如果您想改善页面上生成的下载大小和标记,我的建议是结合使用 ASP.NET MVC(对标记的良好控制,到处都没有 viewstate 或 _doPostBack 脚本)和 JQuery 插件,您在你的问题。
看一下 StacOverflow 的标记。它是用 MVC 编写的。不确定他们使用什么第三方控件。
高额加价最严重的罪犯往往是 Grids。看看 JQGrid http://trirand.com/blog/jqgrid/jqgrid.html< /a>
Update 27 Jan 2012
Since my original answer, I have spent a lot of time working with MVC. As I said below, you have full control over the markup generated, which is great. I have also spend some time using Telerik MVC (http://demos.telerik.com/aspnet-mvc) controls and I must say, they have done a great job of keeping the tools functional, while minimising the markup and script sizes. They have introduced a Script registrar which allows you to register which scripts to include on the page. This allows you to also register your own custom scripts, which can be combined into a single resource and compressed for low latency and bandwidth.
Original Accepted Post:
You are correct in that commercial control suites tend to generate heavy markup and script overhead. This is partly due to the fact that they have traditionally had to deal with the ASP.NET postback and viewstate page workflow, which results in long-winded control Ids and a proliferation of many small javascript downloads (adding latency for each file).
Also, many controls tend to try to add too much functionality. They try to do it all but this makes doing anything simple with them quite a chore as there is a steep learning curve for a lot of these suites, as I am sure you are finding.
If you want to improve the download size and markup generated on your page, my advice would be to use a combination of ASP.NET MVC (great control over markup, no viewstate or _doPostBack scripts everywhere) and JQuery plugins, whic you touched on in your question.
Take a look at the markup of StacOverflow. It is written in MVC. Not sure what 3rd partycontrols they use.
The worst offender for hevy markup is often Grids. Take a look at the JQGrid http://trirand.com/blog/jqgrid/jqgrid.html
尝试关于控制套装。它们非常有效,能够以极低的管理费用提高生产力。
http://www.obout.com/
Try Obout control suit. They are very effective and bring productivity with much low overheads.
http://www.obout.com/
在这里,我们与 ComponentArt 合作,我们对此感到非常兴奋。它确实很容易实现,看起来很棒并且有很多功能。性能也非常好。我们还使用 Componentone 控件,但我认为它们不太适合 Web 应用程序。
我肯定建议使用 ComponentArt
Here we work with ComponentArt and we are really excited about it. It's really easy to implement, looks great and has a lot of functionality in it. Performance is also very good. We also use componentone controls but they aren't very good for web apps I think.
I would definately suggest to use ComponentArt
AlbumOnNet WebControl Suite
AlbumOnNet WebControl Suite 是一组 ASP.NET WebControl,使 Web 设计者或程序员能够使用 RAD 技术创建美观的基于图像的幻灯片、相册和基于图像的广告旋转器。
这些控件可用于产品图像演示、房地产照片、艺术画廊图片和屏幕截图。
这些控件经过编程,可在 Visual Studio 的设计界面(在表单设计器中)上发挥最佳作用。将控件(如幻灯片控件)拖放到页面上,设置一些属性并尝试使用样式属性来匹配您的页面设计。
包含 WebControls
专辑 WebControl
幻灯片 Web 控件
幻灯片信息查看器(EXIF 代码)
幻灯片信息标签
导航按钮
导航工具栏
数字链接导航
AlbumOnNet WebControl Suite
AlbumOnNet WebControl Suite is a set of ASP.NET WebControls enabling a Web designer or programmer to use RAD techniques to create great looking Image based Slide shows, Photo Albums, and Image based Ad Rotators.
The controls can be used for product image presentations, real estate photos, art gallery pictures and screenshots.
The controls are programmed to work at its best on the design surface (in the Form Designer) in Visual Studio. Drag and drop a control, like the SlideShow control, on the page, set a few properties and experiment with the Style attributes to match your page design.
WebControls included
Album WebControl
SlideShow WebControl
SlideShow InfoViewer (EXIF codes)
Slide Info Labels
Navigation Buttons
Navigation ToolBars
Numeric link navigation