낙서장

<img src="http://blogimgs.naver.com/nblog/ico_scrap01.gif" class="i_scrap" width="50" height="15" alt="본문스크랩" /> [Etech 2006] A (Re)Introduction to Javascript

nullzone 2006. 3. 8.
반응형

1.

function Leak() {
  var div = document.getElementById('d');
  div.onclick = functon() { alert("hi!");  }
}

 

간단한 코드인데 IE 에서 memory leak 이 발생한다고 한다.

이걸 충분히 반복해서 실행하면 IE 가 crash 되고 만다는데...

 

2.

Programming Language Theory 측면에서 javascript 를 다시 생각해볼 필요 있음.

Week Typing, OOP, Closure, Fuctional Lanaguage 등이 키워드.

몇 가지 statement 들

  - Everything in JavaScript is Object.
  - Every object is mutable.
  - dot operator is equivalent to de-refencing by hash. ex) foo.bar === foo["bar"].
  - Functions are always closure.

 

3. JavaScript Library 들

http://www.dojotoolkit.org/

http://www.mochikit.com/

http://prototype.conio.net/

http://developer.yahoo.net/yui/

http://script.aculo.us/

 

4. 추천 도서

Javascript : Definitive Guide
Modern Web Design Using Javascript & DOM

 

5. Tip

Javascript Shell :http://www.squarefree.com/shell/shell.html

 

-- by ravic

반응형

댓글