Sys.require,ASP.NET AJAX加载器脚本的未来是什么?

时间:2022-10-13 13:38:04

Does anyone know if this script will continue to have a future or is it DOA and being replaced by another component? I use its functionality a lot and would like to know if there is a better alternative or what the future holds for it...

有谁知道这个脚本是否会继续有未来,还是DOA并被其他组件取代?我经常使用它的功能,并想知道是否有更好的替代方案或未来的优势......

To clarify, I'm talking about the async loader features in start.js.

为了澄清,我在谈论start.js中的异步加载器功能。

4 个解决方案

#1


5  

None of the ASP.NET Ajax Library (not to be confused with ASP.NET AJAX) was officially released and development on it ceased before it was complete. You shouldn't use it. I've wrote an article on the subject.

没有任何ASP.NET Ajax库(不要与ASP.NET AJAX混淆)正式发布,并且它的开发在它完成之前就停止了。你不应该使用它。我写了一篇关于这个主题的文章。

The same team at Microsoft has produced a new script loader, DeferJS, which is the next logical evolution of Sys.require. You can find the latest version of it here: https://github.com/BorisMoore/JsDefer

微软的同一个团队已经制作了一个新的脚本加载器DeferJS,这是Sys.require的下一个逻辑演变。你可以在这里找到它的最新版本:https://github.com/BorisMoore/JsDefer

#2


0  

There's not going to be any further development on sys.require, but the existing scripts and services will not disappear. Microsoft has taken considerable measures to maintain backwards compatibility with its older technologies, so there's no reason to think that what you have working now will suddenly stop working at some point in the near future.

sys.require上不会有任何进一步的开发,但现有的脚本和服务不会消失。微软采取了相当大的措施来保持与旧技术的向后兼容性,因此没有理由认为你现在工作的东西会在不久的将来突然停止工作。

Microsoft seems to be going in the direction of integrating with the open source jQuery library. Here's a blog post about it: http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx. jQuery is very powerful and flexible, and has both built in support as well as a plethora of plugins for AJAX.

微软似乎正朝着与开源jQuery库集成的方向发展。这是一篇关于它的博客文章:http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx。 jQuery非常强大和灵活,既有内置的支持,也有大量的AJAX插件。

#3


0  

There's also RequireJS (http://requirejs.org/), which is quite mature, and somewhat easier to use. It's not from Mircosoft, but it may be worth a look.

还有RequireJS(http://requirejs.org/),它非常成熟,而且更容易使用。它不是来自Mircosoft,但它可能值得一看。

#4


0  

May be you can try this

也许你可以试试这个

it is an extensible resource loader, and it does dependencies tracking.

它是一个可扩展的资源加载器,它执行依赖关系跟踪。

#1


5  

None of the ASP.NET Ajax Library (not to be confused with ASP.NET AJAX) was officially released and development on it ceased before it was complete. You shouldn't use it. I've wrote an article on the subject.

没有任何ASP.NET Ajax库(不要与ASP.NET AJAX混淆)正式发布,并且它的开发在它完成之前就停止了。你不应该使用它。我写了一篇关于这个主题的文章。

The same team at Microsoft has produced a new script loader, DeferJS, which is the next logical evolution of Sys.require. You can find the latest version of it here: https://github.com/BorisMoore/JsDefer

微软的同一个团队已经制作了一个新的脚本加载器DeferJS,这是Sys.require的下一个逻辑演变。你可以在这里找到它的最新版本:https://github.com/BorisMoore/JsDefer

#2


0  

There's not going to be any further development on sys.require, but the existing scripts and services will not disappear. Microsoft has taken considerable measures to maintain backwards compatibility with its older technologies, so there's no reason to think that what you have working now will suddenly stop working at some point in the near future.

sys.require上不会有任何进一步的开发,但现有的脚本和服务不会消失。微软采取了相当大的措施来保持与旧技术的向后兼容性,因此没有理由认为你现在工作的东西会在不久的将来突然停止工作。

Microsoft seems to be going in the direction of integrating with the open source jQuery library. Here's a blog post about it: http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx. jQuery is very powerful and flexible, and has both built in support as well as a plethora of plugins for AJAX.

微软似乎正朝着与开源jQuery库集成的方向发展。这是一篇关于它的博客文章:http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx。 jQuery非常强大和灵活,既有内置的支持,也有大量的AJAX插件。

#3


0  

There's also RequireJS (http://requirejs.org/), which is quite mature, and somewhat easier to use. It's not from Mircosoft, but it may be worth a look.

还有RequireJS(http://requirejs.org/),它非常成熟,而且更容易使用。它不是来自Mircosoft,但它可能值得一看。

#4


0  

May be you can try this

也许你可以试试这个

it is an extensible resource loader, and it does dependencies tracking.

它是一个可扩展的资源加载器,它执行依赖关系跟踪。