<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chie-Chieh Liu on Medium]]></title>
        <description><![CDATA[Stories by Chie-Chieh Liu on Medium]]></description>
        <link>https://medium.com/@joy072856?source=rss-529bd7d15c1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*-JujvWVkTQzVx2IyeHvceA.png</url>
            <title>Stories by Chie-Chieh Liu on Medium</title>
            <link>https://medium.com/@joy072856?source=rss-529bd7d15c1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 10:45:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@joy072856/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[行動介面設計 設計模式 書籍閱讀心得與重點摘要]]></title>
            <link>https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA/%E8%A1%8C%E5%8B%95%E4%BB%8B%E9%9D%A2%E8%A8%AD%E8%A8%88-%E8%A8%AD%E8%A8%88%E6%A8%A1%E5%BC%8F-%E6%9B%B8%E7%B1%8D%E9%96%B1%E8%AE%80%E5%BF%83%E5%BE%97%E8%88%87%E9%87%8D%E9%BB%9E%E6%91%98%E8%A6%81-833a0e12363d?source=rss-529bd7d15c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/833a0e12363d</guid>
            <category><![CDATA[ui-ux-design]]></category>
            <category><![CDATA[ux-research]]></category>
            <category><![CDATA[ux-writing]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[ux-strategy]]></category>
            <dc:creator><![CDATA[Chie-Chieh Liu]]></dc:creator>
            <pubDate>Wed, 15 Jan 2020 15:50:44 GMT</pubDate>
            <atom:updated>2020-01-15T16:09:04.664Z</atom:updated>
            <content:encoded><![CDATA[<h4>利用使用者為中心的實施法則part2</h4><h3>Ateven Hoober&amp; Eric Berkman 著 鄭巧玉 譯</h3><h4>行動設計法則：</h4><p>1.尊重使用者中心資料：自動保存USER資料，因為輸入資料是一件耗時的事情，避免網路斷線或不穩造成表單資料遺失；也要考慮到情境與實際行為等，因此應該從USER再輸入資料時就先儲存。</p><p>2.了解裝置是個人的：撇除圖書館或是公共電腦等裝置，行動裝置已是人手一機的個人裝置（one device for one person），是需要做到清除個資與密碼，這方面是像法律規範時才需要設定清除資料。設計自動儲存登入的裝置時，裝置設計者也是要防止資訊不當使用。在儲存密碼部分，像有些信用卡公司在查詢信用卡額度等等資料APP都有使用多重認證的防護，如國Ｘ信用卡查詢信用卡資料也能使用FACE ID，確認使用者是本人。在這方面對於USER來說省了不少時間，同時也會使USER感到這項多重措施十分安全。</p><p>3.確保生活優先：除非不必要，別打擾使用者。USER可能是在談話或是開車時空擋會使用APP，除非必要否則別用閃爍或警告的訊息去影響到USER。</p><p>4.了解行動裝置要在任何情況下使用：USER可能會在較昏暗或是睡前睡醒等狀態下使用裝置，因此應該設計能讓USER調整光線亮暗度。</p><p>5.利用你的感應器和聰明才智：盡可能地根據使用者在裝置中的資料，例如行事曆或是出國規劃等等，像是若能透過裝置中的資料了解USER正在什麼場域下做事情，那麼就能避免掉上方寫的3.4.的問題，裝置可貼心地轉為靜音震動模式亦或是能調整亮暗程度。</p><p>6.確保一致性：在什麼樣的作業系統下應該遵循該作業系統之規範。</p><p>7.尊重資訊：事時地物，等資訊必須正確，例如天氣、國家地區時間、單位度量等等。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*KVGnwc_Dz_0haJUeotFnwg.png" /></figure><p>統整以上，盡可能的去讓USER在使用中不會遇到麻煩或是干擾的情況發生，在設計裝置可能會忽略許多細節，因此在書中有提到成功的UX團隊應該這麼做：</p><p>1.絕對不要走開（這翻譯＠＠“）：開發專案時，要一直跟著專案每個過程，並且參與每項會議，意思就是說，團隊的任何討論都十分重要。</p><p>2.確保每個人都了解目標：本書提到的目標一致不是主要為了節省成本與高效率的問題。所謂書中提到的目標一致，無論是對客戶或是團隊成員，一開始就預先要統計好目標轉化成實際可測量統計的數字。若是”目標“不一致也有可能會忘記專案開始時的初衷，應該全心投入把目標專案做到最好，為了是這個專案與公司，而不是部門的KPI指標。</p><p>這邊想補充一點，KPI是上司命令下來的任務目標，上司可能不太注重過程，現在逐漸在推動OKR，兩個對於公司員工績效來說考評是有差別的可參考此篇文章 點選&gt;<a href="https://www.managertoday.com.tw/articles/view/58229">KPI</a>。</p><p>3.討論和開發時使用物件導向法則：設計領域應該強調模組化、物件導向帶來的效率和一致性。主要是模組化是獨立性與重複性的使用，像小零件可以個別組合運用也能一一拆解單獨拿出來運用，運用完後還能在重複性拆解下來使用。</p><p>有關模組化 物件導向可參考這篇：<a href="https://progressbar.tw/posts/249">https://progressbar.tw/posts/249</a></p><p>利用多形（polymorphism）來設計：設計模組可能會有很多種變異，要理解另一個變異。如果只有一種變異（單形omnimorphism）也一樣需要清楚了解單一變異。</p><p>維基百科解釋：多形是相同的訊息給予不同的物件會引發不同的動作，也可定義為「一種將不同的特殊行為和單個泛化記號相關聯的能力」。</p><p>泰迪舉例：你在路上看到林志玲跟阿美，你叫美女請留步，但你預期心中是志玲姐姐回頭，沒想到阿美也跟著回頭了。 — — 多形是指發出的訊息解釋是由接收者去做決定，而不是由發訊息的人做決定。（泰迪這個解釋讓我瞬間懂了ＸＤ）</p><p>參考資料出處：</p><p><a href="https://zh.wikipedia.org/wiki/%E5%A4%9A%E5%9E%8B_(%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6)">https://zh.wikipedia.org/wiki/多型_(计算机科学)</a></p><p><a href="http://teddy-chen-tw.blogspot.com/2012/01/3polymorphism.html">http://teddy-chen-tw.blogspot.com/2012/01/3polymorphism.html</a></p><p>結論：在開發一個產品時依循一定的流程與設計準則。在開始開發時可能會參考別人的模式，別被參考模式給限制住了。而應該是在正確的設計準則與規範下開發展品，以模組去探討流程與問題；在流程元素是否符合規範。</p><p>將兩個part做整合統整：</p><p>在專案執行中可能會對遇到問題，這讓我想到前一篇的啟發式解決方案（heuristic solution），書中提到啟發式解決方案應該避免。</p><p>但我與書中所建議的避免運用看法有些出入，啟發式解決方案也就是依續過去所套用過的模式或是常見慣例等經驗去解決當前問題。但在爬過一些文獻後發現，啟發式解決方案也能從中發現問題並針對問題去解決，這有助於我們在製作開發專案時避免或甚至是可能會遇到的問題事先提出討論。這裡是我跟書中比較不一樣的個人見解與看法，以往的經驗雖然在不同的時空、不同的場合下運用，會有與預期的結果有出入，但若是能從經驗中提出問題，或是發現問題，再透過團隊問題探討或許也能激發一些新的想法。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=833a0e12363d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA/%E8%A1%8C%E5%8B%95%E4%BB%8B%E9%9D%A2%E8%A8%AD%E8%A8%88-%E8%A8%AD%E8%A8%88%E6%A8%A1%E5%BC%8F-%E6%9B%B8%E7%B1%8D%E9%96%B1%E8%AE%80%E5%BF%83%E5%BE%97%E8%88%87%E9%87%8D%E9%BB%9E%E6%91%98%E8%A6%81-833a0e12363d">行動介面設計 設計模式 書籍閱讀心得與重點摘要</a> was originally published in <a href="https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA">UI UX SHARING/UIX雪人</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[行動介面設計 設計模式]]></title>
            <link>https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA/%E8%A1%8C%E5%8B%95%E4%BB%8B%E9%9D%A2%E8%A8%AD%E8%A8%88-%E8%A8%AD%E8%A8%88%E6%A8%A1%E5%BC%8F-da4f3a868ef0?source=rss-529bd7d15c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/da4f3a868ef0</guid>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[ux-writing]]></category>
            <category><![CDATA[ux-research]]></category>
            <category><![CDATA[ux-strategy]]></category>
            <dc:creator><![CDATA[Chie-Chieh Liu]]></dc:creator>
            <pubDate>Tue, 14 Jan 2020 16:04:35 GMT</pubDate>
            <atom:updated>2020-01-14T16:21:30.433Z</atom:updated>
            <content:encoded><![CDATA[<h4>書籍閱讀心得與重點摘要part1</h4><h4>Ateven Hoober&amp; Eric Berkman 著 鄭巧玉 譯</h4><h4>在設計介面時應避免啟發式的解決方案，何謂啟發式解決方案（heuristic solution）?</h4><p>參考An overview of heuristic solution methods,Edward A. Silver文章中重點簡述，啟發式一詞是指​​一種方法，經驗或判斷的基礎。</p><p>啟發式算法的目的是應用“經驗做法的規則”，在合理的時間框架能解決問題，但是無法保證解決方案會是最準確或最佳的答案。</p><p>參考解釋來源：</p><p><a href="https://www.101computing.net/heuristic-approaches-to-problem-solving/">https://www.101computing.net/heuristic-approaches-to-problem-solving/</a></p><p><a href="https://www.gooseeker.com/cn/node/Fuller/2010060101">https://www.gooseeker.com/cn/node/Fuller/2010060101</a></p><p>下方找到一個啟發式設計（heuristic solution）的定義重點彙整：</p><p>啟發式的定義：鼓勵一個人自己學習，探索，了解，或解決問題，透過實驗(experimenting)、試驗(trial)和錯誤，評估可能的答案或解決方案。</p><p>來源出處網址：</p><p><a href="https://gloria10074.pixnet.net/blog/post/49187506">https://gloria10074.pixnet.net/blog/post/49187506</a></p><p>上述大致了解啟發式解決方案（heuristic solution），看到這我開始思考為什麼書中會寫應該避免呢！？</p><p>書中建議以下幾個設計流程：</p><p>1.實施驗收活動：建議方式有使用者訪談、詢問業界需求並依據市面上可搜集到的相關資料，發展可分析測量的目標，並且要記得搜集使用者的回饋。</p><p>2.使用工作室方法：團隊中相互激勵與分享彼此想法，並且定期重組團隊（翻譯得有點模糊）</p><p>以下有幾種團隊研究方法個人滿喜歡的可供參考：</p><p>a.收斂圖：將設計主題中的相關內容以區塊式分類成ABCD區塊，分類後建立韋恩圖（VennDiagram）從中找到相互有關連的交集區塊，在與團隊討論從中發現機會</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eQdcLtdUlF55_4vBfeIoGw.png" /></figure><p>b.競爭者-互補者圖：將專案區分成2X2矩陣面向，並建立面向比較圖，所謂的知己知彼百戰百勝，從競爭者已開發的產品中去分析價格、產品、客戶類型，從中檢視並反省分析自家產品該如何改善才能更好</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PnSpm45CJ7AFddZaENpHsA.png" /></figure><p>c.角色扮演：先腦力激盪想出與產品有關的使用者、執行者、工程師、夥伴，先激盪出該主題所使用到的人事物、地點、時間（簡單來說就5W1H），再接著將各個有利害關係的人事物給分類出來，並串成情境式分鏡圖（或是腳本）。最有趣的部分就是實際演出來，透過角色輪流扮演彼此記錄下過程中會遇到的一些問題或是需改進的部分，如果我是誰誰誰我覺得怎樣的狀況會比較好。</p><p>3.明白每個方法都沒價值：在處理前面所提及的團隊設計概念，可能會設計不同模組與流程。在設計完畢後需省思不要接受立刻就決定好或拒絕整個設計，而是去思考這個方法、流程中的”每個元素“所存在的價值與定義。簡單來說就是從一個設計模組中去探討每個模組的步驟是否有存在的價值，而不大方向的比較模組，是將模組中的優劣勢個別抽出來並去思考怎麼樣還能組出更好的模組。</p><p>4.擁抱你的限制：在進行專案、活動等概念設計前，先訂定好大方向的限制與條件，要設定團隊中每個人的終極目標。</p><p>5.合作：與不同專業技巧的人合作，彼此分享背景與想法，善用團隊中每個人的專業，發覺概念並找出解決方案。</p><p>6.尋求外部意見：在開發產品獲釋處理專案時，常會遇到一些問題並不是理解的十分完善，這時候最好的方式就是尋求相關專業的意見，這對專案來說會有很大的幫助。</p><p>接著明天要來分享”<strong><em>以使用者中心的實施法則</em></strong>“ ，喜歡的話幫我鼓掌或是分享，謝謝=)。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da4f3a868ef0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA/%E8%A1%8C%E5%8B%95%E4%BB%8B%E9%9D%A2%E8%A8%AD%E8%A8%88-%E8%A8%AD%E8%A8%88%E6%A8%A1%E5%BC%8F-da4f3a868ef0">行動介面設計 設計模式</a> was originally published in <a href="https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA">UI UX SHARING/UIX雪人</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[線上免費製作UX的工具-Figma]]></title>
            <link>https://medium.com/@joy072856/%E7%B7%9A%E4%B8%8A%E5%85%8D%E8%B2%BB%E8%A3%BD%E4%BD%9Cux%E7%9A%84%E5%B7%A5%E5%85%B7-figma-afc4f50dfabf?source=rss-529bd7d15c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/afc4f50dfabf</guid>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[prototype]]></category>
            <category><![CDATA[ui-design]]></category>
            <category><![CDATA[ui-ux-design]]></category>
            <category><![CDATA[figma]]></category>
            <dc:creator><![CDATA[Chie-Chieh Liu]]></dc:creator>
            <pubDate>Tue, 07 Jan 2020 15:49:16 GMT</pubDate>
            <atom:updated>2020-01-07T15:49:16.077Z</atom:updated>
            <content:encoded><![CDATA[<p>今天要來跟大家分享一個線上就能使用跟預覽的UX工具Figma</p><p>不知道大家是使用什麼樣的工具！？</p><p>今天要跟大家推薦一個線上就能創作UX介面的工具Figma</p><p>這是首頁入口：<a href="https://www.figma.com/">https://www.figma.com</a>/</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b5Hf1jOJCmR2AaZNrmEc-w.png" /></figure><p>只要簡單動動手指頭辦個帳號就可以使用了！</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BrOg6HwQxbXQW4VVMTa4dQ.png" /></figure><p>登入後操作介面長這樣</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CFSZQ2d-RU3P6BT6SrAmYA.png" /></figure><p>藍色雙撃點入後有一個Figma basics算是簡單的操作教學</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ySBHzne6ToisaKSSRDGTXQ.png" /></figure><p>透過這個教學可以比較輕鬆入手</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XvrBKnLAf6rtPOVe75WXcg.png" /></figure><p>左邊欄位就是圖層的概念，要找所有的object可以到那邊尋找。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jjRvktpG5Dp29OWBo8aPlg.png" /></figure><p>右邊欄位design可以設定像是文字大小，邊框顏色陰影等。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YVhf4dU9_-xpg4ld2jzLXQ.png" /></figure><p>prototype可以設定預覽時的操作步驟。也就是介面的按鈕導向等等設定</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n-dD4R7njBjwCJQ9mD9QkQ.png" /></figure><p>除此之外！！！最強大的功能就在這～～～</p><p>他可以看HTML中的CSS程式碼怎麼顯示～～～</p><p>是不是很棒😉👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OQNEjKZDt_tm1t99dbw7fQ.png" /></figure><p>很貼心的是他除了能夠繪製之外還能預覽&gt;&gt;&gt;點擊右上角的黃色方框</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ydhfETDeYa854WIv15Vkg.png" /></figure><p>預覽介面也是能實際點擊操作，這對於UX在與工程師對談功能上有許大的幫助💁💁💁</p><p>今天分享的文章就到這拉～希望大家會喜歡👏👏👏👏👏👏👏👏</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afc4f50dfabf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2020/01/04]]></title>
            <link>https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA/2020-01-04-f73a2d9b31c1?source=rss-529bd7d15c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f73a2d9b31c1</guid>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[ui-design]]></category>
            <category><![CDATA[ui-ux]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[ui-ux-design]]></category>
            <dc:creator><![CDATA[Chie-Chieh Liu]]></dc:creator>
            <pubDate>Sat, 04 Jan 2020 16:33:14 GMT</pubDate>
            <atom:updated>2020-01-04T17:02:42.519Z</atom:updated>
            <content:encoded><![CDATA[<h3>icon guide-part3</h3><p>今天要來分享實際案例，下方有幾個圖示，<strong>A1A2</strong>與<strong>A2B2</strong>各為一組你認為哪個組合比較好！？</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S5q_UqRERFqGNDqya9N9Jw.png" /></figure><p>很多時候在設計icon會犯以下幾個錯誤：</p><p>先以<strong>A1A2</strong>相同的圖示相比，會發現<strong>A1</strong>線條比<strong>A2</strong>更有穩重感，而且在線條方面，<strong>A1</strong>圖案的線條大小一致，仔細看可發現<strong>A2</strong>在盤子中的線條較細；若是系列icon都是有這樣的共同之處也不是不行，但在<strong>視覺上</strong>還是<strong>一致</strong>會較好。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*UfRxjPYA9LDNNj67Y2cjYA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*P7F2XOHLFBTvdiLN2dxU9w.png" /></figure><p>因為要考慮到<strong>電腦的device與手機的device上觀看會有所差異</strong>，要考慮到將圖片放在手機版面縮小來看，中間盤子的中心線會不會明顯，因此若是要製作在<strong>不同的device還是需要考慮</strong>到這點。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*2IW8SO2GlNVkpY7gpNIVew.png" /></figure><p>接著我們看<strong>B1</strong>與<strong>B2</strong>，可以發現<strong>B2</strong>的所使用的顏色多種太複雜，另外我們接著打開grid。很明顯的是<strong>B1</strong>人物與旁邊三行文字是有鏡射對齊的且左右邊的所佔寬度大小一致；然而<strong>B2</strong>仔細看grid人物與三行文字太接近，這樣的狀況在縮小在手機device上不易閱覽。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*uImRV7XUn7Y9UNChydauzw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S5q_UqRERFqGNDqya9N9Jw.png" /></figure><p>在白底的狀況下看似每個icon都沒有問題，但是其實你將圖片換上別的背景顏色，就會發現．．．<strong>A2、B2</strong>這樣的icon只能放在白色背景下。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EpV6xwLlvo5vn-tZNS8SHw.png" /></figure><p>再來看看下圖<strong>A1B1</strong>與<strong>A2B2的寬度A1B1</strong>寬度一致但<strong>B1B2</strong>不一致，這樣的圖示若放在同一個介面上，整體感覺看起來會很混亂，因此盡量將同系列的圖示寬度一致。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mtEpuf9UNjBTuAt-nxnjPA.png" /></figure><p>最後在這裡，不知道大家有沒有發現A1與B1的圖示框線的大小都一樣。其實在設計icon上盡量讓框線同大小相同，會比較有統一性，再來是框線的大小也有差異，要注意的是在手機device上與在電腦device上是否都能讓使用者清楚的理解icon想表達什麼，因為icon的主要的設計就是替代或是輔助文字，因此要從使用者的角度去想去看，今天這個icon是否清楚明顯，會不會讓使用者感到不適。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f73a2d9b31c1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA/2020-01-04-f73a2d9b31c1">2020/01/04</a> was originally published in <a href="https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA">UI UX SHARING/UIX雪人</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[icon guide-part2]]></title>
            <link>https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA/icon-guide-part2-2ec1597f87eb?source=rss-529bd7d15c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ec1597f87eb</guid>
            <category><![CDATA[icon-design]]></category>
            <category><![CDATA[ui-ux-design]]></category>
            <category><![CDATA[ui-ux]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[ui-design]]></category>
            <dc:creator><![CDATA[Chie-Chieh Liu]]></dc:creator>
            <pubDate>Fri, 03 Jan 2020 15:12:55 GMT</pubDate>
            <atom:updated>2020-01-03T15:12:55.202Z</atom:updated>
            <content:encoded><![CDATA[<p>今天要來講icon的grid…</p><p>什麼是gride? 其實grid就是格線系統，在一定的框架下進行設計。</p><p>grid可以幫助設計師：</p><p>1.能使單一或多項物件在grid中達到視覺上的協調與和諧感</p><p>2.使大量的icon尺寸達到統一的一致性</p><p>3.在設計iOS 、 Android桌面icon時，使設計完成要上架的icon，更符合設計師理想中的上架狀態</p><p>如下圖:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*zsyxwkPH43Puw6yJ-i1iaw.png" /></figure><p>此圖沒使用grid繪製，能發現的地方是獨立將一個icon拉出來，看起來都有對齊在每個白框中，但是仔細與旁邊同系列的icon相比卻沒有彼此對齊。</p><p>我們將上圖icon配上隔線</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*Ux7euPIGKhBBqRzeZwIMfA.png" /></figure><p>很明顯的是每個icon的大小以及中高度、寬度都不太一致。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*VNrZO52qsAuafNi8XKJSLg.png" /></figure><p>依照隔線中的原型去將icon進行縮小以及與其他icon校正，這樣的圖示與第一張相比之下更有一個系列的感覺。</p><p>以上我們提到如何將icon放置在grid中進行設計，會使一系列的icon更具協調與統一性，但其實這還不夠好，還有其他地方可以改進。</p><p>接下來的幾篇會來探討，如何再將上列icon製作出更多的變化或是修正的地方。</p><p>推薦網站：</p><p>iCON UTOPIA</p><p><a href="https://iconutopia.com/">https://iconutopia.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ec1597f87eb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA/icon-guide-part2-2ec1597f87eb">icon guide-part2</a> was originally published in <a href="https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA">UI UX SHARING/UIX雪人</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[icon guide-part1]]></title>
            <link>https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA/icon-guide-part1-5b1965ddcb7c?source=rss-529bd7d15c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b1965ddcb7c</guid>
            <category><![CDATA[ui-ux-design]]></category>
            <category><![CDATA[ui-design]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[ux-design]]></category>
            <dc:creator><![CDATA[Chie-Chieh Liu]]></dc:creator>
            <pubDate>Thu, 02 Jan 2020 11:23:42 GMT</pubDate>
            <atom:updated>2020-01-02T11:23:42.252Z</atom:updated>
            <content:encoded><![CDATA[<p>icon看起來很簡單，但實際設計起來可是有很多眉角的．</p><p>icon在不同device上會有不同的尺寸規範，除此之外，在一個產品的介面也需要統一、一致性的規範。</p><p>icon 分為兩種<strong>Pictograms(象形圖)</strong>與<strong>Ideograms(表意文字) </strong><em>（iCON UTOPIA, Justas）</em></p><p><strong>Pictograms-</strong>繪製的圖本身就與實體或是符號有視覺/輪廓上的直接連結性，使你一眼就能辨識出(you can immediately recognize the symbol you saw once.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*j9X6lWb7D6QCg266VhL2-A.jpeg" /></figure><p>source from:<a href="https://pin.it/tp3xzi54y7nrz5">https://pin.it/tp3xzi54y7nrz5</a></p><p><strong>Ideograms-</strong>繪製的符號或icon有本身的含意與意義在裡面(the sign / icon have there own meaning.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*WVWVZGFUbJmnijBxNGnE_A.jpeg" /></figure><p>source from:<a href="https://pin.it/ja54ft5pjkyese">https://pin.it/ja54ft5pjkyese</a></p><p>— 先以顏色為例舉：在設計像是手機APP桌布上的LOGO 的icon在配色、配置線條(border)排版方面可以製作較複雜的圖形變化；但若相較之下是要建立一套系統性的icon最好配色統一、簡單化(詳細配色技巧可參考：<a href="https://www.shutterstock.com/zh-Hant/blog/complete-guide-color-in-design">https://www.shutterstock.com/zh-Hant/blog/complete-guide-color-in-design</a>)。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*aO5poFGKuNLbfEObTTHUmA.jpeg" /></figure><p>source from:<a href="https://pin.it/lvqzuvdybegka7">https://pin.it/lvqzuvdybegka7</a></p><p>Choose The Right Color Palette(選擇對的配色)：在icon配色上除了要考慮到統一之外，當然顏色也有自己的定義與意義存在，或者在設計配色時能考慮到公司產品、logo形象配色的色調。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Z1rZWN2zQvLUOK00DKHR1g.gif" /></figure><p>source from:<a href="https://pin.it/dk5wmsftlnzqkz">https://pin.it/dk5wmsftlnzqkz</a></p><p>以下連結這篇有提及到APP LOGO與APP icon不一樣的區別，雖然有人都會稱它為icon但在設計的思維中還是有很大的差異存在。<a href="https://blog.designcrowd.com/article/353/differences-between-logos-and-icons">https://blog.designcrowd.com/article/353/differences-between-logos-and-icons</a></p><p>— 設定icon設計樣式，iCON UTOPIA的作者Justas概括列舉風格如下：外框風格(Outline Icons)、填滿風格(Filled Icons)、字型圖標風格(Glyph Icons)、平面風格(Flat Icons)、手繪風格(Hand-Drawn Icons)、擬形風格(Skeuomorphic Icons)。</p><p>— 輸出尺寸，在不同的Device中，因為螢幕尺寸的差異，在設計icon時也同時需要考慮到這個因素，避免設計出來的圖示太小不夠清楚，或是設計複雜放到手機上使圖示不易變識，以下幾個為尺寸規範：</p><p>iCON UTOPIA的作者Justas建議在WEB版面上的尺寸有：</p><p>16x16, 24x24, 32x32, 48x48, 64x64, 96x96, 128x128, 256x256, 512x512;</p><p>可發現的是都是以偶數的倍數的尺寸去呈現。</p><p>如果是在手機版面上，建議到iOS或是Android的icon設計規範去參考尺寸。</p><p>icon設計規範：</p><ul><li>iphone : 180px x 180px (60pt x 60pt @3x)</li></ul><p>120px x120px (60pt x 60pt @3x)</p><ul><li>ipad pro : 167px x167px (83.5pt x 83.5px @2x)</li><li>ipad, pad mini : 152px x 152px(76pt x 76pt @2)</li><li>app store 1024px x 1024px(1024pt x 1024px)</li></ul><p>Android的icon設計規範：</p><ul><li>最終大小：512px x 512px</li><li>格式：32 位元 PNG</li><li>色域：sRGB</li><li>檔案大小上限：1024 KB</li><li>形狀：完整正方形 (遮蓋部分由 Google Play 進行動態處理)。半徑為圖示大小的 20%。</li><li>陰影：無 (陰影由 Google Play 進行動態處理)。請參閱下文「陰影」一節，瞭解如何在圖片中納入陰影。</li></ul><p>推薦網站：</p><p>iCON UTOPIA: <a href="https://iconutopia.com/">https://iconutopia.com/</a></p><p>出處連結：<a href="http://iconutopia.com/files/Icon-Design-Guide-by-IconUtopia.pdf">http://iconutopia.com/files/Icon-Design-Guide-by-IconUtopia.pdf</a></p><p><a href="https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/app-icon/">App Icon — Icons and Images — iOS — Human Interface Guidelines — Apple Developer</a></p><p><a href="https://developer.android.com/google-play/resources/icon-design-specifications">Google Play icon design specifications | Android Developers</a></p><p>2020年UXCollective所推薦的研討會會議。</p><p>The best conference that’s UXCollective they recommend in 2020.</p><p><a href="https://uxdesign.cc/best-ux-design-events-conferences-in-2020-d4f775772c68">The best UX and design events in 2020</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b1965ddcb7c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA/icon-guide-part1-5b1965ddcb7c">icon guide-part1</a> was originally published in <a href="https://medium.com/ui-ux-sharing-uix%E9%9B%AA%E4%BA%BA">UI UX SHARING/UIX雪人</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular -Service&DI-卡卡卡Q3Q董茲董茲]]></title>
            <link>https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F/angular-service-di-%E5%8D%A1%E5%8D%A1%E5%8D%A1q3q%E8%91%A3%E8%8C%B2%E8%91%A3%E8%8C%B2-9d59e8be509e?source=rss-529bd7d15c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d59e8be509e</guid>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Chie-Chieh Liu]]></dc:creator>
            <pubDate>Wed, 20 Feb 2019 08:12:13 GMT</pubDate>
            <atom:updated>2019-02-20T08:12:13.301Z</atom:updated>
            <content:encoded><![CDATA[<h3>Service</h3><p>Service class 將log傳向browser consloe</p><p>如下方的服務 輸出calss 倚賴Logger服務。</p><pre>export class <strong>Logger</strong>{<br>log (msg:any){console.log(msg);}<br>error(msg:any){console.log(msg);}<br>warn(msg:any){console.log(msg);}<br>}</pre><p>服務也可以倚賴其他服務，如下</p><p>這邊class HeroService是倚賴Logger服務，使用BackendService去取得getHeroes的數據。</p><pre>export <strong>calss HeroService</strong> {<br>private heroes: Hero[]=[];<br>constructor(<br>private <strong><em>backend: BackendService</em></strong>,<br>private logger: <strong>Logger</strong>){}<br><strong><em>getHeroes()</em></strong>{this.back.getAll.then((heroes:Hero[])=&gt;{this.logger.log(`Fetched ${heroes.length}heroes.`);<br>this.heroes.push(...heroes;)//fill cache});<br>return this.heroes;<br>  }<br>}</pre><h3>DI(dependency injection)倚賴注入</h3><p>You can inject a service into a component and the component access to that service class.</p><p>這意思表示可以&quot;注入&quot;一個服務到組件，而且這項組件也能訪問到服務&quot;類(class)&quot;。</p><p>要如何將類(class)定義為服務，就要使用@Injectable()decorator去支援數據能讓Angular倚賴注入到組件中。如果要使用@Injectable()decorator去表明組件(component)或是其他類(class)如：(service&quot;服務&quot;, pipe&quot;管道&quot; or Ngmodule&quot;NG模塊，相關NgModule可看上一篇&quot;)，都可擁有倚賴。</p><p>Angular會自動創建全應用及注入器，因此不須自己創建。</p><p>注入器會創建倚賴或維護一個容器去管理這些倚賴，並盡可能重複使用這些注入器。</p><p>提供商(provider)用來告訴注入器(injector)如何獲取(obtain)或是創建倚賴(create a dependency)</p><p>整個app中你所需要的倚賴(Injector)都需要一個app’s injedtor(注入器)去註冊供應商(provider)。這樣一來這個注入器就能提供供應商創建一個新案例，對於服務器(injector)來說供應商就是服務類本身(service class it self)。</p><p>倚賴&quot;不一定&quot;是做為服務(service)，也有可能是函數(function)或值(value)。</p><p>例如下方的構造函數(hero-list-component.ts)</p><p>這邊的constructor中需要HeroService</p><pre>constructor(private service: HeroService) { }</pre><p>If the Angular discover the component depend on a service, the Angular will first to check the inject has any existing instances of that service.</p><p>如果Angular發現再組件中有倚賴服務，那Angular會首先 檢測這個注入，並確定他是否已經存在在這個服務中。</p><p>If a requested service in stance doesn’t yet exist, the injector make one using the registered provider, and adds it to the injector before returning the service to Angular.</p><p>如果檢查服務後發現並不存在，那這個注入則會使用註冊提供者，並增加服務到中的注入器中，並將服務返還給 Angular。</p><p>When all requested services have been resolved and returned, Angular can call the component’s constructor with those services as arguments.</p><p>當所有請求服務都已經被解決並返還後，Angular可以將請求這些組件的構造函數，並將這些服務作為參數。</p><p>如下圖可看到再這些不同的服務中，將上方的heroservice服務注入到component的構造函數中。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/479/1*P5g9ywRfKAAbKMFF86TkDg.png" /><figcaption>資料來源：<a href="https://angular.cn/guide/architecture-services#service-examples">https://angular.cn/guide/architecture-services#service-examples</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d59e8be509e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F/angular-service-di-%E5%8D%A1%E5%8D%A1%E5%8D%A1q3q%E8%91%A3%E8%8C%B2%E8%91%A3%E8%8C%B2-9d59e8be509e">Angular -Service&amp;DI-卡卡卡Q3Q董茲董茲</a> was originally published in <a href="https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F">Chi-Chieh Liu &lt;-程式人生-&gt;</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular-三個基本觀念-2]]></title>
            <link>https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F/angular-%E4%B8%89%E5%80%8B%E5%9F%BA%E6%9C%AC%E8%A7%80%E5%BF%B5-2-c83813f97d83?source=rss-529bd7d15c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c83813f97d83</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[angularjs]]></category>
            <dc:creator><![CDATA[Chie-Chieh Liu]]></dc:creator>
            <pubDate>Tue, 19 Feb 2019 06:36:07 GMT</pubDate>
            <atom:updated>2019-02-19T06:36:07.418Z</atom:updated>
            <content:encoded><![CDATA[<pre>import { BrowserModule } from &#39;@angular/platform-browser&#39;;</pre><pre>import { NgModule } from &#39;@angular/core&#39;;</pre><pre>import { AppComponent } from &#39;./app.component&#39;;</pre><pre>import { HeroesComponent } from &#39;./heroes/heroes.component&#39;;</pre><pre>import { FormsModule } from &#39;@angular/forms&#39;;</pre><pre>@NgModule裝飾器({</pre><pre>declarations:<em>申表對象，文件，管道</em> [</pre><pre>AppComponent<em>(對應到上方的import { AppComponent } from &#39;./app.component&#39;;檔案)</em>,</pre><pre>HeroesComponent<em>(對應到上方的import { HeroesComponent } from &#39;./heroes/heroes.component&#39;;)</em></pre><pre>],</pre><pre>imports: [</pre><pre>BrowserModule,<em>(對應到上方的import { BrowserModule } from &#39;@angular/platform-browser&#39;;)</em></pre><pre>FormsModule<em>(對應到上方的import { FormsModule } from &#39;@angular/forms&#39;;)</em></pre><pre>],</pre><pre>providers: [],</pre><pre>bootstrap(應用的主視圖，稱為為根組件，只有根模塊才應設置這個bootstrap屬性，因此這個ts程式碼為根模塊，由下方的名稱可知，這個檔案名稱為”app.module.ts”): [AppComponent]</pre><pre>})</pre><p>2.Module模塊：模塊在Angular稱為”ngmodule”，Angular根模塊檔案叫”app.module.ts”。</p><h4>NgModule metadata：</h4><p>Note: The hierarchical structure of views is a key factor in the way Angular detects and responds to changes in the DOM and app data.</p><p>注意：視圖的層次結構是Angular檢測和響應DOM和應用程序數據更改方式的關鍵因素。</p><p>用來接受元數據(NgModule metadata)對象的幾個重要&quot;屬性( properties)&quot;如下：</p><ul><li>declarations（聲明對象表） — 屬於本 NgModule 的组件(component)、指令(directives)、管道(pipes)，主要是讓NgModule。</li></ul><p><em>The set of selectors that are available to a template include those declared here, and those that are exported from imported NgModules.</em></p><p>這些選擇器(selectors)可以設定在版型(template)包括這裡的聲明(declared)中，以上這些也可以在NgModules中導入或導出。</p><p><em>Declarables must belong to exactly one module. The compiler emits an error if you try to declare the same class in more than one module. Be careful not to declare a class that is imported from another module.</em></p><p>聲明(Declarables)必須剛好屬於一個模塊(one module)。若你嘗試將相同的類(class)聲明(declare)在多個模塊中，編譯器會發生錯誤。因此要注意，&quot;不要&quot;聲明(declare)相同個類(class)在不同的模塊中。</p><p><em>While a small application might have only one NgModule, most apps have many more </em><strong><em>feature modules</em></strong><em>. The </em><strong><em>root</em></strong><em> NgModule for an app is so named because it can include child NgModules in a hierarchy of any depth.</em></p><p>這些小應用必須有一個主要的NgModule，然而大多的<em> </em>apps需具備功能模塊。根NG模塊(root NgModule)會稱為根模塊，是因為根模塊包含子模塊深度層次化的模塊。(這句好難翻譯R)</p><p>NgModules 用于配置注入器和编译器，并帮你把那些相关的东西组织在一起。 NgModule 是一个带有 @<a href="https://angular.cn/api/core/NgModule">NgModule</a> 装饰器的类。 @<a href="https://angular.cn/api/core/NgModule">NgModule</a> 的参数是一个元数据对象，用于描述如何编译组件的模板，以及如何在运行时创建注入器。 它会标出该模块自己的组件、指令和管道，通过 <a href="https://angular.cn/api/core/NgModule#exports">exports</a> 属性公开其中的一部分，以便外部组件使用它们。 <a href="https://angular.cn/api/core/NgModule">NgModule</a> 还能把一些服务提供商添加到应用的依赖注入器中。(source:<a href="https://angular.io/guide/ngmodules">https://angular.io/guide/ngmodules</a>)</p><ul><li>exports（導出表） — 那些能在其它模塊的組件模板中使用的可聲明對象的子集。</li><li>imports（導入表） — 那些導出了本模塊中的組件模板所需的類的其它模塊。</li><li>providers — 本模塊向全局服務中貢獻的那些服務的創建器。這些服務能被本應用中的任何部分使用。 （你也可以在組件級別指定服務提供商，這通常是首選方式。）</li><li>bootstrap — 應用的主視圖，稱為根組件。它是應用中所有其它視圖的宿主。只有根模塊才應該設置這個 bootstrap 屬性。</li></ul><p>3.router路由：用台控制或加載模塊，能在地址欄輸入URL( Uniform Resource Locator)，就能到指定相對應的頁面，能讓使用者能夠分享連結或是回到上一頁面或是到新的頁面，在Angular中路由也有其他的服務，像是CanLoad守衛，能阻止用戶家載那個模塊，除非用戶登入。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c83813f97d83" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F/angular-%E4%B8%89%E5%80%8B%E5%9F%BA%E6%9C%AC%E8%A7%80%E5%BF%B5-2-c83813f97d83">Angular-三個基本觀念-2</a> was originally published in <a href="https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F">Chi-Chieh Liu &lt;-程式人生-&gt;</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular-三個基本觀念]]></title>
            <link>https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F/angular-%E4%B8%89%E5%80%8B%E5%9F%BA%E6%9C%AC%E8%A7%80%E5%BF%B5-51b2c373640d?source=rss-529bd7d15c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/51b2c373640d</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[angularjs]]></category>
            <dc:creator><![CDATA[Chie-Chieh Liu]]></dc:creator>
            <pubDate>Mon, 18 Feb 2019 10:01:28 GMT</pubDate>
            <atom:updated>2019-02-19T06:35:10.779Z</atom:updated>
            <content:encoded><![CDATA[<p>在了解Angular之前，必須先了解，DOM與OOP。</p><p>DOM文章節錄重點參考連結如下：</p><p><a href="https://developer.mozilla.org/zh-TW/docs/Web/API/Document_Object_Model">文件物件模型 (DOM)</a></p><p>重點總結小貼士|</p><p>DOM(Document Object Model)，提供文件一個樹狀型態表示法 ，提供文件以擁有屬性與函式的節點與物件組成的結構化表示。節點也可以附加事件處理程序，一旦觸發事件就會執行處理程序。</p><p>OOP參考連結如下：</p><p><a href="http://www.gotop.com.tw/epaper/e0715/AEL004300%E5%85%A7%E5%AE%B9%E8%A9%A6%E9%96%B1.pdf">http://www.gotop.com.tw/epaper/e0715/AEL004300%E5%85%A7%E5%AE%B9%E8%A9%A6%E9%96%B1.pdf</a></p><ul><li><a href="https://sites.google.com/a/mis.nsysu.edu.tw/cheng-shi-zi-xun-wang/java-jin-jie-pian/wu-jian-dao-xiang/1-shen-me-shi-wu-jian-dao-xiang">1. 什麼是物件導向 - 國立中山大學程式諮詢網</a></li><li><a href="https://blog.miniasp.com/post/2009/08/27/OOP-Basis-What-is-class-and-object">物件導向基礎：何謂類別(Class)？何謂物件(Object)？ | The Will Will Web</a></li></ul><p>類別(class)-一個藍圖，他沒有實體概念，是靜態，產生物件。</p><p>物件(object)-是一個看的到、摸的到實體，是動態，可用形態、行為隨時改變，但架構與行為不會改變，會依照類別去產生物件。</p><p>行為(behavior)-動作</p><p>形態(state)-顯示、呈現</p><p>函數(function)-描述行為，去對物件進行行為或功能。</p><p>變數- 變數是記錄物件的狀態( 屬性(properties) )。</p><p>/**切入Angular正題**/</p><p>在Angular中有三個基本觀念</p><ol><li>Component組件：每個 Angular至少都有一個組件，為根組件( <strong>root component</strong>)， 他會把組件樹狀和頁面中的DOM連結起來。每個組件都會定義一個類別(class)，其中包括數據資料與邏輯( data and logic)，並與HTML Templates相關聯，這個HTML Templates定義了一個視圖(view)，提供顯示目標環境。</li></ol><p>有著@裝飾器名稱()，代表裝飾器，裝飾器緊隨的那個CLASS是一個組件並提供模板和該組件專屬的原數據。</p><pre>import { BrowserModule } from &#39;@angular/platform-browser&#39;;</pre><pre>import { NgModule } from &#39;@angular/core&#39;;</pre><pre>import { AppComponent } from &#39;./app.component&#39;;</pre><pre>import { HeroesComponent } from &#39;./heroes/heroes.component&#39;;</pre><pre>import { FormsModule } from &#39;@angular/forms&#39;;</pre><pre>@NgModule裝飾器({</pre><pre>declarations:<em>申表對象，文件，管道</em> [</pre><pre>AppComponent<em>(對應到上方的import { AppComponent } from &#39;./app.component&#39;;檔案)</em>,</pre><pre>HeroesComponent<em>(對應到上方的import { HeroesComponent } from &#39;./heroes/heroes.component&#39;;)</em></pre><pre>],</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51b2c373640d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F/angular-%E4%B8%89%E5%80%8B%E5%9F%BA%E6%9C%AC%E8%A7%80%E5%BF%B5-51b2c373640d">Angular-三個基本觀念</a> was originally published in <a href="https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F">Chi-Chieh Liu &lt;-程式人生-&gt;</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular-Hero day2]]></title>
            <link>https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F/angular-hero-day2-ea0d01b75432?source=rss-529bd7d15c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea0d01b75432</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[angularjs]]></category>
            <dc:creator><![CDATA[Chie-Chieh Liu]]></dc:creator>
            <pubDate>Sun, 17 Feb 2019 15:09:08 GMT</pubDate>
            <atom:updated>2019-02-17T15:09:08.663Z</atom:updated>
            <content:encoded><![CDATA[<p>Add a hero property~添加一個hero屬性</p><p>新增一個屬性(property)叫&quot;hero&quot;在heroes.component.ts的檔案中，會對應到html中{{hero}}</p><p>那要如何顯示HeroesComponent呢!?</p><p>在這裡很重要的是 選擇器(selector): ‘app-heroes’</p><p>因此html除了要對應到property之外</p><p>也要加入&lt;app-heroes&gt;&lt;/app-heroes&gt;元素，讓html知道要吃這隻。</p><pre>&lt;t1&gt;{{hero}}&lt;/t1&gt;</pre><pre>&lt;app-heroes&gt;&lt;/app-heroes&gt;<br>                                                      component.html</pre><p>在Angular中有類別class，表示如下，程式碼中的export是指輸出</p><pre>export class Hero{</pre><pre>id:number;</pre><pre>name:string;</pre><pre>}<br>                                                             hero.ts</pre><p>將 hero.ts輸出class”Hero” 到heroes.comopnent.ts的import {Hero} from ‘/hero’;中</p><pre>import {Component, OnInit}from ’@angular/core’;</pre><pre>import {Hero} from ‘../hero’;</pre><pre>@Component({<br>selector:&#39;app-heroes&#39;,<br>templateUrl:&#39;./heroes.component.html&#39;<br>StyleUrls:[&#39;./heroes.compoenet.css&#39;]</pre><pre>})<br>export class HeroesComponent implements OnInit{<br>hero:Hero={<br>id:1,<br>name:&#39;windstorm&#39;<br>};</pre><pre>constructor(){<br>ngOnInit<br>}<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea0d01b75432" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F/angular-hero-day2-ea0d01b75432">Angular-Hero day2</a> was originally published in <a href="https://medium.com/chi-chieh-liu-%E7%A8%8B%E5%BC%8F%E4%BA%BA%E7%94%9F">Chi-Chieh Liu &lt;-程式人生-&gt;</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>