ãªããrails3.2ã§pjaxãå ¬å¼ã«ãµãã¼ãäºã ã¿ãããªè©±ãããã¦ããã©ãç®±ãéãã¦ã¿ããããã£ã½ãå·®åãã¡ãã£ã¨è¦å½ãããªãã¦ã¤ãã«ãã¨ãªã£ã¦ãã¾ã£ãã®ã§ãæ¢åã®è³ç£ã§è©¦ãã¦ã¿ããã¨ã«ãã¾ãããpjaxãã railsåãã®pjax-railsã¨ããgemãããã¾ãããåå¹´ãããã¡ã³ãããã¦ãªãã¦ä¸å®ãªã®ã§ãpjax-railsã®ãªãã§ä½¿ããã¦ãjquery-pjaxãæ®éã«ã¤ãããã¨ã«ãã¾ããjquery-pjaxã4ã¶æãããåãããªãã¿ããã§ãããã«ãã¨ãªã£ã¦ããã®ã§ããããç´°ãããã¨ã¯æ°ã«ãã¾ããã https://github.com/defunkt/jquery-pjax ãã£ããèªã¿è¾¼ãã§ãaã¿ã°ã«ã¤ãã³ãããã¤ã³ããã¾ããããå·®ãæ¿ããè¦ç´ ã«"data-pjax-container"ã¨ããå±æ§ãè¨è¿°ããã¦ããã®ã¨ãã¾ãã $("a:not([data-remote])
pjaxã¯Chris Wanstrathã«ããjQueryãã©ã°ã¤ã³ã§ãHTTPãªã¯ã¨ã¹ãã§ãã¼ã¸å ¨ä½ãåå¾ããã®ã§ã¯ãªããAJAXãªã¯ã¨ã¹ãã«ãã£ã¦ãã¼ã¸ã®ä¸é¨ãç°¡åã«æ´æ°ã§ããããã«ãã¾ãããã¢ãã¼ã¸ã§ã©ã®ããã«åä½ããããè¦ããã¨ãã§ãã¾ããããã©ã«ãã§ã¯ããã®ãã¼ã¸ã«ããããããã®ãªã³ã¯ãã¯ãªãã¯ããã¨ãã¼ã¸å ¨ä½ããªãã¼ãããã¾ããããã¯ãã¼ã¸ä¸ã®æå»è¡¨ç¤ºãå¤ãããã¨ã§ãããã¾ãããã§ãã¯ããã¯ã¹ãã¯ãªãã¯ãã¦pjaxãæå¹åããã¨ããªã³ã¯ãã¯ãªãã¯ãã¦ããã¼ã¸å ¨ä½ããªãã¼ãããããã¨ã¯ãªãæå»ãæ´æ°ããã¾ãããããã¼ã¸ã®ã¡ã¤ã³ã»ã¯ã·ã§ã³ã¯å¤åãã¾ãã pjaxã¯pushStateã使ç¨ããã®ã§ã¦ã¼ã¶ã¯AJAXãªã¯ã¨ã¹ããããã¯ã°ã©ã¦ã³ãã§çæããã¦ãããã¨ã«æ°ã¥ãã¾ãããpjaxããã¼ã¸ãæ´æ°ãããã¨ã«ã¢ãã¬ã¹ãã¼ã®URLãæ´æ°ããããã¼ã¸ã®ã¿ã¤ãã«ãå¤ãããåã®ãã¼ã¸ããã©ã¦ã¶
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}