对于新手 Web 开发人员来说,最简单的 Javascript 框架是什么?
让您的脚踩在 Web 开发新手的专家开发人员的靴子上。 当然,他必须处理 JavaScript,并且在选择框架来完成其工作时可能会遇到一些困难。
对于一般用途:如果简单易用是首要要求,您建议使用哪一个?
Put your foot inside the boots of an expert developer that is new to web development.
Certainly he will must deal with JavaScript and probably he will encounter a bit of difficulties with choosing a framework for its job.
For general purpose: which one do you suggest if the an easy usage is the first requirements?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
我使用过 jQuery、script.aculo.us 和 mootools,我强烈推荐 jQuery,它似乎在易用性方面胜过许多其他框架。
对于熟悉 HTML 和 CSS 的人来说,jQuery 非常适合该范式,并且使向 Javascript 的转换非常简单。
例如,对于这样的 html:
您可能拥有如下所示的 CSS 选择器:
在 jQuery 中,您可以使用相同的选择器操作这些元素:
jQuery 还拥有优秀的文档,可以真正帮助初学者直接入门。
I've worked with jQuery, script.aculo.us, and mootools, and I would highly recommend jQuery, which seems to trump a lot of the other frameworks in its ease of use.
For someone who is familiar with HTML and CSS, jQuery fits the paradigm really well, and makes the transition into Javascript very simple.
For example, with html such as this:
You might have CSS selectors that looked like this:
In jQuery, you can manipulate those elements using the same selectors:
jQuery also has excellent documentation that can really help a beginner jump right in.
我也会投票给 jQuery。我发现它使用简单、易于学习、功能强大、文档齐全、功能丰富、可扩展,并得到了强大的插件开发人员社区的支持。
I would also put a vote in for jQuery. I have found it to be simple to use, easy to learn, powerful, well documented, feature rich, extensible and backed by a great community of plugin developers.
请参阅此处按功能进行比较。
在过去的三年里,我使用过 Prototype/script.aculo.us 和 jQuery。从这两者中,我更喜欢 jQuery。
See here for a comparison by feature.
In the past three years, I've used Prototype/script.aculo.us and jQuery. From the two, I prefer jQuery.
一般来说,现在每个人都使用 jQuery。我非常喜欢它。
您还可以查看 MooTools。根据您过去的经验,您可能会发现它更适合您的风格。
Generally, everyone uses jQuery these days. I like it pretty well.
You might also check out MooTools. Depending on your past experience, you may find it fits your style better.
我个人也倾向于使用 jQuery。这就是我最近需要这类东西时使用的东西。
文档齐全,并且已有大量插件可用。
I'd personally go with jQuery too. That's what I use these days when I need that sort of thing.
Well documented and a plethora of plugins already available.
来自新手:我一直在使用 jQuery,只需一点点技巧就可以创造出巨大的成果。您使用 jQuery 掌握的技能越多,事情就会变得越酷、越容易。
jQuery 支持很多选择器,可以轻松地向任何 HTML 元素添加/删除属性,使 ajax 和 json 易于使用,并且拥有一个非常有用的社区。
From a newbie: I have been using jQuery and it creates big results with only a little skill. The more skill you build with jQuery, the cooler and easier things get.
jQuery supports a lot of selectors, It’s easy to add/remove attributes to any HTML element, makes ajax and json easy to use and has a big helpful community.