RubyKaigi 2008 LTã¡ã¢
ãJavaããRubyã¸ãã«ã¤ãã¦ãã©ããã¦ãè¨ããããã¨ããã
- JavaããRubyã¸ã³ã¼ããå¤ãããã¨ã§ã¯ãªãã
- èãæ¹ãJavaããRubyã¸å¤ããã®ã ã
- ã³ã¼ãã ãã§ãªãããã¸ã§ã¯ãã®èãæ¹ãå¤ããå¿ è¦ãããã
- Rubyã¯ã¡ã¿Pãªã©ä¸ç´è ã®åãå¼ãåºãåãæã£ã¦ããã
- ä¸æ¹Javaã¯åç´è ç¨è¨èª?
- 人æ°ã®å¤ãåå¿è ãéè¦ãããã¾ããç人ã®è¶³ããã«ãªã£ã¦ããã
dRubyã¨ã»ãã¥ãªãã£
Rubyã¨ODEã§ãã¿ã´ã©è£ ç½®
- ODE=Open Dynamic Engine 3Dãæä½ã§ããã©ã¤ãã©ãª
- Wiiãªã¢ã³ã³ã§æä½
- RubyCoCoa + OpenGL + ODEã§ãã¿ã´ã©è£ ç½®
- ããã¼ããããåãé¢ç½ãããã£ãããããããã¨ã«ã
åç´è 㯠Enumerator ã®å¤¢ãè¦ãã?
- ã¿ãã¼ã âçµè«
- ãããªãããããããªã«ãã£ã¦ããããããã
- åç´è ã¯each大好ãããªãã§ãeachãåãã§ã¼ã^^
- Enumraterã®ä¸çã¸ãããªãã¾ãã
- 3ã¤ã¥ã¡å¦çãããã¨ããeach_slice(3)ã使ã
- i, i + 1ã®é åãä½ãã¨ããeach_cons(2)
Rubyã§æ¥½ãããã©ã¼ã¯ããã°ã©ãã³ã° (Webã¢ããªãããªããè)
- Folk Programmingã¨ã¯ãã©ã¼ã¯ã½ã³ã°ã®ããã«æ°è»½ã«å§ããããã°ã©ãã³ã°
- ãã£ã¨æ°è»½ã«ããã°ã©ãã³ã°ããããï¼
- ãããWebã¢ããªä»¥å¤ã§ããããï¼
- ãªã¹ã¹ã¡ã¯ãã©ã°ã¤ã³ä½ãããããªãä½ãããããªã¼ã楽
- Safari + Hatena
- QuickSilver + Twitterããã¦ã¼
- ãªãã§Rubyãªã®ãï¼
- ã½ããã¨ã½ãããã¤ãªãã°ãªã¼ã¹ã«ãªãã
- èªèº«ããªãã¼ããããã¨ã§ãããã°ã楽
Ruby.pm - Cã©ã¤ãã©ãªã¨ãã¦ã®Ruby
- Rubyã¯Cã§ãªãã¸ã§ã¯ãæåããããã®è¨èªï¼
- Perlã§Rubyã®Cã©ã¤ãã©ãªã使ããã人ã®ããã®ã¢ã¸ã¥ã¼ã«
- ãªãã ã¨æãâ¦
Ruby 1.9 on Rails 2.1ã«ããæ°æ代DBããã°ã©ãã³ã°
- DBã®é²åã®æ´å²
- å®ã¯DBã¢ã¯ã»ã¹ã¯Railsã®å¼±ç¹
- ããã¦ä»å¹´Rails2.1ã§named_scope
- Book.written_by('Fawler').leastã¿ããªãã¨æ¸ãã
- ã¾ã¨ã
- ãã¼æéã ã
ãã¹ããã¼ã¹ã³ã¼ããªã¼ãã£ã³ã°ã®ããã
- ã©ããã£ã¦é£½ããã«ã½ã¼ã¹ã³ã¼ããèªããã¨ãã話
- ãã¹ããããã¦ãã¹ãããã¦ããªãè¡ãèªã¿ããã®è¡ã¸ã®ãã¹ããæ¸ã
- ãã¹ããä¸è¶³ãã¦ããªãã¨ãã®æ¹æ³ã¯ã§ããªãw
- PHPã¯ãã¹ããã°ãã£ããä½ããªã®ã§ãªã¹ã¹ã¡
A Jail Web Development with Rails 2008 ã§ãã£ãµããã£ãµã
- ãããããããããªãã¦ããããããåå¥ãªã¢ããªã®ä½ãæ¹
- ã¨ã¹ã±ã¼ããã¦ãé²ããªãXSSãããã
- FireFoxã§ã¯å¤§ä¸å¤«ã§ãIEã§ãã«ããã¤ãæåã«ããæ»æãããã
- 対çã¨ãã¦ã¯ãå ¥åããããã«ããã¤ãæååãæ£ããã¨ã³ã³ã¼ãã£ã³ã°ã確èªããã
- é¢åãããã®ã§ãmod_waffulã¨ããApacheã¢ã¸ã¥ã¼ã«ãä½ã£ã¦ããããããã
Industrial-Designed Language: Ruby
- å·¥æ¥ãã¶ã¤ã³ã«ã¤ãã¦ã®è©±ã
- æ¨å¹´ã°ãããã¶ã¤ã³è³ãFirefoxãåå¾
- Rubyãåªããå·¥æ¥è£½å
- ã¢ãã©ã¼ãã³ã¹ = 説æããªãã¦ãåããã¤ã³ã¿ã¼ãã§ã¼ã¹ã¿ãããªãã®
- Rubyã¯ååãã¤ããã®ãéè¦ã
- Rubyã§æ£ããååãã¤ãããã¨ã¯ã¢ãã©ã¼ãã³ã¹ã«ãªãã
- ååãã¤ããã®ã¯ã¨ã£ã¦ãéè¦ãname is power â name is ã¢ãã©ã¼ãã³ã¹
- UStreamè¦ã¦ã人ã使ãã¾ãããw
- Matzã®å±ãè¶ ãã¦èªåã®è¨èªãä½ãã¾ãããï¼ã§ã·ã¡w
RubyKaigi 2008 æè²ã»ãã·ã§ã³ã®ã¡ã¢
Ruby<ã>æããããããªããRuby<ã§>æãã¦ããã ã£ã¦ã° by æ±å¤§-å¢åãã
- 400人ãããã«ã³ã³ãã¥ã¼ã¿ãµã¤ã¨ã³ã¹ã®åºç¤ãæãã¦ãã
- Rubyãããªãã¦ããããã©ãåããã®ãä½ã£ã¦ã¢ã«ã´ãªãºã ãè¨ç®éãæãã¦ãã
- 400äººå ¨å¡ãRubyistã«ãªããããããªãw
ãªãã§Rubyã使ã£ããï¼
- ã¢ã¡ãªã«ã§6å¹´ã®éã«å¤§å¦ã§ã³ã³ãã¥ã¼ã¿ãµã¤ã¨ã³ã¹ãå¦ã¶äººã1/6ã«ãæ¥æ¬ã§ãåãå¾åãã
- ããã«ã¼ã§ãªã人ã«ããã°ã©ã ã®é¢ç½ããä¼ããããã«å¤ãããã
- åã¯Javaã§æãã¦ãããpublic static void mainã¯ãã¼ãw
æè²è¨èªé¸æã®åºæº
- 家ã§ãã§ããã
- æ¥æ¬èªããã¥ã¡ã³ããè±å¯ã
- ãªãã¸ã§ã¯ãæåè¨èª
- JS, Python, ãªã§ãã, Rubyãªã©ãåè£ã«ã
æãæ¹
- Rubyã®ã©ã¤ãã©ãªã«ããã¡ã½ããã¯ä½¿ããªããèªåã§ä½ããå ããããã¡ã½ããã®èª¬æã大å¤
- ã¨ããããã¯ã©ã¹ã使ããã«æãããæåã¯å¶å¾¡æ§æããæãã¦æå¾ã®æå¾ã§ã¯ã©ã¹
Rubyã®ããã¨ãã
ã¤ã¾ã£ãã¨ãã
- å¦çãã¤ã³ãã³ãããã¦ãããªãã
- å çã¨ã©ã¼ãããã¾ãããªãã®ã¨ã©ã¼ï¼ãå¤ãªã¨ã©ã¼ã§ããâ¦
- å¦çãã¨ã©ã¼ã¡ãã»ã¼ã¸èªãã§ãããªãã
- æ¥æ¬èªãåºãã¼ã
- "ãå ¨è§w
- å ¨è§ç©ºç½ãå ¥ã£ã¦ãw
ã¾ã¨ã
ãªãã®è¨èªã使ããã¨æåã¯ææ³ã¨ãã§ã¤ã¾ãããã ããã
æåããRubyæè²ã®ãã©ã¯ãã£ã¹ by åç°ãã
ããã«åå¿è ã«Rubyãæããã®ãã¨ãã課é¡ã¸æææ¦ãã¦ã®ãã©ã¯ãã£ã¹ã
社å ã«Rubyéçºè ãå¢ããã«ã¯ï¼
- 社å ã§ã§ãã人ãæãã
- EY-Officeãå¼ã¶w
- ä»ç¤¾ã®æè²ãµã¼ãã¹å©ç¨
- åå¼·ä¼ã¨ãã«åå
1çªãããããããªãï¼ã¨ãã話
- ä¼ç¤¾ãé¨ç½²ã«ãã£ã¦ãããããã¨ãæããã¹ããã¨ãå¤ãã£ã¦ãããèªåãã¡ã®ç¹å¾´ããããã
- 社å ã«æããæåãã§ããã
æããå´ã®ã¡ãªãã
- è¬å¸«ãä¸çªåå¼·ã«ãªã
- å°æ¥ãè¬å¸«æ¥ã¨ããé¸ææãå¢ãã
ãã©ã¯ãã£ã¹
- å®ç¿ã¯ãã¢ããã§ãã
- äºäººã§è°è«ããããèãè¾¼ã¾ãªã
- ã¹ãã«ã®å·®ãå¸å
- ãã¹ãé§åéçº
- Hello Worldãæ¸ãã¦ãå®æ¥åã§ã¯ä½¿ããªãã
- ãã¹ãã±ã¼ã¹ãçµé¨è ãæ¸ãã¦ãä¸èº«ãåå¿è ãå®è£ ããã¨ãã
- ã²ã¼ã æè¦ã§åå¼·ã§ãã¦æ¥½ãããï¼ãªã¼ã«ã°ãªã¼ã³ã«ããã²ã¼ã ï¼
- ä»ã®è¨èªã®ç§é¸ãªæ¬ãæè²ã«å©ç¨ãã
- ç´¹ä»ãã¦ããã®ã¯ãããªããããªãã¯Javaã§ãªãã¸ã§ã¯ãæåéçºãã§ããªãã®ãâJavaã®å£ãå æããå®è·µãã¬ã¼ãã³ã°ãã¨ããæ¬ãåç°ããã¯ãã®æ¬ã®åé¡ãRubyã«æ¸ãæãã¦ä½¿ã£ã¦ãã
RSpecã«ããRailsã¢ããªã±ã¼ã·ã§ã³BDDäºä¾å ±å by Yuguiãã
ASPã®æ¢åãµã¼ãã¹æ¹ä¿®ããRailsã«ç½®ãæãã¦Specã使ã£ã¦ããã¸ã§ã¯ããç«ã¦ç´ããè¨é²ã
ã¾ããã£ããã¨
- ãã¼ã¸ã§ã³ç®¡çãã
- BTSå°å ¥
- Buildãããã¤èªåå
- ãã¹ãèªåå
ãã¼ã¸ã§ã³ç®¡çãã¦ãªãã£ãã®ãw
çµå±ä¸ã®æ¹éã¯æ²¡ã«
- äºæ¥æ¹éçã«ã¹ãã¼ãã足ããªã
- ããã§ãã¾ã åºããã°
- æ¢åã®ãã°ã§æ©è½è¿½å ã«æãåããªã
ããã§æ°ããªè¦ä»¶ãå ¥ã
- æ¢åã·ã¹ãã ã1ã¶æã§ãªãã¬ã¤ã¹ï¼æ©è½è¿½å
âæ¢åã·ã¹ãã ããã°ãã°ã§æãããããªããããã£ãç½®ãæãã¦ãã¾ãï¼
Railsã¸ã®æ±ºå®è¦å
- ãªã¼ãã³ã½ã¼ã¹ã§ãããã¨ãããã¨ãªãã°ã½ã¼ã¹è¦ãã
- Rspecããã£ããã¨ã
éçºãã§ã¤ãºã«æ§å
- èªåãã¹ã(Selenium)ã®è³ç£ãçãããããã¾ããªä»æ§ãææ¡ã§ããã
- åä½ãã¹ãã確å®ã«æ¸ã
- ã³ã¼ãã®ï¼å²ããã¹ãã³ã¼ãã«ãªã£ã¦ãã
ãã£ã¦ã¿ãçµæ
- æ £ãã¦ã人ãSpecãæ¸ããªããä½ã
- æ £ãã¦ãªã人ãSpecãçä¼¼ãªããããã
- Specããããã¨ã§åå¥ãªã¢ããªãä½ããã
ã¾ã¨ã
å®éã«ãã£ã¦ãã人ããSpecãããã¨å®å¿ã§ãããã¨ããææ³ã
質åãé¢ç½ãw
Q.ä¸ããç¡é§ãªãã¹ãæ¸ãã¦ãªãã§ãæ©è½è¿½å ãã¦ããã¨è¨ããã¾ãããï¼
A.åºæ¬çã«ããåã¯ä½ãåãã£ã¦ãªããã ããé»ã£ã¦ãã
ä¼å ´ããããã¼ã¼ã¼ã¼ææææ
Q.RSpecã¯ãªã«ã«å¯¾ãã¦ã©ããªãã¨ãæ¸ãã¦ãããï¼
A.Modelã¯å
¨ã¦ã®å
¬éã¡ã½ããã«å¯¾ãã¦ãControllerã¯ãã©ã¡ã¼ã¿ã®åãåãã¨Mockã®å¼ã³åºããªã©ãViewã®ãã¹ãã¯ãã£ã±ãè¦å´ããã¿ããã
â»RSpecã«ããRailsã¢ããªã±ã¼ã·ã§ã³BDDäºä¾å ±å by æ¾ç°ããã«ãªã£ã¦ã¾ãããæ£ããã¯Yuguiããã§ãããè©«ã³ãã¦è¨æ£ãã¾ãã