æ°çè¨äº 2006-12-29 SQL Designer ThunderBird éä¿¡æ¸ã¿ãã¬ã¤ã§ãã£ã«ã¿ãå®è¡ãã¦ãã¾ã£ãã¨ã 2006-12-27 é«ç¥åºå¼µ Rails åå¼·ä¼ï¼ é¢è¥¿ç¬¬6å (2) 2006-12-26 cocoa surround.vim 2006-12-24 èå£1 2006-12-18 rakeãã¨ã©ã¼ 2006-12-17 Temporal Data on Rails: #1 Collection Item ã®çæ 2006-12-15 WEB+DB PRESS Vol.36 2006-12-11 Rails åå¼·ä¼ï¼ é¢è¥¿ç¬¬6å 2006-12-10 ãã©ã³ã¶ã¯ã·ã§ã³å¦ç, èªæ¸ã«ã¤ã㦠2006-12-06 6NFããããã6NF 2006-12-01 UnSpun by Amazon æè¿ã®ããã³ã rkyntggejp (06-19) ã«ãã´ãª Apach
Railsãªäººã ãSeasarãªäººã ã«æã¾ãã¦ãç¡æå±ç³»ã§äººè¦ç¥ãã®åã¯å¤§å¤ç·å¼µãããã¾ããã ã¡ãã£ã¨é¢ç½ãã£ãã®ã¯é£²ã¿ä¼åã®å¦ã«ç·å¼µããé°å²æ°ãå ¨å¡ãæ²é»ãã¦è³æèªãã§ã風æ¯ããããã£ããåºå¡ãã¡ãã£ã¨ã³ã£ãããã¦ããã åã¯ãå®´ä¼åæã¯id:habuakihiroããã®é£ã®ä½ç½®ã¨ãã好ãã¸ã·ã§ã³ã«ã¤ããªããããªããABDã®è©±ãã»ã¨ãã©ãã¦ãªãã£ããã(ã ãããã) ã¡ãã£ã¨è©±ãã¦ããã®ã¯UIã®è©±ãã¡ãã£ã¨è©±é¡ã«ãªã£ãã®ã¯ãä¾ãã°MSOfficeã®ãããªGUIã¢ããªã®ãã¶ã¤ãã¯ã©ããªä»äºããã¦ãããã ããã¨ãã話ããªãã¨ãªããªãã£ã¹ã¢ããªã®ããã¶ã¤ãããHTMLç¸å½ã®ç»é¢ç³»ã®ã³ã¼ã(WPFã¿ãããª)ã«è§¦ããã¨ãç¡ããããªæ°ããããä»ã®Webç³»ããã°ã©ãã®å¸¸èãã©ãã¾ã§å¸¸èãªã®ã? ãã¨WindowsPowerShellã«ãã³ã¤ã¤ã¨ãã話ã ãã®ãã¨ä»ã®äººã¨ABDãã¯ã¼ã¯ããã¼ã®è©±ãªã©ãª
Railsã«ã¯DBè¨è¨ææ³ããªããããRailsã®äººãã¡ãABDã«èå³ããã£ã¦ããæ¬å½ï¼ãå®ã¯Railsããããã¨ãã¦ãªããã¨ãRailsã«æ¼ãè¾¼ãããã¨ãã¦ãããç¡çãã§ã¦ããã£ã¦ã ããããªãã®ï¼ããªãã¦ãããããRubyã¨ãRails大好ãã ããããJavaç³»ã®äººãRailsã«é¨ããã¦ä¸ç¬å³å¾å·¦å¾ãã¡ãã£ãã¿ããã«ãRailsç³»ã®äººãé¨ããã¦å³å¾å·¦å¾ããã®ã¯è¦ãããªãã®ããï¼é¨ããã¦ã£ã¦ããã®ã¯æ¯å©ã§ããããï¼ãããã§é¨ãæ¹ã¨ããã¦ãå´ã«é¨ãæå³ã¯ããã¾ããã§ãããããããé¨ãã®ã¯è©±é¡ã«ã§ã¦ãããããéèªã§ããï¼ï¼ ãã¦ããã¾ãè¨èªåã§ãããã©ããã¯ãããããã©ãã¤ãã¤ãã¨æ¸ãã¦ã¿ãããã¨ãç§ã¯Buriã¨ãABDã¨ã詳ããç¥ããªãã®ã§ãåæ¸ãã¦ãããããã¾ãããå ã«è¬ã£ã¦ããã¾ããããããªããã ã¾ãããªãã§ABDã®è©±ãªã®ã«Buriã£ã¦ã®ãã§ã¦ããã®ãã£ã¦ãã¨ãèããªãããããªãã¯ãã
è¡ã£ã¦ãã¾ããããããï¼ å¹¹äºã®æ¹ããããã¨ããããã¾ããããããããåãã¦yuguiãããidentifyãããã ãã©ãã³ã£ããã ï¼ãäºåº¦ãç´¹ä»ããã¦ãï¼ï¼ã俺ãé§ç®ããï¼ï¼ï¼ ããã¡ãã£ã¨ããªãããã£ã¦ãããã£ãã¨ããããã§ããã¼ï¼ãããã¡ã¯ãã£ã¦ã®ã¯ãªããã¤ãã¥ã¼ã¿ãã«ãªãã ãããï¼ããã¹ãã¼ããæããªããªã¸ã§ã¯ããªãã¦ãªãã¸ã§ã¯ããããã¼ï¼ï¼ãã¿ãããªä¹±éã¨ãããããä»æããã³ãã³ã³ããã¼ã©ãã¿ã³ããï½ï½ï½ï½ï½ããã¹ãã¼ãã¬ã¹ã«ãã ãããªãã¦ãOOPãããããã¼ã ããããªãã®ï½ï½ï½ï½ï½ï½ï½ãã¿ãããªä¹±éã¨ãã ããã俺ã¯ã©ã£ã¡ã使ãã¾ããã©ãã ããä»æ°ä»ãããã¢ã¼ãã³ã°å¨ã¯å®åã¨é£¯ç°ã®æè 復活ç©èªã§ã飯ç°ããªã¼ãã¼ã«ãªãã£ã¦ããåå©ã«ãã£ã¦ç¬¬äºé¨å®ã§ãã¨ã¯ããããã«èå³ãã¦ãã¼ãã§ããã£ã¦è©±ãä¸æ¹çã«ã¾ãããã¦ãç¸æãèæ³¢ã®ä¸ã®äººãï¼ï¼ããã£ã¨ã¾ã¨ããªè©±ããããããã£ãããã£ãã
has_one :throughãä½ã£ã¦ã¦ãä¸å¿ãåºæ¬çãªä½¿ãããã«é¢ãã¦ã¯åãããã«ãªã£ãã¨æããæ¬å®¶ã®Revision 5642ããåå²ãããªãã¸ããªã <URL:http://svn.yugui.jp/svn/has_one_through/trunk/> ã«ç½®ãã¦ããã(注: 2007-07-12ç¾å¨ãµã¼ãã¼åæ¢ä¸) has_one :throughãªé¢é£ãEager loadingããã¨ãã®æã¾ããæåãããããããªãã Polymorphic Relationshipã¨ã®çµ¡ã¿ã¯é©å½ããããªä»æ§ã§ããã®ããªã ç§å ãããæ¸ãã¦ããã Unsaved Object ã®ã¨ããã¯ã¾ã åãè¾¼ãã§ãªããããã次ã®ã¿ã¹ã¯ããªã æ®ãã®ä»æ§ãåºã¾ã£ã¦ããããå®è£ ãããæ¬å®¶ã«ããããæããã ç¾æç¹ã§ã®patch
@@ -1 +1,94 @@ -qxOrcqGl +2006å¹´12æ3æ¥ã«ãActivity Based Datamodel飲㿠+ä¼ãéå¬ãã¾ããABDæå±è ã®ç¾½çç« æ´ããããæããã¦ãã¼ã¿ +ãã¼ã¹ã¢ããªã³ã°ã«ã¤ãã¦èªãéãã§ãã + +'''ï¼ãã®ã¦ã£ãã¯é ãã¨ã2011å¹´ã«ã¯ç®¡çãããªããªã£ã¦ãã¾ãï¼''' + +! æ¦è¦ +ABD(Activity Based Datamodel)ã¯ç¾½çç« æ´ãããæå±ãããã¼ã¿ãã¼ +ã¹è¨è¨ææ³ã§ããç¾½çããã®ãã¼ã ã°ã©ã¦ã³ãã§ããSeasarã³ +ãã¥ããã£ã¯å¿è«ã®ãã¨ããã®ã¢ã¸ã£ã¤ã«éçºã¨ã®è¦ªåæ§ããRuby on +Railsã³ãã¥ããã£ã«ããã¦ã注ç®ãéãã¦ãã¾ãã + +ABDã«ã¤ãã¦ã¯2006å¹´Developers SummitãSeasar +Conference 2006 Springã«ãããç¾½çããã®è¬æ¼ãå¯ä¸ã®æ å ±æºã§ã +ã
éæ£è¦å½¢ã®è¡¨ãä¸ããããã¨ãã«ããã®è¡¨ãåºåã§ããDBãã©ããã£ã¦è¨è¨ãããã ä¼çµ±çDBè¨è¨æ³ã»Tåå½¢ERææ³ã»ABDã®ããæ¹ã並ã¹ã¦æ¸ãã¦ã¿ãã ä¼çµ±çDBè¨è¨æ³ ä¼çµ±çãªDBè¨è¨ã§ã¯ãéæ£è¦å½¢ã®è¡¨ãæ£è¦åããéç¨ã§ãã¨ã³ãã£ãã£ãåãåºãã¦ããã ã¾ãæ£è¦åããªãããé¢æ°å¾å±æ§ã«å¾ã£ã¦å±æ§ãå²ãæ¯ã£ã¦ããã ãã¼ã¿é ç®ã®æå³ã¯èããããã¼ã¿é ç®ã®éè¤ãæå°ã«ãªãããã«å解ããã®ã§ãm:nã®é¢ä¿ã®æ以å¤ã¯äº¤å·®ã¨ã³ãã£ãã£ã¯çºçãããã社å¡ãã¹ã¿ã«æå±é¨éã³ã¼ãããããã¨ãã£ãçµæã«ãªãã Tåå½¢ERææ³ ä¸è¨ãåé¡è¦ããã®ãTåå½¢ERææ³ã Tåå½¢ER ãã¼ã¿ãã¼ã¹è¨è¨ææ³ P-26 ERææ³ã大ããåéããããç¹ã¯ããã¼ã¿ãæ£è¦åãã¦ãããERææ³ã使ã£ã¦ãã¼ã¿æ§é ã表ç¾ãããã¨ããç¹ã«ããã ã¤ã¾ããERææ³ã表ç¾æ段ã«æãä¸ãã£ã¦ãã¾ã£ãã®ã§ãããERææ³ã¯ãæèæ段(解æææ³)
åé¤ãã©ã°(ã¨ããããè«çåé¤ãåé¤ãã©ã°ã ãã§å®è£ ãããã¨ã)æ¹å¤ã¯ä½åº¦ãè¦ã¦ããã PostgreSQLã¢ã³ãããã¿ã¼ã³ ããè¦ãã¨ãã¯ãè«çåé¤èªä½ãéæ±ãã«ãªã£ã¦ãã¾ã£ãããã ã éã ããã¨ä½ã ããã¨è«çåé¤(ã¨ããããªã«ãæä¾ããç©´)ã¯è¦ä»¶ã®å®è£ ã«å¿ è¦ãªã®ã§ããã®ã¸ãã®è°è«ã¯ãã¾ãã¾ããã«è¿½ã£ã¦ããªãã£ãã ãã¤ã ã£ãããåé¤ãã©ã°ã¯ãã°ã®æ¸©åºã ããããããã¨ãã主張ãèªãã§ãããªãã»ã©ã¨æããã§ã¯ã©ããã£ã¦è«çåé¤ãå®è£ ããã®ããªã¨æã£ã¦ç¶ããèªãã¨ããã»ãã¨ã«åé¤ãããã¼ã¿ãå¿ è¦ã§ãã?ãã¨ã¦ã¼ã¶ã«ç¢ºèªãã¦ãç©çåé¤ã«å¤ãããã¦ããããã¨æ¸ãã¦ãã£ã¦ãºã³ã¼ã¨ãªã£ããã¨ãããããè¦ä»¶åã£ã¦ãããªãå®è£ ä¸ã®ã©ããªåé¡ãæ¶ããããã§ãä½ãããå¥ä¸çã®è°è«ã§èªåã®ä»äºã«ã¯é¢ä¿ãªãã¨æã£ã¦ããã ããããã ãç¹°ãè¿ãæ¹å¤ããã¦ããããã«ã¯ãè«çåé¤ãæ£ãã使ãæ¹æ³ãªãæ¡ä»¶ãªããæããã«
ããã¾ã§ãRailsã§ABDãã©ãããã£ã¦ããã¨ããããã ABD (Activity Based Modeling) ã®ä½ç³»ãæ³åãã(1) ã®ãè¬ã¨èª²é¡ãã«åçãã¦ã¿ãã resource ã®ä¸ã« Relationship(å¤é¨ãã¼)ãæ··å¨ãã¦ãããã¨ã®ãããã ããããã¯ãªããã¯ã¶ããæ°ãIREãåæã«èããæ¹ãããRDBã®èæ¯çè«ã®ç´ æ´ãªå®è£ ã§ã¯ãããããããã©ããç´ æ´ãªå®è£ ã§IREã沢山çºçãã¦ãã¾ããã¨ã«ããçµåã³ã¹ããæ¸ããããã®æé©åãã¯ããã¯ã¨ãã¦æ··å¨ãããã¨ããã®ã¯ããå¤ãªè©±ãããªãã®ã ã¨æãã ãã ãæå¾ã§èããã°ãã¨ã§æ¸ãã¦ãã£ããããåæ¥åå°ç¨ã®ãã¼ã¿ã¢ã¯ã»ã¹ããããã¥ãããªãããããã§ç§ã¯åç¹å帰ã«ãã¦eXtremeãªABDã¯é¢ç½ãã¨æã£ã¦ãã æ¥åãã¨ã«ãªãã¸ã§ã¯ãã®ãã§ã¼ã³ãæç¹°ãã¾ããå¿ è¦ ãªãããæ¸ãã¦ã¿ãã¨SQLã§æ¸ãããããã ãããã ãããªãã¸ã§ã¯ã
å½¢å¼ã¯ååã»å¾åã«æéãåºåã£ã¦ ãªã¼ãã³ã¹ãã¼ã¹ å½¢å¼ãè¦ ãã¸ã·ã§ã³ã»ãã¼ãã¼ ã¨ããã®ãå¤ãããã ãã®å½¢å¼ã¯ããããããªãããªã¨æã£ã¦ããæåãç§èåã§ãã£ã¦ããé ãåå è å ¨å¡ãéã¾ã£ã¦åº§ããå ´æã確ä¿ã§ããªãã£ãæ ã« è§è°·ãã ã®çºæ¡ã§ãªã¼ãã³ã¹ãã¼ã¹ã«ãªã£ãããã ããã©( 第0å )ãããã«ãã£ã¦ãæå¤ã§10人ç¨åº¦ã«åãããããåå è ã®ã³ãã¥ãã±ã¼ã·ã§ã³ãä¿é²ããã¦ããListen Only Memberãçºçãã«ããä»çµã¿ã«ãªã£ã¦ãããããªããã¨æãã åé¢ãå°æ°ã§ãããæ ã«å ¨å¡ãåã身ã ã¨ã²ãããæ²é»ã«ãªã£ã¦ãã¾ãã®ã¯ç¢ºããä¸ææãããããæãã§ãã¤ã¾ã§çµã£ã¦ãã»ãã·ã§ã³æ¡ãåºãªãã£ããããããã©ãã§ãã ããã¯ã ããã®æè¨ã§äºåã«ã»ãã·ã§ã³æ¡ãååã«åºãã¦ããã¨ããã®ã復活ãã¦ãããããé£ç¹ã¯è§£æ¶ããã¤ã¤ããã ãã¸ã·ã§ã³ã»ãã¼ãã¼ã«ã¤ãã¦ã¯ããã¯ããä½ç¨ããã¦ããã®ã¯
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}