Androidã®ãã©ã¦ã¶ã使ã£ã¦ã¹ã¯ã¬ã¤ãã³ã°ããã¨æ¥½ãç¹ã«Ajaxãªãµã¤ãããããã¼ã¿ãæ¾ãã!Read less
Androidã®ãã©ã¦ã¶ã使ã£ã¦ã¹ã¯ã¬ã¤ãã³ã°ããã¨æ¥½ãç¹ã«Ajaxãªãµã¤ãããããã¼ã¿ãæ¾ãã!Read less
Ajaxã使ããã¨ã§ãWebã®ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¤ã¹ã åçã«æ¹åãããã¨ãåºæ¥ããã ããã©ã ã¤ãã¤ãè¯ããµã³ãã«ãè¦ã¤ãããªãã£ãã®ã§JQueryã¨PHPã§å®è£ ãããµã³ãã«ãä½ã£ã¦ã¿ãã ãµã³ãã«ãè¦ã¤ãããªãçç±Ajaxã¯ãµã¼ãã¼ã¨ã¯ã©ã¤ã¢ã³ãã®é£æºã§åãã¦ããããã©ã ãµã¼ãã¼ã¯å¤ç¨®å¤æ§ãªæè¡ãããã®ã§ç¶²ç¾ ã§ããªãã ã¯ã©ã¤ã¢ã³ãå´ã ã説æããã¨ããµã¼ãã¼å´ãæããã®ã§ãã®ã¾ã¾ã§ã¯ãµã³ãã«ãåãããã¨ãåºæ¥ãªãã ã¨ãããã¨ã§ãã¿ã¼ã²ãããPHPã¨JQueryã«éå®ãã¦ãµã¼ãã¼ããã¯ã©ã¤ã¢ã³ãã¾ã§ä¸è²«ãããµã³ãã«ã«ãã¦ã¿ã¾ããã ã½ã¼ã¹ã³ã¼ãã極åã·ã³ãã«ã«ãã¦å ¨ã³ã¼ãæ²è¼ãã¦ãã¾ãã ä½ãç©ã¯ã©ã¤ã¢ã³ããããµã¼ãã¼ã«æ°å¤ãäºã¤éä¿¡ãã äºã¤ã®å¤ã足ããçµæããµã¼ãã¼ããåå¾ãã¦ç»é¢ãæ´æ°ããã ç¨æããç©PEARãåããµã¼ãã¼ä»åã¯JSONãå¦çããã®ã«PEARã®JSONã©ã¤ã
Ajax ãã¤ãã£ã¦ãè¨äº(article)ã«ã³ã¡ã³ã(comment)ãæ¿å ¥ããã»ãã»ãããã使ãããã«ã¯ãã¤ãã¯ã¾ã£ã¦ãã¾ãã®ã§åå¿é²ãï¼ã«ãã§ãã¼ã¯ã§ã¯ãã¬ãã¹ã³ã«ã¡ã¢ã追å ããã¨ããã«ã¤ãã£ã¦ã¾ãï¼ article.rb class Article < ActiveRecord::Base belongs_to :user has_many :comments after_update :save_comments def new_comment_attributes=(comment_attributes) comment_attributes.each do |attributes| comments.build(attributes) if attributes[:content].length > 0 end end # ããã§ã¯ä½¿ã£ã¦ãªã def existing_com
å ¬å¼ãµã¤ã ã©ã¤ãã©ãªã使ã£ãã㢠ã©ã¤ã»ã³ã¹:MITã©ã¤ã»ã³ã¹ prototype.js/script.aculo.usã使ã£ãåä¸ãã¼ã¸å ãã¤ã¢ãã°ä½æã©ã¤ãã©ãª
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}