有没有PrimeFaces为ASP.NET等值的东西? [英] Is there something equivalent to PrimeFaces for ASP.NET?

查看:207
本文介绍了有没有PrimeFaces为ASP.NET等值的东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是在多年的ASP.NET开发,但最近我开始与JSF 2.0的一些PrimeFaces解决方案工作。我没有什么可抱怨的了。

I'm being a ASP.NET developer over years but recently I started to work with some PrimeFaces solutions with JSF 2.0. I haven't nothing to complain about it.

这是值得的强调的是,我做了几点喜欢PrimeFaces 的:许多组件,易于使用,完全基于jQuery和jQuery UI(这是对我很重要),非常专注于Web标准(更重要的是我)。

It is worth emphasizing a few points that did ​​me likes the PrimeFaces: many components, easy to use, fully based on jQuery and jQuery UI (which are very important to me) and very focused on web standards (even more important to me).

但也有一些情况下,我真的希望我的服务器端使用ASP.NET 的。我不想在这里开始对JSP和ASP.NET的优点的讨论,双方有很多的动机被使用。

But there are some cases that I would really want my server-side with ASP.NET. I don't want to start a discussion here about advantages between JSP and ASP.NET, both has many motives to be used.

好了,标准的ASP.NET组件不基于jQuery的,不与jQuery UI的主题化的主题,并没有完全基于Web标准(一个大问题)和多变性是更简单的(有AREN ŧ旋转木马,手风琴,验证码,滑块,微调,等,等,等)。

Well, the standard ASP.NET components aren't jQuery based, aren't themable with jQuery UI Themes, aren't fully based on web standards (a big problem) and the variability is much more simple (there aren't Carousel, Accordion, Captcha, Slider, Spinner, etc, etc, etc).

修改

继续传奇,在@Raynos答案激发了我学习较轻的可能,如建议马诺斯。但我真的想的东西多一点自动化,至少在生成HTML的共同控制。有人称为工作CRUD样本支持这项任务马诺斯或额外的模块?

Continuing the saga, the @Raynos answers inspired me to study lighter possibilities, like the suggested manos. But I really would like something a little more automated, at least in the HTML generation for common controls. Someone known working CRUD samples for manos or additional modules supporting this task?

回顾的主要问题仍然是开放的呢?你知不知道基于PrimeFaces相同想法ASP.NET的UI框架,prefered开源喜欢它

Recalling that the main question is still open anyway: Do you know any UI Framework for ASP.NET based on the same ideas of PrimeFaces, prefered open-source like it is?

推荐答案

我想我们不能回答简单的东西你的问题。至于显示其他的答案,可惜的我们没有在任何ASP.NET UI框架完全基于Web的标准

I suppose we cannot answer your question with something simple. As showed by other answers, unfortunately we don't have in ASP.NET any UI framework fully web standards based.

您surelly有关于不使用ASP.NET,但其他基于.NET框架引擎的选择。我真的觉得 ASP.NET MVC 将是最接近JSF来PrimeFaces更加等等。但它没有一大套基于jQuery为你喜欢的PrimeFaces内置控件。另外,如果你只使用到现在香草ASP.NET,的MVC概念可以非常混乱通过专业工程启动

You surelly have that choice about not using ASP.NET but another .NET Framework based engine. I really think that ASP.NET MVC would be the more closest to JSF and so to PrimeFaces. But it haven't a large set of builtin controls based on jQuery as you liked on PrimeFaces. Also, if you only used up to now the vanilla ASP.NET, the MVC concept can be very confusing to start through a professional project.

有可能会更安全,继续你的技术知识,同时学习全新的东西。即便如此,我不标明的马诺斯以您的项目,虽然它显示是很轻,稳定。此外,有了它,你就需要重建轮的为ASP.NET知道的标准和范围内做好很多工作,例如

It may be safer to continue with your technology knowledge while learning something totally new. Even so I don't indicate manos to your project, although it shows to be very light and stable. Furthermore, with it you would need to "recreate the wheel" for many tasks that ASP.NET knows to do well within the standards and such.

,似乎在你的情况下,你(或你的团队)是如此的熟悉ASP.NET,你的当务之急是用好的工具来提高ASP.NET对HTML5的缺点,Web标准和主题。的然后你不需要改变你现在什么都知道,只是提高你已经知道的(当然,我们建议您考虑逐渐这些其他的方法)。

Based on these arguments, it seems that in your case you (or your team) is so familiar with ASP.NET that your immediate need is to use good tools to improve the shortcomings of ASP.NET on HTML5, web standards and themes. Then you don't need to change everything you knows right now, just improve what you already know (and of course we recommend that you consider these other approaches gradually).

因此​​,让一些有用的提示您:

So let a few helpful hints for you:


  • 首先阅读和下载的样本的一个好的架构使用HTML5,jQuery和jQuery用户界面。 <一href=\"http://stephenwalther.com/blog/archive/2011/01/11/building-an-html5-app-with-asp-net.aspx\">This帖子涵盖了所有这些技术,并有完整的源代码code下载。

  • 同样的已记住,你不需要从头启动项目。有伟大的 HTML5样板中附带了好几十pratices的(和一个不​​错的的Web.config 的有许多不错的创建创意)。重要的注意,它也是基于jQuery的,只要你想。

  • 也许你已经有PrimeFaces创造了一些令人难以置信的主题,你想在你的ASP.NET谟使用。然后记住:带你只需要使用名称和DOM层次结构中的jQuery UI的主题的优势。如果您PrimeFaces复杂的DataTable gerenates一个令人难以置信的HTML这是与你的CSS那么美丽,只是使用相同的HTML生成一个用户控件里面,所以你可以围绕你所有的网页重新使用它,而无需重新编写所有的HTML。

  • 还记得 PrimeFaces是开源的,并因为它,你总是可以打开源,读了jQuery codeS和重用你的真实想法是您的最佳选择。

  • First read about and download a sample of a good architecture using HTML5, jQuery and jQuery UI. This post covers all those technologies and have the full source code to download.
  • Also have in mind that you don't need start your project from scratch. There is the great HTML5 BoilerPlate which comes with dozens of good pratices (and a nice Web.config created with many nice ideas). Important note that it's also based on jQuery as you want.
  • Maybe you already have some incredible themes created for PrimeFaces and you would like to use on your ASP.NET projet. Then remember: to take advantage of the jQuery UI Themes you just needs using class names and DOM hierarchy. If your PrimeFaces Complex DataTable gerenates an incredible HTML which is so beautifull with your CSS, just use the same generated HTML inside a UserControl so you can reuse it around all yours pages without needing rewriting all the HTML.
  • Also remember that PrimeFaces is opensource and because of it you always can open the sources, read the jQuery codes and reuse what you really think are perfect for you.

然后,终于,有许多工具和方法来支持你喜欢你与PrimeFaces做了什么,也享受在ASP.NET现有知识。不幸的是我们没有做过这样的事情到ASP.NET,但也许你会做会这么好,你可以为大家发布开源?

Then, finally, there are many tools and approaches to support you enjoy what you've done with PrimeFaces and also enjoy your existing knowledge in ASP.NET. Unfortunately we don't have done something like this to ASP.NET, but maybe what you'll do will be so good that you can publish opensource for everyone?

这篇关于有没有PrimeFaces为ASP.NET等值的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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