JavaScript代码的绝佳示例 [英] Great Examples of JavaScript code

查看:49
本文介绍了JavaScript代码的绝佳示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人有他们所知道的编写良好的JavaScript应用程序

的例子?我希望代码可读。我特别喜欢YUI的代码
。有没有人有更多的申请/

例子?谢谢。

Does anyone have an example of well written JavaScript applications
that they know about? I would prefer the code to be readable. I
particularly like YUI''s code. Does anyone have any more applications/
examples? Thanks .

推荐答案

7月26日下午12:55,Jang< jangc ... @ gmail.comwrote:
On Jul 26, 12:55 pm, Jang <jangc...@gmail.comwrote:

有没有人有一个编写良好的JavaScript应用程序的例子
他们知道的
?我希望代码可读。我特别喜欢YUI的代码
。有没有人有更多的申请/

例子?谢谢 。
Does anyone have an example of well written JavaScript applications
that they know about? I would prefer the code to be readable. I
particularly like YUI''s code. Does anyone have any more applications/
examples? Thanks .



查看任何大型库 - jQuery,Prototype,YUI等。

你想从中学到什么样的东西?代码/风格?

Matt Kruse

Look at any of the big libraries - jQuery, Prototype, YUI, etc.
What kinds of things are you trying to learn from the code/style?

Matt Kruse


David Mark在7/26/2007 2上发表以下内容:27 PM:
David Mark said the following on 7/26/2007 2:27 PM:

7月26日下午2:01,Matt Kruse< m ... @ mattkruse.comwrote:
On Jul 26, 2:01 pm, Matt Kruse <m...@mattkruse.comwrote:

> 7月26日下午12:55,Jang< jangc ... @ gmail.comwrote:
>On Jul 26, 12:55 pm, Jang <jangc...@gmail.comwrote:

>>有没有人有他们所知道的编写良好的JavaScript应用程序的例子?我希望代码可读。我特别喜欢YUI的代码。有没有人有更多的应用程序/
示例?谢谢 。
>>Does anyone have an example of well written JavaScript applications
that they know about? I would prefer the code to be readable. I
particularly like YUI''s code. Does anyone have any more applications/
examples? Thanks .


看看任何大型库 - jQuery,Prototype,YUI等等。
你想从代码/风格中学到什么样的东西?

Matt Kruse

Look at any of the big libraries - jQuery, Prototype, YUI, etc.
What kinds of things are you trying to learn from the code/style?

Matt Kruse



我收集OP喜欢阅读为YUI编写的应用程序,而不是YUI代码本身的


I gather the OP likes reading applications written for YUI, rather
than the YUI code itself.



你怎么读我特别喜欢YUI'的代码并将其解释为I

就像为YUI编写的应用程序?听起来更像是OP正在寻找/ b $ b来查看/审查图书馆并将Matt的问题排除在行之前

正确和正确。


-

兰迪

机会有利于准备好的心灵

comp.lang.javascript常见问题 - http://jibbering.com/faq/index.html

Javascript最佳实践 - http://www.JavascriptToolbox.com/bestpractices/




" Randy Webb" < Hi ************ @ aol.comwrote in message

news:eI ****************** ** @ telcove.net ...

"Randy Webb" <Hi************@aol.comwrote in message
news:eI********************@telcove.net...

David Mark在7/26/2007 2:27 PM发表以下内容:
David Mark said the following on 7/26/2007 2:27 PM:

> 7月26日下午2:01,Matt Kruse< m ... @ mattkruse.comwrote:
>On Jul 26, 2:01 pm, Matt Kruse <m...@mattkruse.comwrote:

>> ; 7月26日下午12:55,Jang< jangc ... @ gmail.comwrote:

有没有人有他们所知道的编写良好的JavaScript应用程序的例子?我希望代码可读。我特别喜欢YUI的代码。有没有人有更多的应用程序/
示例?谢谢。
看看任何大型库 - jQuery,Prototype,YUI等。
你想从代码/风格中学到什么样的东西?

马特Kruse
>>On Jul 26, 12:55 pm, Jang <jangc...@gmail.comwrote:

Does anyone have an example of well written JavaScript applications
that they know about? I would prefer the code to be readable. I
particularly like YUI''s code. Does anyone have any more applications/
examples? Thanks .
Look at any of the big libraries - jQuery, Prototype, YUI, etc.
What kinds of things are you trying to learn from the code/style?

Matt Kruse


我收集OP喜欢阅读为YUI编写的应用程序,而不是YUI代码本身。


I gather the OP likes reading applications written for YUI, rather
than the YUI code itself.



你怎么看我特别喜欢YUI'的代码并将其解释为I

就像为YUI编写的应用程序?听起来更像OP正在寻找


How do you read "I particularly like YUI''s code" and interpret it as "I
like applications written for YUI"? Sounds more like the OP is looking



YUI显然不是一个应用程序。

YUI is clearly not an application.


供库查看/审查并将马特的问题排除在原因之后

正确和正确。
for libraries to view/review and that puts Matt''s questions dead in line
with being proper and right.



即使它是。我不建议阅读库代码,以便如何写好

编写良好的JS应用程序。

Even if it was. I wouldn''t recommend reading the library code to how write
well-written JS applications.


这篇关于JavaScript代码的绝佳示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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