JavaScript框架和CSS框架:JQuery,YUI,两者都不是? [英] JavaScript frameworks and CSS frameworks: JQuery, YUI, neither, or something else?

查看:119
本文介绍了JavaScript框架和CSS框架:JQuery,YUI,两者都不是?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我大约6年没有从事Web开发了.我正在尝试重新使用它,那里有很多新东西.我选择用Perl和Catalyst编写下一个项目.

I haven't done web development for about 6 years. I'm trying to get back into it and there is a lot of new stuff out there. I've chosen to write my next project with Perl and Catalyst.

我不断听到各种JavaScript和CSS框架的信息.我对这些框架知之甚少,所以也许这个问题过于广泛和开放.

I keep hearing about various JavaScript and CSS frameworks. I know very little about these frameworks so maybe this question is overly broad and open ended.

各种框架的优缺点是什么?我应该既不使用YUI,JQuery,又不使用其他东西吗?

What are the strengths, weaknesses, and popularity of the various frameworks? Should I be using YUI, JQuery, neither, or something else?

推荐答案

首先,可能值得仔细阅读

Firstly, it's probably worth perusing Which Javascript framework (jQuery vs Dojo vs … )?.

第二,JavaScript框架分为两大类:

Secondly, there are two broad categories of Javascript framework:

  1. Rich:用于创建所谓的Rich Intenet应用程序,它们通常旨在创建体验,就像具有复杂的窗口GUI的桌面应用程序一样.这包括但不限于YUI,Dojo,ExtJS和SmartClient;

  1. Rich: made for creating so-called Rich Intenet Applications, they are typically aimed at creating experiences much like a desktop applications with sophisticated windowing GUIs. This includes, but aren't limited to, YUI, Dojo, ExtJS and SmartClient;

互补:这些更着重于改善传统的网站体验,而不是完全取代传统的网站体验.这些包括jQuery,Prototype等.有人可能会指出jQuery具有jQuery UI,但这只是一个准系统小部件库,就开箱即用的用户界面功能而言,它与YUI完全不可比.

Complementary: these are more focused on improving a traditional Website experience rather than replacing it altogether. These include jQuery, Prototype and others. Some might point out that jQuery has jQuery UI but this is a barebones widget library at best and completely incomparable to, say, YUI in terms of out-of-the-box user interface capabilities.

所以您应该问自己的第一件事是:您正在创建哪种应用程序?

So the first thing you should ask yourself is: what kind of application are you creating?

我个人认为,根据您的回答,YUI或jQuery不会出错.

Personally I think you can't go wrong with YUI or jQuery, depending on your answer.

这篇关于JavaScript框架和CSS框架:JQuery,YUI,两者都不是?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆