IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
é»æ³¢ç³»Rubyããã°ã©ãã好ããªè¨èªã¯C++ã¨Luaãæè¿ï¼ä»äºã§ã¯Railsã§ã®Webã¢ããªã±ã¼ã·ã§ã³ã®éçºã主ã«ãã£ã¦ãã¾ããWebã¢ããªã±ã¼ã·ã§ã³ã°ãã触ã£ã¦ããã¨ï¼ã¨ãã©ãã¢ã»ã³ãã©ãæãããªãã¾ãããä»äºã«ãã¾ãã¦ãããã¡ã«ï¼è¶£å³ã§éçºãããããã°ã©ã ã®ãã¿ã大éã«ãã¾ã£ã¦ãã¾ãã Rubyã§è¨è¿°ãããWebã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯Ruby on Railsï¼Railsï¼ã人æ°ãåãï¼Railsã使ãã®ã«å¿ è¦ãªRubyãã¾ã話é¡ã«ãªã£ã¦ãã¾ããRailsã®ä½è ã§ããDavid Heinemeier Hanssonæ°ã¯ãRailsã«ã¯ï¼Rubyã¨åãæ触ï¼åãåãï¼åãå³ããããããã¨è¨ã£ã¦ãã¾ãããã®è¨èã«ã¯æ§ã ãªè§£éãããã¾ããï¼çè ã¯ï¼ãRubyã®ãããããã極éã¾ã§çªãè©°ãã¦ãã¬ã¼ã ã¯ã¼ã¯ã«é©ç¨ããã®ãRailsã§ããã¨èãã¦ãã¾ãã Rubyã¯ä½ãã«ã¤ãã人ã«åªãã
å°å·ãã ã¡ã¼ã«ã§éã ããã¹ã HTML é»åæ¸ç± PDF ãã¦ã³ãã¼ã ããã¹ã é»åæ¸ç± PDF ã¯ãªããããè¨äºãMyãã¼ã¸ããèªããã¨ãã§ãã¾ã Linuxç¨ã®Ruby on Railsããã±ã¼ã¸ãLinRailsããã¼ã¸ã§ã³ 0.1ããªãªã¼ã¹ããããRubyã®ã©ã³ã¿ã¤ã ããå種ã©ã¤ãã©ãªããã¼ã¿ãã¼ã¹ã½ããã¦ã§ã¢ã¾ã§å¿ è¦ãªãã®ã1ããã±ã¼ã¸ã«ã¾ã¨ãããã¦ããã LinRailsã«ã¯Ruby 1.8.6ãRubygems 0.9.4ãRuby on Rails 1.2.3ãMongrel 1.0.1ãMySQL 5.0.41ãncurses 5.6ãOpenSSL 0.9.8eãzlib 1.2.3ãå«ã¾ãããRuby on Railsã§ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ãä½æããããã®ã³ã³ãã¼ãã³ãããªã¼ã«ã»ã¤ã³ã»ã¯ã³ã§å ¥æã§ããã対象ã¨ãªãOSã¯x86 32bitã®Linuxã ãUbun
Ruby on Railsã®ç´ æ´ãããç¹ã®ä¸ã¤ã«ããã¼ãã«éã®é¢ä¿ãããã°ã©ã ä¸ã§å®ç¾©ãããã¨ã§ããã¼ã¿ãèªå¨ã«åãåºããããã«ãªãã¨ããäºãæããããã E-Rå³ãªã©ã§ãªã¬ã¼ã·ã§ã³ãå®ç¾©ãã¦ãããããé©åã«ããã°ã©ã ããã¦ãããã©ããã¯åãããªããã ããããã°ã©ã ä¸ã§å®ç¾©ããå¶å¾¡ã§ããRailsã§ããã°é©åã«å¦çãããããã«ãªãã足ããªãã®ã¯ããã¼ã¸ã£åãã®E-Rå³ã®åå¨ã ããã ä»åç´¹ä»ãããªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ã¯RailRoadãRailsåãã®ãã¤ã¢ãã°ã¸ã§ãã¬ã¼ã¿ã ã RailRoadã使ãã¨ãã¢ãã«ãã³ã³ããã¼ã©ã¼ã®é¢ä¿ãããGraphvizåãã®dotãã¡ã¤ã«ãçæã§ãããå¾ã¯SVGãPNGã¨ãã£ãå½¢å¼ã¸ã®å¤æãå¯è½ã ã ã¢ãã«ã§ããã°E-Rå³ãçæããããã¼ãã«éã®é¢ä¿ã表ç¾ããããã³ã³ããã¼ã©ã¼ã§ããã°ãã¡ã½ããã表示ããããã©ã¡ããè¤æ°äººã§ã®éçºæããè¦æ¨¡ã大ãã
ããã«ã¡ã¯ satoã§ãã testã³ã¼ãã§ã¯ããã©ã¼ãã³ã¹ãã»ãã¥ãªãã£ããã»ã©æ°ã«ãããã¨ã¯ãªãã¨æãã®ã§ãtestã³ã¼ã㧠evalã使ã£ã¦æ¥½ã§ããã±ã¼ã¹ãæ¸ãã¦ã¿ããã¨æãã¾ãã ããä¼¼ãModel 㧠User㨠Admin ãããã¨ãã¾ãããäºã¤ã® Model ã«ã¯ confirm ã¨ããã¡ã½ãããå®ç¾©ããã¦ãã¦ãã¦ã¼ã¶ç»é²ããã¦ã¡ã¼ã«ã§éããã¦ãã URLãããã¯ãªãã¯ãã㨠status ã 'register' ãã 'confirm' ã«å¤æ´ããã¾ãã class UserTest ["status = ?", 'register']) user.confirm assert(user.status == 'confirm', 'confirm error') end end ã¨ãããã¹ããUserTestã㨠AdminTest ã«æ¸ãã¾ãã ããã以ä¸ã®ãã㪠mo
Railsã¯ä½¿ã£ã¦ããå ã«ããã¯ãRails以å¤ã§ããã°ã©ã ãããããªããªãä½ã®é åããããMVCã®ä»çµã¿ã¨ãããO/Rãããã³ã°ã¨ãããMigrationã¨ããâ¦ãããããã«é åã溢ãã¦ããã ãããªRailsãããã«é åçã«ãªãã©ã¤ãã©ãªãããã ãRubyã®å£ããããJavaScriptä¸ã§DBæä½ãå¯è½ã«ãªãã ä»åç´¹ä»ãããªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ã¯JesterãRESTã«ããDBæä½ãè¡ãJavaScriptã©ã¤ãã©ãªã ã åç´ã«è¨ãã¨ãJesterã¯XMLãã¼ã¹ã§Webãµã¼ãã«ãªã¯ã¨ã¹ããè¡ãããã®çµæãXMLãã¼ã¹ã§åãåããJavaScriptã®ã¯ã©ã¹ã«ãã¦ããããæä½ã¯RESTã§è¡ããããã¼ã¿åå¾ç³»ã¯GETãä½æå¦çã¯POSTãæ´æ°å¦çãPUTãåé¤å¦çãDELETEã¨ãªã£ã¦ããã æä½ã ããèããã¨ãRailsã«éã£ããã®ã§ã¯ãªããä»ã®è¨èªã§ãã¤ã³ã¿ãã§ã¼ã¹ãç¨æãã
2007/06/12 ä¸ççã«æ³¨ç®ãé«ã¾ã£ã¦ããããã°ã©ãã³ã°è¨èªãRubyãã®éçºè ã³ãã¥ããã£ãéããæ¥æ¬ Ruby ä¼è° 2007ãï¼ä»¥ä¸ãRubyKaigi2007ï¼ãã6æ9æ¥ã10æ¥ã®2æ¥éãæ±äº¬é½å ã§éå¬ãããã Rubyè¨èªã¯ãæ¥æ¬å¨ä½ã®ã¾ã¤ãã¨ããã²ãæ°ãéçºããæ¥æ¬ã®éçºè ã³ãã¥ããã£ãä¸å¿ã¨ãªã£ã¦ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ã¨ãã¦éçºãé²ãã¦ãããããã°ãèã®æ ¹è¨èªãã§ããããä¸çä¸ã§å©ç¨è ãå¢ãã¤ã¤ãããç¹ã«Webã¢ããªã±ã¼ã·ã§ã³åãé«çç£æ§ãã¬ã¼ã ã¯ã¼ã¯ãRuby on Railsãã®ç»å ´ã§æ¡ç¨ãæ¥éã«åºããã¤ã¤ãããä»å¾ãRubyéçºè 人å£ãççºçã«æ¥å¢ããå¯è½æ§ãé«ããRubyKaigi2007ã¯ããã®ãããªç¶æ³ã«å¯¾ããéçºè ã³ãã¥ããã£ã®åãçµã¿ã示ãå ´ã¨ãªã£ãã 以ä¸ãåºèª¿è¬æ¼ã®æ¦è¦ã¨ã次ä¸ä»£ã®Ruby1.9ã®æ°æ©è½ãä¸å¿ã«ãRubyKaigi2007ã®æ§
æ åã«ãããRuby On Railsããã¥ã¼ããªã¢ã«ãæºè¼ï¼ãRailsCastã March 20th, 2007 Posted in ããã°ã»RSSãã¼ã« Write comment Ruby On Railsãåºãã¨ãã¯è¡æã§ããããã ãä»ã¾ã§ã®éçºã¹ãã¼ãã10åã«ï¼ãã¨ãããããæå¥ã«æ¬å½ï¼ã¨æããªããããã¥ã¼ããªã¢ã«æ åãè¦ã¦ç´å¾ãã人ãå¤ãã¯ãã ããã10åç¨åº¦ã®æ åã«ããããããããã¼ã¿ãã¼ã¹ã®æ´æ°ãããããã§ããã¢ããªã±ã¼ã·ã§ã³ãç®ã®åã§ã§ãã¦ããæ§åã¯å§å·»ã§ããã ãããã¦æ åã§è¦ãã¦ãããã¨Ruby On Railsã®é åã¯ããããããã§ãããã ããã§ä»åã¯ãRailsCastsãããç´¹ä»ã ãã®ãµã¤ãã§ã¯Ruby On Railsã®æ åãã¥ã¼ããªã¢ã«ãé£è¼ä¸ã§ãããã¡ãããã¹ã¦ã®æ©è½ãç¶²ç¾ ãã¦ããããã§ã¯ãªãã§ãããæ åã§è¦ããããã¨ãããããããããã§ãã
ä¹ æ«ã§ãã宣ä¼ã¨ãã©ãã¼ã§ãã WebSiteExpertã¨ããWebå¶ä½è åãã®éèªã«Plaggerã«ã¤ãã¦ã®è¨äºãæ¸ãã¾ããã Webå¶ä½è åãã¨ãããã¨ã§ãPlaggerãã®ãã®ã®èª¬æãæ¯è¼çç°¡åãªPlaggerã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã ããã¦ãPlaggerã§ã¯ãã³ããåéãããµã¤ããèªåçæããã¨ãã3ã¤ã®è©±é¡ãæ±ã£ã¦ãã¾ãã Plaggerãç¥ããªãæ¹ãé£ãããã§æ¬é ãã¦ããæ¹ãã¤ã³ã¹ãã¼ã«ã«å¤±æãã¦ããããã¦ãã¾ã£ãæ¹ããã¯ãã³ãæ å ±ããã§ãã¯ãããå¤åãªWebå±ããã®å©ãã«ãªãããã«ã§ããã ãå³ãå¤ã使ã£ã¦è¡¨ç¾ãã¾ããã src=âhttp://g-ec2.images-amazon.com/images/I/31jfbcjnSpL.jpgâ height=â160â³ width=â113â³ alt=âWeb Site Expert #12â³ title=âWeb S
ã5åãããã§Cometã使ã£ãChatãä½ãæ¹æ³ã ãå®éã«ãã£ã¦ã¿ã¾ããããã¨ã çµè«ããè¨ãã°ããããã°ãã°5åã§ããããããã£ã¦æãã§ãã æé ããç解ã§ãã¦ãã°ã¼ã¡ã¼ã¡ãã£ã¦ã10åã¯ããããªãããããªãããªãã ç·¨éãããã¡ã¤ã«ã¯ãã®ãã¼ã¸ã«è¼ãã¦ããã®ãå ¨ã¦ã ãã ã¦ãã¨ã§ã説æéå§ã ï¼åæï¼ shooting_starã¯gem installæ¸ã¿ã¨ãã¾ã ã¢ããªåãç§å ããã®åç»ã¨éãã®ã¯æ°ã«ããªãã§ä¸ãã ï¼æºåï¼ railsã³ãã³ãã§ã¢ããªã±ã¼ã·ã§ã³çæ $ rails shot_chat create create app/controllers create app/helpers create app/models meteor_strikeãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã« $ cd shot_chat $ ./script/plugin install svn://r
Let'sããã°ã©ãã³ã°ã§ã¯åå¿è ã®æ¹ã対象ã«JavaãPythonãPHPãRubyãªã©è²ã ãªããã°ã©ãã³ã°è¨èªã®è§£èª¬ãè¡ã£ã¦ãã¾ãã Java Javaå ¥é ããããJavaã使ã£ãããã°ã©ãã³ã°ã®ç¿å¾ãç®æãã¦ããæ¹ã対象ã¨ãããã¥ã¼ããªã¢ã«ã§ã ãµã¼ãã¬ãã(Servlet) / JSPå ¥é ãµã¼ããµã¤ãã§åä½ããã¢ããªã±ã¼ã·ã§ã³ã®ä½ææ¹æ³ Androidããã°ã©ãã³ã°å ¥é ã¢ãã¤ã«åããã©ãããã©ã¼ã Android ã§åãã¢ããªã®ä½æ Swingã使ã£ã¦ã¿ãã GUIã使ã£ãJavaã¢ããªã±ã¼ã·ã§ã³ã®ä½æã§ä½¿ç¨ããSwingå ¥éã§ã Eclipseå ¥é éçºç°å¢ã¨ãã¦åºã使ããã¦ããEclipseã®ã¤ã³ã¹ãã¼ã«ã¨æ´»ç¨æ³ Javadocã®è¨è¿° ã½ã¼ã¹ã³ã¼ãããHTMLå½¢å¼ã®ä»æ§æ¸ãçæãã¾ã Apache POIã§Excelãæä½ Excelãã¡ã¤ã«ã®ä½æã»æä½
ã¡ã³ããã³ã¹
ãç¥ãã
é害
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}