Merb gets merged into Rails3!
http://weblog.rubyonrails.com/2008/12/23/merb-gets-merged-into-rails-3ã®è¶ ç°¡æå訳ï¼
Merb ã Rails3 ã«çµ±åãããï¼
ã¿ããªã«ã¯ãªã¹ãã¹ãã¬ã¼ã³ãããããã ï¼ä½ãã£ã¦è¨ã㨠Merb 㨠Rails ã®ãã³ããã¼ã¯è«äºã«çµæ¢ç¬¦ãæã¤ã®ãï¼ã¤ã¾ã Merb ã Rails 3 ã«çµ±åããããã ï¼
æã ã¯ãã§ã³ã¹ã®ä¸¡å´ã§è¤è£½ããããããã£ã¨å»ºè¨çãªããæ¹æ³ã¨ãã¦ï¼ä¸ç·ã«åããã¨ãå®ç¾ããï¼çµ±åããã®ãæããã«æãããã¶ã¤ã³ã¨ææ³ãï¼Merb 㨠Rails ãæ¢ã«ååã«å ±æãã¦ããï¼ãã¨ã¯åº§ã£ã¦ãã£ãããã¦è°è«ããã°ããã£ããã ï¼
ãããå®éã«ä½ãæå³ãããã¨ããã¨ï¼Merb ãã¼ã 㯠Merb ã®åºæ¬ææ³ã Rails 3 ã«æã¡è¾¼ããã¨ã«åªåããã£ã¦ãã¨ã ï¼Yehuda Katz 㯠Rails ã³ã¢ãã¼ã ã«å ¥ã£ããï¼Matt Aimonetti ã¯æ°ããä¼é師ãã¼ã ã«å ¥ã£ãï¼ãã㦠Carl Lerche 㨠Daniel Neighman (hassox) 㯠Merb ãçµ±åããå ±æ¼è ã¨ãªã£ããã ï¼ãã®çµ±åãä¸æ» ã®ãã®ã¨ããããã«ï¼è¨å¿µã®ãã¼ã¸ http://rubyonrails.org/merb ãä½ã£ãï¼
ä½ãããããããã®ãï¼
å½¼ãã«ãã£ã¦ Merb ãã Rails 3 ã«ããããããããã¤ãã®ãã¼ã¢ã¤ãã¢ãããï¼
- Rails ã³ã¢
- Rails ã¯ãã«ã¹ã¿ãã¯ã§ãã®ã¾ã¾æ®ããã©ï¼ä¸åååãªããã°åããªãã¾ã¾ã«ãã¦ããã¹ãçç±ããªãï¼Rails 3 ã¯å¿ è¦æä½éã®ç¶æ ã§ãç°¡åã«åãããã«ãªãï¼ã¿ããªãå¿ è¦ãªæã«å¿ è¦ãªã«ã¹ã¿ãã¤ãºãã§ããããã«ãªãï¼"rails myapp -core" ã¨ã "rails myapp -flat" ã¿ãããªã³ãã³ããæ³åãã¦ããããã°ããï¼
- ããã©ã¼ãã³ã¹ã®æé©å
- Merb 㯠Rails ã®å¤ãã®é¨åãé«éåããï¼ãããã®ãã¹ã¦ãããããã¦ãããï¼å¤§ããªå©çã®ããã«å¿ è¦ãªå ´æã§ã¯ãã®ã¢ã¼ããã¯ãã£ã¼ããæ²ãã¦ãã¾ãã§ãããï¼è¦ããã«ï¼Rails 3 㯠Merb é£ä¸ãç¥ã£ã¦ãããããªï¼ããã©ã¼ãã³ã¹ã®æ³¨ç®ãéããã§ã ããï¼
- ãã¬ã¼ã ã¯ã¼ã¯ä¸å¯ç¥è«
- Rails ã¯ãã¬ã¼ã ã¯ã¼ã¯ã«é¢ãã¦ï¼è¦ç¨ã®çãããã¤ãæã£ã¦ããï¼ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã¯ test/unitï¼ORãããã¼ã¯ Active Record ã¨è¨ãå ·åã«ï¼ã§ãä»ã®ã使ãããæãããï¼ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã« RSpec ã ã¨ãï¼ORãããã¼ã« Data Mapper ã¨ã Sequel ã¨ãï¼ä»ã«ããã³ãã¬ã¼ãã¨ã³ã¸ã³ã« Haml ã ã¨ã JQuery ã使ãããã¨ãï¼ããããè¦æã«ã Rails ã¯è«¸æãä¸ãã¦æè¿ãããï¼ããï¼Rails ã¯ããã©ã«ããæã£ã¦ããã ãï¼ä»ã®ä»£æ¿æ¡ãå·®å¥ãããããªãã¨ã¯ããªãï¼
- å³æ ¼ãª API
- å¤ãã®ãã©ã°ã¤ã³ã¯ Rails ãã¢ãããã¼ãããæã«åããªããªãï¼ããã¯ï¼ã©ã®å é¨å¦çãå®å ¨ã«ããã¯ã§ããããï¼ã¢ã³ãã¼ããããå½ã¦ãã¨ãã«ä½ãå£ãããã¨ãæå¾ ãã¹ãããæããã§ã¯ããªãããã ï¼Merb é£ä¸ã¯ãã¹ãã®ããå ¬é API ãã³ããããã¦ããã¦ï¼ããã使ãã°å£ããªããã¨ãä¿è¨¼ãããï¼å½¼ãã¯ããããèãæ¹ã Rails 3 ã«æã¡è¾¼ãã®ã§ï¼æç¡ãè¨ãããªãã¢ãããã¼ãã§ãç ´å£ããããã¨ã®ãªãï¼ãã¹ãããããã¥ã¡ã³ãåãããæ¡å¼µæ©è½ã®ããã® API ãããããã¦ãããï¼
大ããªæ¸ãæãã¯ç¡ã
ããã"ããã°ãã³"ã®ãã㪠Rails ã®æ¸ãæãã¯ãªããã¨è¦ãã¦ããã¦ã»ããï¼ãã¹ã¦ãæ¨ã¦ã¦1ããä½ãç´ãã«ã¯æéãããããããï¼Rails ã¸ã®ããã°ã¬ãã·ããªæ¹è¯ãè¡ã£ã¦ãããï¼ä½¿ããããã¨åããããå¾æ¹äºææ§ã«ä¸ããå½±é¿ãèãã¦æ³¨ææ·±ãå¤æããã¤ããã ï¼Rails 3 ã§ã¯ããã¤ãéäºæã«ãªããã¨ã¯ããã£ã¦ããã®ã§ï¼ãããæå°ã«ãªãããã«ï¼ãã㦠Rails 2.x ã¢ããªã±ã¼ã·ã§ã³ãç°¡åã« Rails 3 ã¸ã¨å¤æã§ããããã«å¤ããã¤ããã ï¼Merb é£ä¸ãæ¢åã® Merb ã¦ã¼ã¶ãç°¡åã« Rails 3 ã¸ã¨ã¢ããã°ã¬ã¼ãã§ããããã«é å¼µãããã ï¼æ¢åã® Merb ã³ã³ããã¼ã©ã¼ãæ°ãã Rails 3 ã®ã³ã³ããã¼ã©ã¼ã¨ä¸¦åã«ãã¦ã³ãã§ãããããªã«ãã¦ããï¼æã ã¯ãããã©ããªãããè¦ã¦ï¼ãããè¡åã«ç§»ãã ããï¼*1
ã¾ã Merb é£ä¸ã¯å¥ã«æ¢åã® Merb ã¦ã¼ã¶ãã¢ããªã±ã¼ã·ã§ã³ãæ¾æ£ãããããããªãï¼å½¼ãã¯ã¡ããã¨ãã°ã¯ç´ããã»ãã¥ãªãã£ãæ¹åããï¼ããã«å ã㦠Rails 3 ã¸ã®ã¢ããã°ã¬ã¼ããã¹ãç¨æãããã¨ãã¦ãããã ï¼ãã®é²ã¿ã¯ãã¾ãï¼ç§©åºããé çªã§å®è¡ãããã ããï¼
ã¿ã¤ã ã©ã¤ã³
Rails 2.3 ã¯ã¡ããã©ã³ã¼ãã¼ãæ²ãã£ãã¨ããï¼1æã«ã¯ãªãªã¼ã¹ãããã¨æã£ã¦ãï¼Rails 2.3 ã®ãªãªã¼ã¹ã¯å¤§åçå¼¾ã®ããã§ï¼æ»æçãªå¤æ´ãå¤ãå«ã¾ãã¦ããï¼ã§ããããçµãã次第ï¼Rails 3 ã«æ³¨åããã¤ããã ï¼
楽観çã«ã¿ã¦ã´ã¼ã«ã¯ã©ã¹ãã¬ã¹ã§ã® RailsConf 2009 ã¾ã§ã«ãã¼ã¿çãåºããã¨ï¼ã§ãããããããªããï¼ããã¾ã§ã«ããã¹ãäºã¯é常ã«å¤ãããï¼
ãããã®å¤æ´ã®å¤ãã¯ï¼ããã«å¹æããããã®ã ï¼æ¢ã«ååä½æ¥ã¯ã¹ã¿ã¼ããã¦ããï¼Rails 3 ã«ãããé常ã«çãæéã®ãã¤ã«ã¹ãã¼ã³ã§ã®å ·ä½çãªå 容ãçå ãã¦ã¢ãã¦ã³ã¹ããã®ã§ããï¼
æ¨ã¿ã£ããªãï¼ã¾ãã« kumbaja*2
ããã¯ã¾ãã«ãã©ãããã¯ãªã¤ãã³ãã ï¼è¾è¾£ãªé¢ä¿ããä¸ç·ã«ãªãã¾ã§ã¯ã¡ã£ã¨ãé·ãã¯ãªãã£ãï¼ã§ã両å´ã«ãã人éãèå°è£ã§ã©ã®ããã«ä»²è¯ããªã£ã¦ãã£ããã¨ãããã¨ã«é©ãã¦ããï¼ç§ãã¡ã¯åããã¨ãæãã§ããã®ã話ãï¼ããã«ãããå®ç¾ãããã ï¼ããã¦ããã¤ãã®ã±ã¼ã¹ã§ã¯ç°ãªããã¨ã«æ³¨æãæãã ãããï¼ããã¯æ®éã®æ¨æ¶ã®ãããªã¢ãã ï¼
ç§ã¯ä¸¡ã³ãã¥ããã£ã¼ã®äººéãï¼ä¸¡è ã®ãã¼ã³ã³ããªãã¥ã¼ã¿ã¼ãã¡ã¨åãããããã®ãã¥ã¼ã¹ãåªé ã«æ±ã£ã¦ããããã¨ãåã«é¡ã£ã¦ããï¼
ããï¼ä»¥åã«ãã£ãéå»ã®ãã¹ã¦ãæ°´ã«æµãï¼çµ±ä¸ã¸ã¨åãã£ã¦åãå§ãããã¨ã大äºã«ãããï¼
Rails 3 ã¯ãã¾ããããï¼