Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Top 10 JavaScript Frameworks by Google

 À´×Ô£ºhttp://www.tripwiremagazine.com/tools/developer-toolbox/top-10-javascript-frameworks-by-google.html
Wed, Nov 11, 2009
Development
, Javascript
, Tools




JavaScript – an indispensable part for developing websites and web
pages, whether that is simple pages or professional website, and
whether you are senior or junior. Nowadays, JavaScript frameworks
become more powerful and more specialized; they can do many things in
just a few basic steps.
However, when you decide that you need a JavaScript framework it can
be quite a challenge to figure out which framework to should use, which
framework is best for your needs, … ? This is mainly because there are
so many frameworks out there you can choose from.
In this post, I want to summarize the list of frameworks that Google
assumes most popular, maybe you wonder why it’s Google? Because it’s
the most popular search engine, so I think the results will be most
relevant and accurate to the majority of web developers. Here’s the
list of top JavaScript frameworks by Google, with the keyword: “javascript framework”
.
1. jQuery: The Write Less, Do More, JavaScript Library

Yes, jQuery is really a new kind of JavaScript library, you can write
less but do more; maybe jQuery is the JavaScript framework that have
the biggest collection of plug-ins and add-ons. Some things you should
know:
Current version: 1.3.2
Size: 19 KB
(Minified and Gzipped) and 120 KB
(Uncompressed Code)
Author: John Resig
Tutorials in 19 languages
: 183 (data on 19 October, 2009)
Sites in use
: 1000+
Plugins
: 3.493 (data on 19 October, 2009)
Easy to learn
Support designers very well, by using CSS syntax
A lots of nice and lovely extensions
Great community, maybe largest
Used by millions of website and well known companies like Google,
DELL, CBS, NBC, DIGG, Bank og America, Wordpress, Drupal, Mozilla etc…
2. MooTools &


Ïà¹ØÎĵµ£º

JavaScriptÓï·¨¼¯½õ£¨¶þ£©

function function xx(){...} ¶¨Ò庯Êý
isNumeric                   ÅжÏÊÇ·ñÊÇÊý×Ö
innerHTML xx=¶ÔÏó.innerHTML ÊäÈëij¶ÔÏó±êÇ©ÖеÄhtmlÔ´´úÂë
innerText divid.innerText=xx ½«ÒÔdiv¶¨Î»ÒÔidÃüÃûµÄ¶ÔÏóÖµÉèΪXX
locati ......

JavaScriptÓï·¨¼¯½õ£¨Èý£©

 String¶ÔÏóµÄ charAt(x)¶ÔÏó ·´»ØÖ¸¶¨¶ÔÏóµÄµÚ¶àÉÙλµÄ×Öĸ
                     lastIndexOf("string") ´ÓÓÒµ½×óѯÕÒÖ¸¶¨×Ö·û£¬Ã»Óзµ»Ø-1
           ......

JavaScript ÁãÉ¢±Ê¼Ç

JavaScript ÁãÉ¢±Ê¼Ç
1 ´´½¨½Å±¾¿é
1: <script language=”JavaScript”>
2: JavaScript code goes here
3: </script>
2 Òþ²Ø½Å±¾´úÂë
1: <script language=”JavaScript”>
2: <!--
3: document.write(“Hello”);
4: // -->
5: </script>
ÔÚ²»Ö ......

ÈçºÎͨ¹ýJavaScriptº¯Êý»ñÈ¡Web±¨±íµ¥Ôª¸ñµÄÖµ

±¨±íÕ¹ÏÖÔÚwebÒ³ÃæÒÔºó£¬ÓÐʱÐèÒª»ñȡijµ¥Ôª¸ñµÄÖµ¡£ÈóǬ±¨±íÖпÉÒÔͨ¹ýÔÚjspÒ³ÃæÖÐÉ趨JavaScriptº¯ÊýÀ´ÊµÏÖÕâ¸ö¹¦ÄÜ¡£ÏÂÃæ¾Íͨ¹ýÒ»¸öÏÂÀý×Ó¼òµ¥½éÉÜÒ»ÏÂÈçºÎͨ¹ýJavaScriptº¯Êý»ñÈ¡Web±¨±íµ¥Ôª¸ñµÄÖµ¡£
Ê×ÏÈ£¬½«·¢²¼±¨±íµÄjspÒ³ÃæÖеı¨±í±êÇ©<report:html>·ÅÔÚÒ»¸ö<table>±êÇ©ÖУ¬ÈçÏÂͼ
ÆäÖÐ<report:h ......

JavaScriptµÄeval(¡°{JSON object string}¡±)ÎÊÌâ

ÔÚ×öAJAXÓ¦Óÿª·¢µÄʱºò£¬ÎÒÃÇͨ³£Ï²»¶°Ñ·þÎñÆ÷¶Ë·µ»ØµÄJSON¸ñʽ×Ö·û´®ÔÚ¿Í»§¶ËµÄ»Øµ÷º¯ÊýÖаÑËü×÷ΪJavaScript´úÂëÖ´Ðв¢ÓÃÒ»¸ö±äÁ¿±£´æÆðÀ´£¬ÒÔ·½±ãʹÓ÷µ»ØµÄÊý¾Ý¡£Í¨³£µÄ×ö·¨¾ÍÊÇvar jsonData = eval(xmlHttp.responseText)¡£Õâ¿´ÆðÀ´ËƺõÒ»Çж¼ÊÇÕýÈ·µÄ£¬µ«µ±ÄãÔËÐдúÂëµÄʱºò£¬Äã»á·¢ÏÖ±¨“invalid labe”´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ