[英]Silverlight as Javascript replacement for complex Web UI in MVC project?
How practical would it be to use Silverlight inside of an MVC view to achieve a GUI that's rather complex with Javascript (and crippling to non-usable without Javascript)? 在MVC视图中使用Silverlight来实现使用JavaScript相当复杂的GUI(并且如果没有 Javascript则无法使用)会变得多么实用?
I know nothing about Silverlight so if this seems like a good idea, how difficult would it be to do so, or vice-versa? 我对Silverlight一无所知,所以如果这看起来是个好主意,那么这样做会有多困难,反之亦然? Would asking users to install a plugin outweigh the differences in browser rendering of Javascript heavy UIs? 会要求用户安装插件超过在Javascript重的用户界面的浏览器渲染的区别是什么?
Tid bit more info: Although some would question the complexity of this View since it is virtually undo-able without Javascript, it's not that it's a complex page. 提示更多信息:尽管由于没有 Javascript几乎无法撤消该视图的复杂性,但有些人会对此表示怀疑,但这并不是说它是一个复杂的页面。 It's a GUI that requires large selection lists and dynamic adding/removing. 这是一个需要大量选择列表和动态添加/删除的GUI。 For example, the main list a user could choose from could easily grow to a size of 1000+ - something that is almost impossible to navigate without a search/easily navigable option. 例如,用户可以从中选择的主列表可以轻松地增长到1000+的大小-如果没有搜索/易于导航的选项,几乎是不可能导航的。 This is also something that needs to be a quick performable process by the user. 这也是用户需要快速执行的过程。 For example, they select a variable number of items from a main list and then add a dynamic number of subitems to those items. 例如,他们从主列表中选择可变数量的项目,然后向这些项目添加动态数量的子项目。 Thus, spreading this out over multiple pages (for non javascript enabled users) would be extremely detrimental. 因此,在多页(对于非启用JavaScript的用户)散布了这一点,将是极其有害的。
In my opinion there is not a clear answer to this question. 我认为这个问题尚无明确答案。 It depends on many factors. 这取决于许多因素。
You may also consider the use of JS framework like YUI instead of creating the UI from scratch. 您也可以考虑使用像YUI这样的JS框架,而不是从头开始创建UI。 YUI is very powerful, but there are several other alternatives to it. YUI非常强大,但是还有其他几种选择。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.