<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>reeeiのブログ</title>
<link>https://ameblo.jp/scl1201016/</link>
<atom:link href="https://rssblog.ameba.jp/scl1201016/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>ブログの説明を入力します。</description>
<language>ja</language>
<item>
<title>Design patterns</title>
<description>
<![CDATA[ <p>13 Sep</p><p>We learned about Design Patterns</p><br><br><p>□Flexible<br>change something that already exists<br>Desktop &gt; Laptop</p><br><p>□Extensible<br>ability that adding one thing to current system<br>→Desktop<br>We can extend parts easily. For example, keyboard, software, screen, etc</p><br><p>□Destractors of Flexibility<br>- complex and uncreadable code<br> ・bag name<br>　ex) char * c ×<br>　 　　char * contact ○<br>We don't understand that what 'c' does mean. </p><p><br>- violation of single responsibility principle<br>ex) Fan has only the function of fan. So it should not have the function of<br>lighgt because it becomes complex in case of repair.<br>So one thing has one functionh.</p><p><br>- Repetition　</p><p>example is below↓</p><p><br><a href="http://stat.ameba.jp/user_images/20100914/20/scl1201016/ee/b0/j/o0558052810747758183.jpg"><img height="208" alt="reeeiのブログ" src="https://stat.ameba.jp/user_images/20100914/20/scl1201016/ee/b0/j/t02200208_0558052810747758183.jpg" width="220" border="0"></a> <br></p><p><br>Student class has the function of "sort()" and  cource class also has the function of "sort()".</p><p>So to avoid repetion of "sort()", we make sorter class that has the function of "sort()". Then if we use  the function of sort(), we refer sort from sorter class. </p><p>do not have to write sort() at student class and cource class.</p><br><p><br></p><p>□Design Decisions For Flexibility<br>- DRY<br>Do notrepeat yourself</p><p><br>- keep it simple</p><p><br>- loose coupling<br> ・not tight nonnection<br> Car and Wheel are loosely coupled<br> Desktop is loosely coupled<br> Laptop is not loosely coupled</p><br><p>example is below↓</p><br><p><br><a href="http://stat.ameba.jp/user_images/20100914/20/scl1201016/ed/27/j/o0482035210747766264.jpg"><img height="161" alt="reeeiのブログ" src="https://stat.ameba.jp/user_images/20100914/20/scl1201016/ed/27/j/t02200161_0482035210747766264.jpg" width="220" border="0"></a> <br></p><br><p><br>f1(sedan c){<br>c.turn();<br>}</p><p>f2(sports car c){<br>c.turn();<br>}</p><br><p>↓</p><br><p>f1(car c){<br>c.turn();<br>}</p><p>We can use "turn()" both at sprts car and sedan.<br>⇒Polymorphism</p><br><p>- separating thing that change<br>if we mix curry and rice, we cannot remove each thing.</p><br><p><br><a href="http://stat.ameba.jp/user_images/20100914/20/scl1201016/34/5f/j/o0660035610747775849.jpg"><img height="119" alt="reeeiのブログ" src="https://stat.ameba.jp/user_images/20100914/20/scl1201016/34/5f/j/t02200119_0660035610747775849.jpg" width="220" border="0"></a> <br></p><br>
]]>
</description>
<link>https://ameblo.jp/scl1201016/entry-10648573574.html</link>
<pubDate>Tue, 14 Sep 2010 20:43:12 +0900</pubDate>
</item>
<item>
<title>session3</title>
<description>
<![CDATA[ <p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">Session 3 </font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"></span><br></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">□activity diagrams</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l0 level1 lfo1; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">step what we are doing something</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l0 level1 lfo1; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">similar to flow chart</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l0 level1 lfo1; tab-stops: 0mm"><font size="3"><span lang="EN-US"><a href="http://stat.ameba.jp/user_images/20100915/00/scl1201016/ff/c8/j/o0514050210748278095.jpg"><img height="215" alt="reeeiのブログ" src="https://stat.ameba.jp/user_images/20100915/00/scl1201016/ff/c8/j/t02200215_0514050210748278095.jpg" width="220" border="0"></a></span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"></span><br></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">□state machine diagram</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l1 level1 lfo2; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">shows us change of state of one object as the object gets event come from outside</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l1 level1 lfo2; tab-stops: 0mm"><font size="3"><span lang="EN-US"><a href="http://stat.ameba.jp/user_images/20100915/00/scl1201016/37/e7/j/o0468035210748286240.jpg"><img height="165" alt="reeeiのブログ" src="https://stat.ameba.jp/user_images/20100915/00/scl1201016/37/e7/j/t02200165_0468035210748286240.jpg" width="220" border="0"></a></span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"></span><br></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">□sequence diagram</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l2 level1 lfo3; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">which object are going to interact each other while these steps are happening</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l2 level1 lfo3; tab-stops: 0mm"><font size="3"><span lang="EN-US"><br></span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"></span><br></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">□difference between sequence and activity diagrams</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l3 level1 lfo4; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">sequence → has time sequence, sunny day scenario(everything is perfect)</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l3 level1 lfo4; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">activity → has decision</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3"><span style="mso-spacerun: yes"><br></span>high level overview of the steps</font></span></p><br><p></p><p><font size="3"><br></font></p><p></p><p><font size="3"><br></font></p><p></p><p><font size="3"><br></font></p><p></p><p><font size="3"><br></font></p>
]]>
</description>
<link>https://ameblo.jp/scl1201016/entry-10642241714.html</link>
<pubDate>Tue, 07 Sep 2010 23:31:33 +0900</pubDate>
</item>
<item>
<title>session2</title>
<description>
<![CDATA[ <p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">session2</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3"><br></font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">I learned about the detailes of UML</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3"><br></font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">UML</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">=(Booch+OMT)+OOSE</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">=managed by the OMG</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">=has own symbols(rules)</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3"><br></font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"></span><br></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">□UML diagrams</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">=structural diagrams</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">-&gt;how module(function) connect each other</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3"><br></font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">=behavioral diagrams</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">-&gt;how will module behavior</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">ex) refresh press</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">-&gt;what happen inside?</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3"><br></font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">=interaction diagrams</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3"><br></font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"></span><br></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">→three high level categories of diagram</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3"><br></font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"></span><br></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">□UML structural diagrams</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l0 level1 lfo1; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">class diagram -&gt;has connection, identify between the classes</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l0 level1 lfo1; tab-stops: 0mm"><font size="3"><span lang="EN-US"><br><a href="http://stat.ameba.jp/user_images/20100915/00/scl1201016/a4/4e/j/o0468035210748249194.jpg"><img height="165" alt="reeeiのブログ" src="https://stat.ameba.jp/user_images/20100915/00/scl1201016/a4/4e/j/t02200165_0468035210748249194.jpg" width="220" border="0"></a><br></span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l0 level1 lfo1; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">object diagram -&gt;what class our system contain</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l1 level1 lfo2; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">component diagram -&gt;grouping</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l1 level1 lfo2; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">composite structure diagram</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l1 level1 lfo2; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">package diagram</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l1 level1 lfo2; tab-stops: 0mm"><font size="3"><span lang="EN-US"><br><a href="http://stat.ameba.jp/user_images/20100915/00/scl1201016/62/f5/j/o0753060610748259934.jpg"><img height="177" alt="reeeiのブログ" src="https://stat.ameba.jp/user_images/20100915/00/scl1201016/62/f5/j/t02200177_0753060610748259934.jpg" width="220" border="0"></a><br></span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l1 level1 lfo2; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">deployment diagram</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l1 level1 lfo2; tab-stops: 0mm"><font size="3"><span lang="EN-US"><br></span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">□class</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">class has name, attributes and behavior</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3"><br></font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"></span><br></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">□UML behavior diagram</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l2 level1 lfo3; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">use case diagram </span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l2 level1 lfo3; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">activity diagram (similar to flow chart)</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l2 level1 lfo3; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">state machine diagram</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l2 level1 lfo3; tab-stops: 0mm"><font size="3"><span lang="EN-US"><br></span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"></span><br></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">□UML interaction diagrams</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l3 level1 lfo4; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">sequence diagrams</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l3 level1 lfo4; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">communication diagrams</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l3 level1 lfo4; tab-stops: 0mm"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &quot;&quot;; mso-hansi-font-family: &quot;&quot;; mso-bidi-font-family: &quot;&quot;"><span style="mso-list: Ignore">–</span></span><span lang="EN-US">interaction overview diagrams</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt; TEXT-INDENT: 0mm; mso-list: l3 level1 lfo4; tab-stops: 0mm"><font size="3"><span lang="EN-US"><br></span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"></span><br></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3">□use case</font></span></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><span lang="EN-US"><font size="3"><span style="mso-spacerun: yes"><br></span>- one thing you can do with the system</font></span></p><p></p><p><font size="3"><br></font></p><p></p><p><font size="3"><br></font></p><p></p><p><font size="3"><br></font></p><p></p><p><font size="3"><br></font></p><p></p><p><font size="3"><br></font></p><p></p><p><font size="3"><br></font></p>
]]>
</description>
<link>https://ameblo.jp/scl1201016/entry-10642239391.html</link>
<pubDate>Tue, 07 Sep 2010 23:29:16 +0900</pubDate>
</item>
<item>
<title>session1</title>
<description>
<![CDATA[ <p>Today, I learned UML first time.</p><br><p>What I learned today</p><p><br>・UML<br>→NOTATION(COMMON LANGUAGE)</p><br><p>・Why do we need Drawing(planning)?<br>→We do not want to do mistake</p><br><p>・stake holders<br>→Archtect, construction, company, buyers</p><br><p>・high level design<br>→real<br>all stake holders can understand</p><br><p>・What-if?<br>→what-if the wheel was not round?<br>→to avoid miss</p><br><p>・re-use<br>→use design that the best many time<br>If we design one door, we can re-use 10 building</p><br><p>・module<br>→keyboard, screen, mouse, touchpad, etc</p><br><p>・Benefits of Modeling<br>- communication<br>- risk reduction<br>- high level design<br>- what-if analysis<br>- re-using components</p><p><br></p>
]]>
</description>
<link>https://ameblo.jp/scl1201016/entry-10642221858.html</link>
<pubDate>Tue, 07 Sep 2010 23:13:46 +0900</pubDate>
</item>
</channel>
</rss>
