There have been many different ways to organize the code for a rich client system. Here I discuss a selection of those that I feel have been the most influential and introduce how they relate to the patterns. 18 July 2006 This is part of the Further Enterprise Application Architecture development writing that I was doing in the mid 2000âs. Sadly too many other things have claimed my attention sinc
1ãã¯ããã« Smalltalkã®OJTãéãã¦ããSmalltalkã¸ã®ã¹ã ã¼ãºãªå°å ¥ããè¡ãããã«ãããã¤ãã®çæç¹ããããã¨ãç§ã¯å¦ã³ã¾ããã â ãã¼ã¿ã¨ã¢ã«ã´ãªãºã ãããã¯ããããªãã¸ã§ã¯ã(æ å ±é è½) â¡ ãªãã¸ã§ã¯ãéã³ãã¥ãã±ã¼ã·ã§ã³(ã¡ãã»ã¼ã¸ä¼é) ⢠ã¯ã©ã¹ã¨ã¤ã³ã¹ã¿ã³ã¹é¢ä¿(ã¡ã¿ã¯ã©ã¹ã¨ã¯ã©ã¹é¢ä¿) ⣠ã¯ã©ã¹é層æ§é (ã¤ã³ããªã¿ã³ã¹æ©è½) ⤠ã¢ã«ã´ãªãºã ããã¼ã¿ã¨ãã¦æ±ããã¨(closure/continuation) ⥠Model-View-Controller(MVC) ⦠ä¾åæ§(change&update) ⧠ãã©ã¬ãã«ã®èãæ¹(pluggableMVC) â ãâ£ã¾ã§ã¯ããªãã¸ã§ã¯ãæåããã°ã©ãã³ã°ã¨ããå½¢ã§å¤ãã®è§£èª¬æ¸ãæã«å ¥ãã¾ãã®ã§åé¡ã¯ããã¾ããã â¤ã¯ãLispãPrologãç¥ã£ã¦ããããæ¹ã«ã¯ç°¡åã«ãªããã¾ããã¢ã«ã´ãªãºã ããã¼ã¿ã¨ã
MVC - MVCã¨ã¯Model-View-Controllerã®é æåãã¨ã£ããã®ã§ãã ç®æ¬¡ æ°çæ å ±2004 MVCé¢é£ãªã³ã¯ MVCã¨ï¼å±¤C/S é¢é£ã¢ãã« PAC - Presentation - Abstraction - Controller Document - View architecture MVCçºç¥¥ã®å°ã§ã¯ éè« MVCã¨ã¯Model-View-Controllerã®é æåãã¨ã£ããã®ã§ãã æ°çæ å ±2004 æåDBãã¬ã¸ã³6æå·ã«Model2+ã®è§£èª¬ãããããããï¼ãã¥ã¼ã¹ã½ã¼ã¹[jfriends-ml 11123] Model2+ï¼ MVCé¢é£ãªã³ã¯ MVCã¢ãã«ã¨ããè¨èãããèãã¾ããä½ã®ãã¨ã§ããï¼ http://www.atmarkit.co.jp/fjava/javafaq/j2ee/j2e07.html 使ããªãã¨æãããModel-View
2. ããã ã for Java ãã¼ã¸ã§ã³197ï¼Jun4Java197ï¼ãã®MVC å³8ã«Jun4Java197ã®MVCã®ã¯ã©ã¹é層ã示ãã¾ããå³2ã®Jun4Smalltalkã¨ã»ã¨ãã©åãã§ããMVCã«é¢ä¿ããé¨åã§ï¼éãç¹ã以ä¸ã«åæãã¾ãã VisualWorksã§ã¯Viewã®ãµãã¯ã©ã¹ã«Canvasãããã¾ããï¼Jun4Javaã§ã¯StViewã®å±æ§ã¨ãã¦java.awt.Componentãæã¤ããã«ãï¼_getJavaComponent()ã§ã¢ã¯ã»ã¹ã§ããããã«ãã¾ãã StControllerã§java.awt.event.MouseListenerãMouseMotionListenerãªã©ãå®è£ ãã¾ãã Controllerã®èµ¤ï¼å·¦ï¼ãã¿ã³ã¤ãã³ãï¼redButtonPressedEventï¼ãªã©ãï¼MouseListenerã®mousePressed()ãªã©ã«å¤æ´ã
åå°ã®æ¥è¨ãèªãã§ããã¨ãPofEAAèªæ¸ä¼6ã§ãSmalltalkã®ApplicationModelã«ã¤ãã¦è§¦ãããããããã æ¥æ¬ã§ã¯é·ããèªèããã¦ããªãã£ãM-MVCã¢ã¼ããã¯ãã£ãããããæ¥ã®ç®ãè¦ãã®ãï¼ - http://c2.com/cgi/wiki?ModelModelViewController M-MVCã¢ã¼ããã¯ãã£ã¯Ajaxã¢ããªã«ã¨ã£ã¦ãããããéè¦ãªæ¦å¿µã«ãªã£ã¦ããã¨å人çã«ã¯æã£ã¦ããã ãã©ã¦ã¶å´ã«è¤éãªãã¸ãã¯ãéåæãªãµã¼ãã¼ã¨ã®éä¿¡ãå®è£ ãããã¨ãå®ç¨çã«ãªã£ã¦ããç¾å¨ãSunã®æå±ãã¦ããä¼¼éMVCããããã£ããã¨ããè¨è¨ã§Webã¢ããªã±ã¼ã·ã§ã³ãä½æã§ããããã«ãªãã¯ãã ã ã©ããããã¨ãã¨ããã¨ãä»ã¾ã§ã®MVCã§åã«Modelã¨ãã¦çä»ãããã¦ããé¨åãDomainModelã¨ApplicationModelã«åããã¨ãApplicationM
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}