即使 jQuery 模板尚未正式发布,我是否应该使用它们?

发布于 2024-11-06 12:03:16 字数 117 浏览 0 评论 0原文

我最近一直在寻找 Javascript 模板解决方案。我想使用官方的 jQuery 模板插件,但它似乎仍处于测试或预发布阶段。尽管如此,开始使用它是否安全,还是我最好等待官方版本 1.0 以避免可能破坏我同时所做的工作?

I've recently been looking around for Javascript templating solutions. I'd like to use the official jQuery templates plugin, but it seems it's still in its beta or pre-release phase. Is it safe to start using it in spite of this or am I better off waiting for the official version 1.0 to avoid possibly breaking work I do in the mean time?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

还给你自由 2024-11-13 12:03:16

有更新。

检查 http://api.jquery.com/category/plugins/templates/

注意:jQuery 团队决定不再使用该插件的测试版。它不再被积极开发或维护。这些文档暂时保留在这里(以供参考),直到合适的替换模板插件准备就绪。

有关此更改历史记录的更多信息,请参阅 官方插件:路线图的变化jQuery 模板和 JsViews:路线图

而且似乎还有另一个项目可以替代。

注意:jQuery 团队完全支持的新模板插件现在正在开发中,作为 jQuery UI 的一部分。有关历史的更多详细信息,请访问 http://blog.jquery.com/2011/04/16/official-plugins-a-change-in-the-roadmap/http://www.borismoore.com/2011/10/ jquery-templates-and-jsviews-roadmap.html 。跟踪进度并参与设计 http://wiki.jqueryui.com/Template

there is an update.

Check http://api.jquery.com/category/plugins/templates/

Note: The jQuery team has decided not to take this plugin past beta. It is no longer being actively developed or maintained. The docs remain here for the time being (for reference) until a suitable replacement template plugin is ready.

For more on the history of this change, see Official Plugins: A Change in the Roadmap and jQuery Templates and JsViews: The Roadmap.

And it seems to have another project as replacement.

Note: A new template plugin fully supported by the jQuery Team is now being developed as part of jQuery UI. More details on the history of this can be found at http://blog.jquery.com/2011/04/16/official-plugins-a-change-in-the-roadmap/ and http://www.borismoore.com/2011/10/jquery-templates-and-jsviews-roadmap.html . Track progress and participate in the design at http://wiki.jqueryui.com/Template

简美 2024-11-13 12:03:16

我已经在几个大型网络应用程序中广泛使用它,并且我喜欢它。绝对推荐它。

I've been using it pretty extensively for a couple large web apps and I love it. Definitely recommend it.

妥活 2024-11-13 12:03:16

当涉及到这些类型的问题时,我有一个非常简单的哲学。

我通常会避开生产系统的任何测试版。然而,话虽如此,如果 V1.0 的发布时间比我的软件发布时间早几周,那么我倾向于权衡可能性。

如果 Beta 软件对我的应用程序有显着的好处,或者让生活变得更轻松,那么我就会选择它。但 Beta 软件必须处于可接受的稳定状态。就像我说的,它必须在我的应用程序发布之前就发货。

I have a very simple philosophy when it comes to these types of questions.

I generally steer clear of anything beta for production systems. However, having said that, if the V1.0 is due to release a few weeks before my software is due for release then I tend to weigh the odds.

If the Beta software has significant benefits to my application, or makes life easier then I go for it. But the Beta software has to be in an acceptably stable state. And like I said, it has to ship well before my application is due for release.

深居我梦 2024-11-13 12:03:16

我已经使用了很多次并且没有遇到任何问题。 Steve Sanderson 也广泛使用它们作为 Knockout 的组成部分。

如果您仍然担心,我建议您在项目的较小部分上尝试一下,看看效果如何。

I've used it quite a bit and haven't had any problems. Steve Sanderson uses them extensively as an integral part of Knockout as well.

If you're still concerned though, I would recommend trying it out on smaller pieces of your project to see how it works out.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文