Windows Ruby on Rails ãµã¼ãã§æ§ç¯ããæ§æè¦ç´ ï¼æ©è½ç·¨ï¼
ã¡ãã£ã¨åç
æ¨æ¥ã¯æåã®è¨äºããé·æãæ¸ãã¦ãã¾ããä¸å¿çãéããªãã§ãããããã§ãé·ããããã¨åçã
ï¼å°åºãã ã¨ãã³ç®æãã¦è¨äºãæ¸ãã¦ãã®ãå¤ããªãã¨ã¤ã¾ããªãã¨æã£ã¦ï¼
ããã¯æ¦ç¥ã¨ãããã¨ã§ãä»å¾ã®è¨äºã§ãå°åãã«ãã¦ããå°ãæ¸ãã¦ããããã¨æãã¾ãã
Windows Ruby on Rails ãµã¼ãã§æ§ç¯ããæ§æè¦ç´ ï¼æ©è½ç·¨ï¼
ä»æ¥ã¯ãç¾æç¹ã§ã®ç§ããã®ãµã¼ãã«ä¸ããã¤ããã®åã
ã®æ©è½ã«å¯¾ãã¦ã
ãã®å®è£
ã®æ¹éã«ã¤ãã¦ã¾ã¨ãããã¨æãã¾ãã
æ©è½ã¯å¤§ããåãã¦
ããã¼ã¿ã®ä¿æãããã¼ã¿ã®é²è¦§ãããã¼ã¿ã®æ´æ°ãããã¼ã¿ã®ããã¯ã¢ãããããµã¼ãã®ç£è¦ã
ã§èãã¦ãã¾ãã
ãã¼ã¿ã®ä¿æ
ã¾ã第ï¼ã«ããã®ãµã¼ãã«ã¯å©ç¨è
ãå¿
è¦ã¨ããæ
å ±ãã¼ã¿ãä¿æããæ©è½ãä¸ãã¾ãã
ä¿æããæ
å ±ã¯ãååããã¹ãæ
å ±ã®ã¿ã§ãã
ããã¹ãæ
å ±ã®ä¿æã«ã¯å®çªã®ã
SQLã使ãããªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ï¼RDBï¼ã使ãã¾ãã
ã¾ãéä¿¡æ¹å¼ã¯ãé度ãã»ãã¥ãªãã£éè¦ã§ã¯ãªã
ãæ軽ãã¨æ±ç¨æ§ãèãã¦ODBCæ¥ç¶ããã¼ã¹ã«èãã¾ãã
ã
å
·ä½çã«ã¯æ¨æ¥ãæ¸ããã¨ããMySQLãç¨ãã¾ãã
ããã¨éä¿¡ããã®ã¯ãRailsã§ActiveRecordçµç±ããã³
å¿
è¦ã«å¿ãã¦VB.NETã®ã½ããããç´æ¥ MySQL ODBC 3.51ãã©ã¤ãçµç±ã§æ¥ç¶ãã¾ãã
ã
DBã®æ§ç¯ã¯Railsã®ãã¤ã°ã¬ã¼ã·ã§ã³æ©è½ãç¨ãã¦è¡ãã¾ãã
å®éã«ã¯ç®¡çãã¼ã«ã« MySQL GUI Tools ãå°å
¥ãã
ãã®ä¸ã® MySQL Administrator ãå©ç¨ãããã
ã³ãã³ãã©ã¤ã³ãã mysql ãå®è¡ãã¦å¤æ´ãããã¨ãã§ãã¾ããã
Railsã®è¦ç´ã®æ©è½ã®æµãã«æ®éã«ä¹ããã¨ãæèãã¦
ãã¤ã°ã¬ã¼ã·ã§ã³éè¦ã§è¡ãã¾ãã
ã
ãªããç»åãä»ã®ãã¡ã¤ã«ã®ç»é²ã¯ã
å½é¢ç§ãå¿
è¦ã¨ãã¦ããã®ãæåã®ã¿ã®æ
å ±ãªã®ã§ãä»ã¯å
éãããã¤ããã§ãã
ããå®è£
ãããã¨ã«ãªã£ãå ´åã
Windowsã®ãã¡ã¤ã«å
±ææ©è½ããã¼ã¹ã«DBã«ãã¹æ
å ±å«ããæä½éã®æ
å ±ã®ã¿ä¿æã
å®ä½ãã¡ã¤ã«ãDBã®å
é¨ã«æ ¼ç´ãããã¨ã¯ãã¾ããã
ããã¦ããã¹ãæ
å ±ã¨ãã¡ã¤ã«ã¨ã®ç´ä»ããç·©ãç¶æ
ã«ãã¦ç®¡çããããªã·ã¼ã§è¡ãã¾ãã
ãã¼ã¿ã®é²è¦§
ãã¼ã¿ã®é²è¦§ã¯ãRuby on Rails ã§æ§ç¯ããRailsã¢ããªã±ã¼ã·ã§ã³ã§è¡ããããã«ãã¾ãã
Webãµã¼ãã¯InstantRailsã«å«ã¾ããMongrelã«ãã¾ãã
対象ãã©ã¦ã¶ã«ã¤ãã¦ã¯ä½ãã¹ã¿ã¤ã«ã®éããæèã¯ããã«ãIE6以ä¸ãFF2以ä¸ããã®ä»é©å½ã§ãã
ã¢ãã¤ã«å¯¾å¿ã¯æèãã¾ããã
ã
Railsã§å©ç¨ãããã©ã°ã¤ã³ã¯ãActiveScaffoldãacts_as_authenticated ãå¿
é ã«ãã¾ãã
ã
ã¾ãå¿
è¦ã«å¿ã㦠acts_as_taggable_on_steroidsãacts_as_bookmarkable ã使ããããã«ãããã§ãã
ãããã¯ã¡ã¤ã³ã§ç®¡çããã¬ã³ã¼ã群ããå¥ã®ã¡ã¿ãªä»çµã¿ã§ç´ä»ãã¦å©ç¨ã§ããä»çµã¿ã
欲ããããå
¥ããã®ã§ãããã¡ãã£ã¨ã¾ã ç§ã®æè¡ã§ã¯ãã¼ãã«ãé«ãããã
ã
æ¥æ¬èªåããããªãã¨â¦ããã¯ã¾ã ãæ段ã決ãã¦ã¾ããã
ãã¼ã¿ã®æ´æ°
ãã¼ã¿ã®æ´æ°ã¯ãåè¿°ã®Railsã¢ããªã±ã¼ã·ã§ã³ã®ä»ãVB.NETããã®ç´æ¥æ´æ°ï¼ODBCï¼ãç¨ãã¾ãã
GUIããç·¨éãã¦ã®æ´æ°ã«ããå½ä»¤ä¸çºã§ãããæ´æ°ã両æ¹æ©è½ã¨ãã¦ã¯ä½¿ãã¾ãã
ã
å
é¨çã«ã¯ãªãã¹ããã©ã³ã¶ã¯ã·ã§ã³ãå©ç¨ããªãã¨ãDBæ´æ°ãé²ããããªã
ç·©ãããªã·ã¼ã§ãããããªãã¨èãã¦ãã¾ãã
ï¼ä¾ãã°ã¬ã³ã¼ã追å ã®ã¿å¸¸ã«åä»ãéè¨ãã¼ãã«ã®æ´æ°ã¯å®æå®è¡ã§åãã¦å¦çãããã¨ãã£ãæã
ã
ãããããMySQLã§ã¯ã¹ãã¬ã¼ãã¨ã³ã¸ã³ã¯åºæ¬ InnoDB ã§è¡ãã¾ãã
èé害æ§ãæèãã¦ãã¡ãã«ãã¾ããã
ãã¼ã¿ã®ããã¯ã¢ãã
ãã¼ã¿ã®ããã¯ã¢ããã¯ãä»åWSHï¼Windows Scripting Hostï¼ã VBScript ã«ã¦å®è£
ãã¦
å®ç¾ãããã¨èãã¦ãã¾ãã
ã
MySQLã ã¨ã管çç³»ã³ãã³ãã®ã¿ã§åç´ãªãªã³ã©ã¤ã³ããã¯ã¢ããã¾ã§å¯è½ãªã®ã§ã
ãããã®ã³ãã³ããVBScriptã§ä¸é£å¦çããã¢ããªãéçºãã
ãããWindowsã®ã¿ã¹ã¯ã«ç»é²ãã¦å®æå®è¡ãããã¿ã¼ã³ã§è¡ãã¾ãã
使ãã³ãã³ã㯠mysqlãmysqldump ã§ãã
æ´æ°ãã°ï¼ãã¤ããªãã°ï¼ã常ã«åºåããé害æã«ã¯æåã§ãªã¹ãã¢âãªã«ããªå¾©æ§ã¾ã§
ã¡ããã¨ã§ããç¶æ
ãéç¨ã§ããããã«ãã¾ãã
ã
ãã¼ã¿ã®ç½®ãå ´æã¨ãã¦ã¯ãä»ã§ãã¨USBå¤ä»ãRAIDãä¸çªé©å½ããªãã¨ã¯æã£ã¦ã¾ãã
ãã å®éã«ã¯è©¦ãããã¨ããªãã§ãã
ãµã¼ãã®ç£è¦
ãµã¼ãã®ç£è¦æ
å ±ã¯ãã¾ããã°ã¯ApacheãRailsããã¨ããã¯ã¢ããå¦çã®ãã°ã
ã
ãã°ãããã¯ã¢ãããã¼ã¿ã®æ´æ°ç¶æ³ã¯ã管çè
ã®å©ä¾¿æ§ãèãã¦
Apacheçµç±ã§å
¬éãã¼ã¸ãä½æããæ¹åã§èãã¦ãã¾ãã
å¤é¨ããã®æ»æ´»ç£è¦ã¯ãå¥éç£è¦PCããVBScriptã«ã¦pingç£è¦ã主ã§ããããã§ãã
ãã以ä¸ã«ãªãã¨ãä»åº¦ã¯ãµã¼ãå´ã§å®æçã«VBScriptã§æ
å ±ãåéããã¹ã¿ã¤ã«ãããã®ãã
ããã¨ãç£è¦PCå´ãããªã¢ã¼ãæ¥ç¶ãããããªå½¢ã§æ
å ±ãåéããã®ãããã®ãã
ã¡ãã£ã¨ã¾ã 決ãããã¾ããã
ãã®ä»
ãµã¼ãã®èµ·åãçµäºæã®Railsä»ã®èªåèµ·åãçµäºã¯ã
InstantRails ã®ç£è¦ãã¼ã«ï¼InstantRails.exeï¼ãä¸éããã£ã¦ãããããã§ãã
ã§ãã®ã§åºæ¬ã¯ããã«ã¾ããã¾ãã