<body> <h1>prototype.js ãªãã¡ã¬ã³ã¹</h1>
<body> <h1>prototype.js ãªãã¡ã¬ã³ã¹</h1>
ããã¯ä½ï¼ prototype.js 㯠Sam Stephenson ã«ãã£ã¦æ¸ããã JavaScript ã©ã¤ãã©ãªã§ãã ãã®çèã®ä¸è¨è¿°ãããæ¨æºã«æºæ ããã³ã¼ãã¯ãWeb 2.0 ã«ããã¦ç¹å¾´ã¨ãªããªããã§ã¤ã³ã¿ã©ã¯ãã£ããªã¦ã§ããã¼ã¸ãå¶ä½ããéã®éè·ããããªãã®è©ããåãå»ã£ã¦ãããã§ãããã ãããã®ã©ã¤ãã©ãªã使ã£ããã¨ããããªããå å®ããããã¥ã¡ã³ãããã®ã©ã¤ãã©ãªã®å£²ãã§ã¯ãªããã¨ã«æ°ãã¤ããã¯ãã§ãã ç§ã¯ä»ã®éçºè ã¨åæ§ã«ãã½ã¼ã¹ã³ã¼ããèªã¿ã試è¡é¯èª¤ããªãã prototype.js ãç解ãã¾ããã èªåãå¦ãã§ããéã«ã¡ã¢ãåãããããä»ã®äººãã¡ã¨å ±æãããã¨ã¯ä¾¡å¤ãããã®ã§ã¯ãã¨èããã®ã§ãã å ãã¦ããã®ã©ã¤ãã©ãªã«ãã£ã¦æä¾ããã¦ãããªãã¸ã§ã¯ããã¯ã©ã¹ãé¢æ°ãæ¡å¼µæ©è½ã«ã¤ãã¦ã® éå ¬å¼ãªãã¡ã¬ã³ã¹ ãæä¾ãã¦ãã¾ãã ããã§æä¾ããä¾ã¨ãªãã¡ã¬ã³ã¹
prototype.jsã®ãã®ãããç°¡åãªä½¿ãæ¹ã ã¯ã¦ãªãã¤ã¢ãªã¼ã®æ¹ã«prototype.jsã§HTMLãæ±ããªããã¼ã«ãªã¼ãã¼ã¹ã¯ãªããã¨ããã¨ã³ããªã¼ãæ¸ããã®ã ããprototype.jsã®å ¥ææ¹æ³ãããããç°¡åãªä½¿ãæ¹ããªããããªã®ã§ãæ¸ãã¦ã¿ã¾ãã prototype.jsã¯JavaScriptã®ã©ã¤ãã©ãªï¼ä¸èº«ã¯JavaScriptã§ã)ã§ãããã使ãã¨JavaScriptãçµãã®ãããªã楽ã«ãªãã¨ãããã®ã§ãã話é¡ã®Ajaxã®ããã°ã©ãã³ã°ãç°¡åã«ã§ãã¾ãã ã©ã¤ãã©ãªã¯ã http://prototype.conio.net/ ãããã¦ã³ãã¼ãã§ãã¾ãããTOPãã¼ã¸ã«ãããã¡ã¤ã«ã¯ã¡ãã£ã¨å¤ããã®ãªã®ã§ãBrowse the darcs repositoryã¨ãããªã³ã¯ã辿ãã http://dev.conio.net/repos/prototype/dist/ ãã
çè ãPrototype.jsã«åãã¦åºä¼ã£ãã®ã¯ã2005å¹´9æããã ã£ãã¨æãã¾ãããã®é ããªãã¸ã§ã¯ãæåJavaScriptã¯ã¾ã ã¾ã é»ææã§ããªãã¸ã§ã¯ãæåã®æ¸ãæ¹ããã¾ãã¾ãªææµãåå¨ãã¦ãããã¨ãè¦ãã¦ãã¾ãã ãã¡ãããçè ãææµã®ãªãã¸ã§ã¯ãæåã§æ¸ãã¦ãã¾ããããããããã¹ã¦ã®ã¨ã³ã¸ãã¢ãææµã®æ¸ãæ¹ããã¦ãã¦ã¯ãJavaScriptã®ãªãã¸ã§ã¯ãæåã¯æ®åãã¾ããã ãããªæã«ãã¾ãã¾ãªããã°ã§åãä¸ãããå§ããã®ãPrototype.jsã§ãããPrototype.jsã«ã¯ã¯ã©ã¹ãå®ç¾©ããã¨ããæ©è½ãããããã¹ã¦ã®ã¨ã³ã¸ãã¢ãåãæ¹æ³ã§ã¯ã©ã¹ãå®ç¾©ã§ããã®ã§ããããã¯ã大ããªã¤ã³ãã¯ãã§ããããããããã®å½æPrototype.jsã«ã¯ã¾ã¨ã¾ã£ãããã¥ã¡ã³ããç¡ããç®å©ãã®JavaScripterãã¡ã¯ããã£ã¦ã½ã¼ã¹ãèªãã§ãã¾ããã ããã¦ããã®ãã¨ãå³ããã¨ã
ã¯ããã« bookmark prototype.jsã®æ¦è¦ ã¦ã¼ãã£ãªãã£é¢æ° bookmark æå®idã®ã¨ã¬ã¡ã³ããåå¾ - $ æå®idã®ã¨ã¬ã¡ã³ãã®valueãåå¾ - $F ã¨ã¬ã¡ã³ãã®ãªã¹ãå½¢å¼ãé åå½¢å¼ã«å¤æ - $A ãªãã¸ã§ã¯ããHashå½¢å¼ã«å¤æ - $H æå®ããç¯å²ã®ãªã¹ããè¿ã - $R prototype.jsã§è¿½å ãããæ©è½ bookmark Ajax Ajaxãªã¯ã¨ã¹ããè¡ã - Ajax.Request Ajaxã§æå®ã¨ã¬ã¡ã³ãã®å 容ãæ¸ãæãã - Ajax.Updater Ajaxã§æå®ã¨ã¬ã¡ã³ãã®å 容ãå®æçã«æ¸ãæãã - Ajax.PeriodicalUpdater å®æçã«æå®ã®å¦çãè¡ã - PeriodicalExecuter Enumerable ãªã¹ãã«ç¹å®ã®é¢æ°ã§å¦çããã - Enumerable.each ãªã¹ãã®å ¨ã¦ã®å¤ã調ã¹ã
Windows Linux Mac OS Firefox 2 Firefox 3 All Mozilla Firefox ã®æãä¸è¬çãªãã¼ãã¼ãã·ã§ã¼ãã«ããã®ä¸è¦§è¡¨ã§ãã GNOME 㧠Emacs ã¹ã¿ã¤ã«ã®ããã¹ãç·¨éã·ã§ã¼ãã«ãããæå¹ã«ãã¦ããã¨ãã¯ã ãããã Firefox å ã§ã使ç¨ã§ãã¾ãã Emacs ããã¹ãç·¨éã·ã§ã¼ãã«ããã (CtrlCmd+K ã®ããã«) æ¢å®ã®ã·ã§ã¼ãã«ããã¨è¡çªããå ´åããã©ã¼ã«ã¹ãããã¹ãããã¯ã¹å ã«ããã° Emacs ã·ã§ã¼ãã«ãããåªå ãã¾ãã(ãã±ã¼ã·ã§ã³ãã¼ãæ¤ç´¢ãã¼å ãå«ã) ãã®ãããªå ´åã¯ã代ããã«ä½¿ç¨ã§ãããã¼ãã¼ãã·ã§ã¼ãã«ãããä¸è¦§ã«ããã°ããã使ç¨ãã¦ãã ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}