æ¨æ¥ã®ã¨ã³ããªJesterã«ã¤ãã¦è£è¶³ã Jester.jsã½ã¼ã¹ãè¦ãã¨æ¬å½ã«ã·ã³ãã«ã§ãã¾ã 欲ããæ©è½ããããããªã®ã§ä¸éãã¾ã¨ãã¦ã¿ãã åºæ¬çãªç»å ´äººç©ã¯Baseã¯ã©ã¹ (prototype) ã ãããã¨XML.ObjTreã¨ããã©ã¤ãã©ãªã使ç¨ãã¦XML â DOM â XMLã®å¤æãè¡ã£ã¦ãã¿ããããã®ã©ã¤ãã©ãªä½æ°ã«æ¥æ¬äººãä½è ãªãã ããåãã¦ç¥ã£ãã 以ä¸ã¾ã¨ã 主ãªã¡ã½ãã Base.model(ã¢ãã«å, ãµã¼ãURL, åæ°å½¢ã®åå, è¤æ°å½¢ã®åå) modelã¯ã©ã¹ã®å®£è¨ãããã¢ãã«åãBookãªã©ã§ãåæ°å½¢book & è¤æ°å½¢books ã®ããã«åç´ãªå¤åãªãæé»çã«è¡ã£ã¦ãããã Base.model("Book") ã§OKã ä¾ï¼Base.model("Book"); Base.find(ç®çã®ID) ã¢ãã«åBook & å¼æ°ã®idã1ã ã¨ããã° http:
{{#tags}}- {{label}}
{{/tags}}