即使 jQuery 模板尚未正式发布,我是否应该使用它们?
我最近一直在寻找 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
有更新。
检查 http://api.jquery.com/category/plugins/templates/
而且似乎还有另一个项目可以替代。
there is an update.
Check http://api.jquery.com/category/plugins/templates/
And it seems to have another project as replacement.
我已经在几个大型网络应用程序中广泛使用它,并且我喜欢它。绝对推荐它。
I've been using it pretty extensively for a couple large web apps and I love it. Definitely recommend it.
当涉及到这些类型的问题时,我有一个非常简单的哲学。
我通常会避开生产系统的任何测试版。然而,话虽如此,如果 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.
我已经使用了很多次并且没有遇到任何问题。 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.