简体   繁体   English

客户端在流星或德比中的表现如何

[英]How the client side looks like in meteor or derby

I have been looking around at those cool new node.js frameworks (mostly derby). 我一直在寻找那些很酷的新node.js框架(主要是德比)。 They both seem to be isomorphic frameworks... Which if I understand correctly means you 'can use the same code for server and client'. 它们似乎都是同构框架......如果我理解正确意味着你'可以为服务器和客户端使用相同的代码'。

So how does it affects the technologies you use on the client side? 那么它如何影响您在客户端使用的技术?

For example, I guess backbone is unnecessary with those frameworks... Right? 例如,我猜这些框架不需要骨干......对吗? On the other hand you can still benifit from stuff like jquery ui, or bootstrap maybe?? 另一方面,你仍然可以从像jquery ui或bootstrap这样的东西中受益?

What do you think? 你怎么看?

I have made some work with Meteor, and I can tell you that the libraries like jquery and Backbone are still very useful (almost essential). 我已经与Meteor合作了,我可以告诉你,像jquery和Backbone这样的库仍然非常有用(几乎是必不可少的)。 As the docs says: "Embrace the Ecosystem. Meteor is open source and integrates, rather than replaces, existing open source tools and frameworks.". 正如文档所说:“拥抱生态系统。流星是开源的,集成而不是取代现有的开源工具和框架。” That is really true, you only need to adjust your code to fit the Meteor reactive programming style. 这是真的,您只需要调整代码以适应Meteor反应式编程风格。 I really recommend you Meteor over Derby. 我真的推荐你Meteor over Derby。

There is no need to use Backbone because both of these frameworks have routers and templates. 不需要使用Backbone,因为这两个框架都有路由器和模板。 You can use jQuery UI, Backbone and any other client-side libraries with these frameworks. 您可以将jQuery UI,Backbone和任何其他客户端库与这些框架一起使用。

Ps: I got experience with Meteor and Derby and I would recommend you Derby over Meteor. Ps:我有Meteor和Derby的经验,我会建议你使用Derby而不是Meteor。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM