{"id":159,"date":"2006-12-18T06:52:20","date_gmt":"2006-12-18T06:52:20","guid":{"rendered":"http:\/\/www.jason695.idv.tw:81\/wordpress\/?p=159"},"modified":"2006-12-18T06:52:20","modified_gmt":"2006-12-18T06:52:20","slug":"%e4%bb%80%e9%ba%bc%e6%98%af%e7%89%a9%e4%bb%b6object","status":"publish","type":"post","link":"https:\/\/jason695.why3s.tw\/wordpress\/2006\/12\/18\/%e4%bb%80%e9%ba%bc%e6%98%af%e7%89%a9%e4%bb%b6object\/","title":{"rendered":"\u4ec0\u9ebc\u662f\u7269\u4ef6(Object)"},"content":{"rendered":"<p><font color=\"#000000\">\u5168\u6587\u8207\u9644\u5716\u8acb\u53c3\u8003\uff1a<br \/>\nhttp:\/\/www.hsdc.com.tw\/modules\/newbb\/viewtopic.php?topic_id=155&#038;forum=1&#038;post_id=1078#forumpost1078<\/p>\n<p>\u65e2 \u7136\uff0c\u4e3b\u6d41\u7684\u7a0b\u5f0f\u958b\u767c\u8a9e\u8a00\uff0c\u5305\u62ec Java, .NET(C#, VB \u2026) \u7b49\uff0c\u751a\u81f3\u9023 PHP \u9019\u7a2e \u201dScript-based\u201d\uff0c\u4ee5\u7db2\u9801\u8a2d\u8a08\u70ba\u4e3b\u7684\u63cf\u8ff0\u6027\u8a9e\u8a00\uff0c\u90fd\u5df2\u6a19\u699c\u80fd\u5be6\u73fe\u6240\u8b02\u7684 \u201c\u7269\u4ef6\u5c0e\u5411(object-oriented)\u201d \u7684\u958b\u767c\u6a21\u5f0f\uff0c\u90a3\u9ebc\u986f\u7136\uff0c\u8edf\u9ad4\u5206\u6790\u8207\u8a2d\u8a08\u3001\u5305\u62ec\u7a0b\u5f0f\u64b0\u5beb\u4eba\u54e1\uff0c\u90fd\u5fc5\u9808\u8981\u80fd\u5c0d\u4ee5 \u201c\u7269\u4ef6\u201d \u70ba\u55ae\u4f4d\u7684\u8a2d\u8a08\u8207\u958b\u767c\uff0c\u8981\u80fd\u6709\u5176\u5171\u8b58\u3002\u4f46 \u201c\u7269\u4ef6\u201d \u537b\u5f80\u5f80\u5f88\u96e3\u88ab\u754c\u5b9a\u8207\u5b9a\u7fa9\uff0c\u5177\u9ad4\u7684\u6771\u897f\uff0c\u5982\u96fb\u8166\u3001\u5c0f\u72d7\u3001\u6c7d\u8eca\u3001\u676f\u5b50\u3001Xbox 360 \u2026\u7b49\uff0c\u90fd\u662f\u7269\u4ef6\uff1b\u4f46\u62bd\u8c61\u7684\u6982\u5ff5\uff0c\u5982\u8a02\u623f\u3001\u6703\u8b70\u3001\u8a02\u8cfc\u3001\u4fdd\u96aa\u3001\u884c\u52d5\u96fb\u8a71\u7684\u7c21\u8a0a \u2026\u7b49\uff0c\u4e5f\u90fd\u53ef\u4ee5\u662f\u7269\u4ef6\u3002\u5177\u9ad4\u7684\u6771\u897f\uff0c \u56e0\u70ba\u80fd\u770b\u5f97\u5230\uff0c\u6240\u4ee5\u770b\u8d77\u4f86\u6bd4\u8f03\u5bb9\u6613\u80fd\u627e\u51fa \u201c\u7269\u4ef6\u201d\uff0c\u4f46\u5176\u5be6\u4e5f\u5f88\u5bb9\u6613\u6709 \u201c\u832b\u9ede\u201d\uff0c\u4f8b\u5982\uff0c\u201d\u677e\u6a39\u201d \u662f\u4e00\u500b\u7269\u4ef6\uff0c\u9084\u662f\u591a\u500b\u7269\u4ef6\uff1f \u201c\u6a39\u679d\u201d\u3001\u201d\u6a39\u8449\u201d\u3001\u201d\u6a39\u5e79\u201d\u3001\u201d\u6a39\u6839\u201d \u662f \u201c\u677e\u6a39\u201d \u7684\u57fa\u672c\u7d44\u6210\u5143\u7d20\uff0c\u5b83\u5011\u662f\u5426\u4e5f\u53ef\u4ee5\u7b97\u662f\u7269\u4ef6\uff1f \u800c\u62bd\u8c61\u7684\u6982\u5ff5\uff0c\u66f4\u662f\u96e3\u4ee5\u754c\u5b9a\uff0c\u82e5\u6c92\u6709\u8db3\u5920\u7684\u62bd\u8c61\u80fd\u529b(\u62bd\u8c61\u80fd\u529b\u6709\u6642\u53c8\u8981\u5e36\u9ede\u5275\u610f\u8207\u60f3\u50cf)\uff0c\u5be6\u5728\u5f88\u96e3\u6355\u6349\u770b\u4e0d\u8457\u3001\u6478\u4e0d\u5230\u7684 \u201c\u76f8\u201d\uff0c\u5c07\u4e4b\u5b9a\u7fa9\u70ba\u5177\u9ad4\u7684(specific)\u7269\u4ef6\u3002<\/p>\n<p>\u201c\u5230\u8655\u90fd\u662f\u7269\u4ef6(everywhere is object)\u201d\uff0c\u4f46\u6c92\u6709\u7d30\u5fc3\u89c0\u5bdf\u8207\u9ad4\u6703\uff0c\u4ee5\u53ca\u628a\u63e1\u6700\u57fa\u672c\u7684\u5224\u65b7\u539f\u5247\uff0c\u4e26\u4e0d\u5bb9\u6613\u767c\u6398\u51fa\u5c0d\u672a\u4f86\u8edf\u9ad4\u8a2d\u8a08\u6642\u6709\u52a9\u76ca\u7684\u7269\u4ef6\u3002\u4ec0\u9ebc\u662f\u6700\u57fa\u672c\u7684\u5224\u65b7\u539f\u5247\uff1f \u4f9d\u64da J.Martin &#038; J.Odell \u5c0d\u7269\u4ef6\u7684\u5b9a\u7fa9\uff1a<\/p>\n<p>\u201cAn Object is anything to which a concept applies. It is an instance of a concept.\u201d<br \/>\n(\u7269\u4ef6\u662f\u6982\u5ff5\u53ef\u4ee5\u88ab\u61c9\u7528\u7684\u4efb\u4f55\u4e8b\u7269\uff0c\u5b83\u662f\u6982\u5ff5\u6240\u5448\u73fe\u7684\u500b\u9ad4)\u3002<\/p>\n<p>\u7531 \u6b64\u5b9a\u7fa9\u4e5f\u53ef\u4ee5\u5f97\u77e5\uff0c\u201c\u7269\u4ef6\u201d \u8207 \u201c\u500b\u9ad4(instance)\u201d \u9019\u5169\u500b\u8853\u8a9e\uff0c\u5176\u5be6\u662f\u5177\u540c\u7fa9\u8a5e\u6027\u8cea\u7684\u3002\u5c07 \u201c\u6982\u5ff5(concept)\u201d \u4f5c\u70ba\u8a8d\u77e5\u7684\u5c0d\u8c61\u6642\uff0c\u6240\u7522\u51fa\u7684 \u201c\u500b\u9ad4(instance)\u201d \u5373\u70ba\u7269\u4ef6\u3002\u4f46\u6982\u5ff5\u6703\u727d\u6d89\u5230\u4eba\u5011\u5c0d\u65bc\u89c0\u9ede\u3001\u89d2\u5ea6\u7b49\u8a8d\u77e5\uff0c\u800c\u6703\u6709\u4e0d\u540c\u7684\u9ad4\u8a8d\u3002\u4f8b\u5982\u7ad9\u5728\u904a\u5ba2\u7684\u89d2\u5ea6\uff0c\u4ed6\u6240\u770b\u5230\u5728\u68ee\u6797\u88e1\u9762\u7684\u6a39\u6728\uff0c\u662f\u4e00\u500b\u500b\u7684 \u201c\u500b\u9ad4\u201d\uff0c\u6703\u5f9e\u6a39\u6728\u4e4b\u5916\u7684\u89d2\u5ea6\u4f86\u6b23\u8cde\u6a39\u6728\u7684\u8302\u76db\u8207\u5b8f\u5049\uff0c\u662f\u4e00\u7a2e\u6574\u9ad4\u6027\u7684\u8a8d\u77e5\uff1b\u4f46\u7ad9\u5728\u690d\u7269\u5b78\u5bb6\u7684\u89d2\u5ea6\uff0c\u4ed6\u8981\u7814\u7a76\u7d44\u6210\u6a39\u6728\u7684\u7d50\u69cb\u5143\u7d20\uff0c\u6240\u4ee5\u6703\u628a\u6a39\u6728\u5206\u70ba \u201d\u6a39\u5e79\u201d\u3001\u201d\u6a39\u679d\u201d\u3001\u201d\u6a39\u8449\u201d\u3001\u201d\u6a39\u6839\u201d \u7b49\u591a\u500b\u7d44\u6210\u6a39\u6728\u7684 \u201c\u7269\u4ef6\u201d\uff0c\u5f9e\u7d50\u69cb\u7684\u89c0\u9ede\u4f86\u7814\u7a76\u6a39\u6728\u7684\u5167\u90e8\u7d44\u6210\u3002<\/p>\n<p>\u9019\u540c\u6642\u4e5f\u5c31\u4ee3\u8868\u4e86\uff0c\u96d6\u7136\u5230\u8655 \u90fd\u662f\u7269\u4ef6\uff0c\u4f46\u4e26\u4e0d\u662f\u4efb\u610f\u5730\u5c07\u7269\u4ef6\u7d66 \u201c\u585e\u201d \u5165\u8edf\u9ad4\u7cfb\u7d71\u5167\uff0c\u7269\u4ef6\u5c0e\u5411\u7684\u8a2d\u8a08\uff0c\u662f\u5c07\u554f\u984c\u9818\u57df(problem domain)\u7684\u6982\u5ff5\uff0c\u5448\u73fe\u8207\u5c0d\u6620(mapping)\u81f3\u8edf\u9ad4\u7cfb\u7d71\u5167\uff0c\u90a3\u9ebc\uff0c\u5982\u4f55\u6b63\u78ba\u5730\u6355\u6349(capture)\u554f\u984c\u9818\u57df\u7684\u6982\u5ff5\u6210\u70ba\u7269\u4ef6\uff0c\u5c31\u6210\u70ba\u662f\u8edf\u9ad4\u8a2d\u8a08 \u4e2d\uff0c\u6700\u70ba\u91cd\u8981\u7684\u6280\u80fd\u8207\u7d20\u990a\u4e86\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u5f9e\u696d\u52d9\u64cd\u4f5c\u4eba\u54e1(operator)\u6700\u5e38\u6e9d\u901a\u7684\u8853\u8a9e\uff0c\u201c\u8a02\u8cfc\u55ae(order form)\u201d\uff0c\u8edf\u9ad4\u8a2d\u8a08\u4eba\u54e1\u82e5\u4e0d\u77e5\u5982\u4f55\u6b63\u78ba\u6355\u6349\u6982\u5ff5\u8853\u8a9e\uff0c\u7d50\u679c\u5c07 \u201c\u8a02\u8cfc\u55ae\u201d \u8996\u70ba\u662f\u4e00\u500b\u55ae\u4e00\u7684\u7269\u4ef6\uff0c\u800c\u5c07\u5176\u8a2d\u8a08\u81f3 \u201c\u9818\u57df\u6a21\u578b(domain model)\u201d\uff0c\u4e43\u81f3\u65bc \u201c\u8edf\u9ad4\u898f\u683c\u6a21\u578b(software specification model)\u201d\u3002\u4f46\uff0c\u82e5\u662f\u61c2\u5f97\u5f9e\u4e0d\u540c\u89c0\u9ede\u8207\u89d2\u5ea6\u4f86\u89c0\u5bdf\u8207\u601d\u8003\u7684\u8edf\u9ad4\u8a2d\u8a08\u4eba\u54e1\uff0c\u6703\u767c\u73fe\u5230 \u201c\u8a02\u8cfc\u55ae\u201d \u5176\u5be6\u662f\u4e00\u7a2e \u201cUI(User Interface) \u7684\u5448\u73fe\u201d\uff0c\u672a\u4f86\u5728\u8edf\u9ad4\u8cc7\u8a0a\u7cfb\u7d71\u4e2d\uff0c\u662f\u4ee5\u5982 \u201cWeb Form\u201d \u7b49\u5be6\u4f5c\u6280\u8853\u4f86\u5448\u73fe\u8a02\u8cfc\u55ae\u7684\u76f8\u95dc\u7d44\u5408\u8cc7\u8a0a(information)\uff0c\u7576\u5206\u6790 \u201c\u8a02\u8cfc\u55ae\u201d \u7684\u5167\u90e8\u7d50\u69cb\u6642\uff0c\u5c31\u6703\u627e\u51fa\u66f4\u5177 \u201c\u672c\u8cea\u6027(essential)\u201d \u7684\u6982\u5ff5\u7269\u4ef6\uff0c\u5305\u62ec \u201c\u8a02\u8cfc(order)\u201d\u3001\u201d\u8a02\u8cfc\u7d30\u9805(order lineitem)\u201d\u3001\u201d\u9805\u76ee(item)\u201d \u2026\u7b49\u78ba\u5be6\u80fd\u5145\u5206\u8868\u9054\u6982\u5ff5\u7684\u7269\u4ef6\u3002(\u5f80\u5f80\u9019\u4e9b\u6982\u5ff5\u7269\u4ef6\uff0c\u6703\u6210\u70ba\u8cc7\u8a0a\u7cfb\u7d71\u4e2d\u9593\u5c64(middle-tier)\u7684\u4f01\u696d\u7269\u4ef6(business object))\u3002<\/p>\n<p>\u7269\u4ef6\u7684\u7279\u5fb5(features)<br \/>\n\u65e2\u7136\u7269\u4ef6\u662f\u6982\u5ff5\u7684\u5177\u9ad4\u5448\u73fe\uff0c\u90a3\u9ebc\uff0c\u6bcf\u4e00\u500b\u7269\u4ef6\uff0c\u5fc5\u7136\u6709\u5176\u7279\u5fb5(features)\uff0c\u800c\u53ef\u4ee5\u8b93\u5916\u754c\u80fd\u8fa6\u8b58\u5b83\u3002\u7269\u4ef6\u7684\u7279\u5fb5\uff0c\u5305\u62ec\u5169\u500b\u90e8\u5206\uff0c\u5c6c\u6027(attribute)\u8207\u884c\u70ba(behavior)\u3002<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5168\u6587\u8207\u9644\u5716\u8acb\u53c3\u8003\uff1a http:\/\/www.hsdc.com.tw\/modules\/newbb\/viewtopi &hellip; <a href=\"https:\/\/jason695.why3s.tw\/wordpress\/2006\/12\/18\/%e4%bb%80%e9%ba%bc%e6%98%af%e7%89%a9%e4%bb%b6object\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587 <span class=\"screen-reader-text\">\u4ec0\u9ebc\u662f\u7269\u4ef6(Object)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[],"class_list":["post-159","post","type-post","status-publish","format-standard","hentry","category-29","no-featured-image"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":0,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"wp:attachment":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}