
javascript
文章平均质量分 81
coofucoo
这个作者很懒,什么都没留下…
展开
-
[原创]戒盈祈愿(200509总结)——技术
技术我一直奇怪我怎么这么幸运,尽管最近我的mp3坏掉了,电脑也总是出毛病,也没有一个可以让我掏心的MM。不过在技术上我还真算是幸运,因为我总是被迫做些东西,然后回过头来我竟然发现,这些历程在我身上产生了如此奇妙的结果。我现在再用石器时代的工具,打造最奢侈华丽的现代作品。一种服务器,从底层驱动到用户界面,完全由我们做出来。于是,我在用C++写HTML。这是好听的,其实不然。因为底层用C,所以当我们需原创 2005-10-06 10:52:00 · 2387 阅读 · 2 评论 -
Object-Oriented Concepts
Object-Oriented Concepts14th May, 2006 @ 11:20pm GMTDevelopment, Javascript, PHP, Web / 3 CommentsObject-oriented programming is still a relatively new technology in the world of web deve转载 2006-05-25 10:41:00 · 1870 阅读 · 0 评论 -
The future of OO Javascript
大约两到三个月以来,我一直以OOJS(Object Oriented Javascript)为我的研究方向之一。在未来的项目中,由于Ajax的应用,我们将有越来越多的Javascript代码应用进来。面对代码激增所带来的问题,我们传统的解决方案就是OO。Javascript并不是一个很好的OO语言,所以我们有很多的事情要做,就是如何利用Javascript本身的特性,去模仿OO行为,实原创 2006-05-22 08:49:00 · 1892 阅读 · 0 评论 -
OOJSing
我不知道我谈OOJS会不会有人理解我。今天恰巧看到一篇文章,回想起当初自己初次接触Ajax时的经历,颇有几分相似。于是回味。。。 我看到一篇文章,名为Show love to the object literal。这篇文章,恰巧复现了我当初刚接触Ajax时的尴尬。 去年10月当我刚刚接触Ajax的时候,我对Web开发领域的技术,应该说还是只知皮毛。尽管在大学四年里我一直原创 2006-05-25 19:31:00 · 1365 阅读 · 0 评论 -
Object-Oriented JavaScript
Object-Oriented JavaScriptby Tim HuegdonMay 25, 2006 Following on from my earlier post, “Object-Oriented Concepts,” it’s time we started to have a look at some examples of execution. I转载 2006-05-28 15:43:00 · 2249 阅读 · 0 评论 -
Chatting with Eric Pascarello(Ajax in Action coauthor)
This month, Java.sun.com writer Robert Eckstein sits down with Eric Pascarello, co-author of the bestselling AJAX in Action and moderator of the JavaScript and HTML forums at JavaRanch.com, to discuss转载 2006-05-29 08:29:00 · 1702 阅读 · 0 评论 -
Which one is the faster one, innerHTML or DOM?
The result is innerHTML is the king for all browsers.DHTML JavaScript Benchmark (DOM vs. innerHTML)DHTML JavaScript Benchmark (DOM vs. innerHTML) Ive decide to measure JavaScript performanc转载 2006-10-19 09:30:00 · 1716 阅读 · 0 评论 -
Converting Between XML and JSON
URL: http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html?CMP=OTC-TY3388567169&ATT=Converting+Between+XML+and+JSON Converting Between XML and JSONby Stefan Goessner May 31, 20转载 2006-06-01 20:59:00 · 1926 阅读 · 0 评论 -
通过脚本偷窥你的IE剪贴板
digg.com一篇文章Do you use IE? I bet I can tell you what in on your clipboard!引起了我的注意。原文演示在这里:http://www.jerryandmissy.com/work/clipboard.htm通过IE自带的一个脚本API,你可以直接读取用户当前剪贴板中的内容,如果用户IE的权限设置为默认的话。我用自己的IE测原创 2006-06-19 08:44:00 · 2184 阅读 · 1 评论 -
The Power of Prototype.js
The Power of Prototype.js Saturday June 10, 2006 2:04PM by Kurt Cagle in Technical Computer languages evolve across an interesting number of vectors, and not always in ways that the origina转载 2006-06-13 10:05:00 · 1811 阅读 · 0 评论 -
The JavaScript Library World Cup
Coofucoo: Very modish topic at present.Can save our time just because there are too many javascript librarie we can get.URL:http://www.javascriptsearch.com/guides/Beginner/articles/JavaScriptWorldCup.转载 2006-06-16 20:19:00 · 1428 阅读 · 0 评论 -
Ajax带来Web病毒新一代
显然,随着Ajax的流行,一切似乎都非常风平浪静,尽管大家都知道不会一直下去。就像随着智能手机的出现,手机病毒也逐渐流行。Ajax显然给Web的浏览器端带来了极大的能力,当然,病毒也肯定不会放过这个机会,只不过是时间的问题。一篇文章在网络上掀起轩然大波,JavaScript worm targets Yahoo!。该文描述了最近一次Yahoo Mail收到病毒攻击的事件。更详尽的信息你可以原创 2006-06-15 20:59:00 · 1823 阅读 · 0 评论 -
Compressed JavaScript
coofucoo:从来没有注意到这个特性,竟然可以压缩???Here is an interesting feature that I didn’t know about, you can compress JavaScript and use that file directly, just like the uncompressed version. So after gzip proto转载 2006-07-19 09:00:00 · 1344 阅读 · 0 评论 -
JSON in JavaScript
JavaScript is a general purpose programming language that was introduced as the page scripting language for Netscape Navigator. It is widely believed to be a subset of Java, but it is not. It转载 2006-11-28 09:38:00 · 2054 阅读 · 0 评论 -
JsUnit - Agile AJAX Development
With a blog entitled "Agile Ajax," I figure it was time to finally address a topic on Agile development. One of my favorite agile techniques is Test Driven Development (TDD). Its micro rather than ma转载 2006-12-01 20:52:00 · 1916 阅读 · 1 评论 -
JavaScript Tricks And Good Programming Style
URL:http://alexander.kirk.at/2006/08/09/javascript-tricks-and-good-programming-style/I have been programming for about 10 years now, and I am always longing for improving my code. Throughout time I转载 2006-08-10 15:34:00 · 1382 阅读 · 0 评论 -
Ajax: IE and Mozilla Errors you need to know about
URL:http://radio.javaranch.com/pascarello/2006/02/07/1139345471027.htmlAjax: IE and Mozilla Errors you need to know aboutIf you are logging clientside errors, your may see two errors show up with转载 2007-01-15 13:36:00 · 1997 阅读 · 0 评论 -
Type-Conversion in Javascript
URL:http://www.jibbering.com/faq/faq_notes/type_convert.htmlJavascript Type-Conversion Introduction. Converting to Boolean. Converting to String. Converting to Number. Par转载 2007-05-30 09:24:00 · 2153 阅读 · 0 评论 -
Javascript到底能做什么?
Ajax火了,有人开始质疑Javascript的能力,包括我。:P 不过,有时候可能是我们自己的能力问题。比如,你可能已经知道的,Yahoo!的Yui。有人对Yui非常不满,抨击他的架构设计不足。我也在自己的研究项目中使用过Yui。可是,看看我们做的是什么,人家做的是什么? 看下图:<v:shapetype id="_x0000_t75"coordsize="2原创 2006-05-20 19:59:00 · 5566 阅读 · 0 评论 -
JavaScript:The World's Most Misunderstood Programming Language
URL: http://www.crockford.com/javascript/javascript.htmlDouglas Crockford www.crockford.comJavaScript, aka Mocha, aka LiveScript, aka JScript, aka ECMAScript, is one of the worlds most popu转载 2006-05-06 13:57:00 · 2187 阅读 · 0 评论 -
[收藏]The XMLHttpRequest Object
作为Ajax三条腿之一的XMLHttpRequest是比较重要的工具,这里是w3shcools提供的比较官方的文档,供大家参考。比较重要的是最后的The XMLHttpRequest Object Reference,这个可以用来做手册用。The XMLHttpRequest ObjectThe XMLHttpRequest object is supported in Internet Expl原创 2006-01-08 19:55:00 · 5958 阅读 · 1 评论 -
[收藏]Web2.01,a rich internet application example
原文地址:http://www.theserverside.com/articles/article.tss?l=RiAWeb January 2006 Discussion Summary:Learn about what I call "Web 2.01," a fusion of "Web 2.0" style application content with a "原创 2006-01-24 10:18:00 · 2395 阅读 · 0 评论 -
[原创]Ajax忧虑与启发--成也脚本,败也脚本
对Ajax的研究有了一段时间了,从最初的远观,到近看,再到实际动手实现,认识越来越深,想法也越来越多。特别是曾经有一阵子跑去研究web2.0,更是体会到Ajax背后的伟大,暗自为其庆幸,也越来越看好Web。不过Ajax在我心中却有些怎么也摆脱不了的阴影。 忽如一夜春风来,Ajax就这么很突兀的就突然流行起来。同时流行的还有Web2.0,这些词汇现在都无比的有鼓动力,任何事物,只要沾上这原创 2006-01-17 19:57:00 · 5178 阅读 · 3 评论 -
[收藏]Using Mozilla in testing and debugging web sites
Mozilla is a great tool to use in developing web sites and web applications. Not as a development tool itself, like an editor, but as a testing and debugging tool. Here I describe some very cool feat原创 2006-02-22 16:14:00 · 1833 阅读 · 0 评论 -
Drag and drop with Javascript
link: http://www.sitepoint.com/blogs/2004/03/31/drag-and-drop-with-javascript/by Simon Willison Walter Zorn’s Drag & Drop is a DHTML API which makes it easy to add extensive drag and drop转载 2006-02-26 21:34:00 · 1672 阅读 · 0 评论 -
(By Marco Nanni)Using XML to Improve File-Upload Processing
原文地址:http://www.15seconds.com/issue/010522.htmSummary This article examines an example of multiple binary file upload for Web applications using Extensible Markup Language (XML) technology, with转载 2006-04-06 10:53:00 · 1732 阅读 · 0 评论 -
Using the XML HTTP Request object
原文地址:http://jibbering.com/2002/4/httprequest.html This article was originally written in April 2002, Ive decided to fix and update it as the objects finally seem to be getting some popularity. The转载 2006-04-06 11:11:00 · 1645 阅读 · 0 评论 -
A Better File Upload Progress Bar using Python, AJAX Prototype, & JSON
原文地址:http://development.finetooth.com/?p=11演示地址:http://development.finetooth.com/wp-content/uploads/FileUpload/weblib/HTMLForm/HTMLFormFileUploadTest.php?module=htmlform_fileupload_testThe Python转载 2006-04-06 14:25:00 · 2008 阅读 · 0 评论 -
Relevance Review #4: Head Rush Ajax
URL:http://blogs.relevancellc.com/articles/2006/04/12/relevance-review-4-head-rush-ajaxRelevance Review #4: Head Rush AjaxHead Rush Ajax, from OReilly, by Brett McLaughlin. Quick summary:Fanta转载 2006-04-14 15:07:00 · 1465 阅读 · 0 评论 -
AJAX and Multibyte Character Support
URL:http://www.taylanpince.com/blog/AJAX-and-Multibyte-Character-Support.htmlBlogged by taylan at 3:22 pm, 6 February 2006 under PHPTags: AJAX, PHP, multibyte, encodingI love AJAX, and I realize t转载 2006-04-14 11:34:00 · 1751 阅读 · 0 评论 -
Relevance Reviews #2: Ajax Hacks
URL: http://blogs.relevancellc.com/articles/2006/04/09/relevance-reviews-2-ajax-hacks This week, I am off to Vancouver to teach Ruby on Rails Todays in-plane reading is Bruce Perrys Ajax Hacks转载 2006-04-14 14:37:00 · 1359 阅读 · 0 评论 -
(Javascript)prototype的一个优势也是缺点
如何在Javascript实现OO编程?恐怕最好的方式就是充分利用prototype属性。关于prototype的介绍有很多,我就不赘述了。比较基本的原理是,当你用prototype编写一个类后,当你new一个新的object,浏览器会自动把prototype中的内容替你附加在object上。这样,通过利用prototype,你也就实现了类似OO的Javascript。在Javascript中原创 2006-04-23 17:56:00 · 2399 阅读 · 3 评论 -
JavaScript Associative Arrays
URL: http://persistent.info/archives/2004/08/27/js-associative-arraysThere seems to be some confusion regarding associative arrays in JavaScript (i.e. doing searches on the matter turns up many page转载 2006-04-22 20:43:00 · 1663 阅读 · 0 评论 -
Objects as associative arrays
URL: http://www.quirksmode.org/js/associative.htmlOn this page I explain how JavaScript objects are also associative arrays (hashes). Using these you can associate a key string with a value string,转载 2006-04-22 18:25:00 · 2258 阅读 · 0 评论 -
Preventing Cross-site Scripting Attacks--In Your Web Applications
by Paul Lindner February 20, 2002 Introduction The cross-site scripting attack is one of the most common, yet overlooked, security problems facing web developers today. A web转载 2006-04-30 17:59:00 · 1980 阅读 · 0 评论 -
Javascript Closures
URL:http://jibbering.com/faq/faq_notes/closures.htmlJavascript Closures Introduction The Resolution of Property Names on Objects Assignment of Values Reading of V转载 2006-05-03 18:46:00 · 2305 阅读 · 0 评论 -
Classical Inheritance in JavaScript
Douglas Crockford www.crockford.com And you think youre so clever and classless and free— John LennonJavaScript is a class-free, object-oriented language, and as such, it uses prototypal in转载 2006-05-07 18:59:00 · 1648 阅读 · 0 评论 -
如何判断Javascript对象是否存在
Javascript 语言的设计不够严谨,很多地方一不小心就会出错。举例来说,请考虑以下情况。现在,我们要判断一个全局对象myObj是否存在,如果不存在,就对它进行声明。用自然语言描述的算法如下:if (myObj不存在){ 声明myObj; } 你可能会转载 2011-07-03 16:32:33 · 6007 阅读 · 0 评论