<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd="http://schemas.google.com/g/2005"><id>tag:blogger.com,1999:blog-4500363753981919783.post2127688552672638919..comments</id><updated>2023-10-03T22:06:50.708+08:00</updated><title type='text'>Comments on Huan-Lin 學習筆記: 要不要把商業邏輯寫在預儲程序裡?</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://www.huanlintalk.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/2127688552672638919/comments/default'/><link rel='alternate' type='text/html' href='https://www.huanlintalk.com/2012/10/to-stored-procedure-or-not.html'/><link rel="hub" href="http://pubsubhubbub.appspot.com/"/><author><name>Michael Tsai</name><uri>http://www.blogger.com/profile/00364693770445538641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4500363753981919783.post-3073042419989635561</id><published>2012-10-08T08:29:09.339+08:00</published><updated>2012-10-08T08:29:09.339+08:00</updated><title type='text'>我想這還是得看個別專案的狀況。由於目前接觸的系統,我還沒有完全了解其背景,不敢妄下定論,只是心中存疑...</title><content type='html'>我想這還是得看個別專案的狀況。由於目前接觸的系統,我還沒有完全了解其背景,不敢妄下定論,只是心中存疑而已。是否有必要這麼多層,值得進一步檢視,而且還得詢問當初設計的人,以便確認。基本上,拆得越多層,除錯和維護難免會多一分麻煩。忘了是誰說的一句挺有意思的話:「分散式架構的一個重要原則,就是不要分散。」哈!有點 kuso,但是從效率和維護的觀點來看,也不是沒道理。</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/2127688552672638919/comments/default/3073042419989635561'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/2127688552672638919/comments/default/3073042419989635561'/><link rel='alternate' type='text/html' href='https://www.huanlintalk.com/2012/10/to-stored-procedure-or-not.html?showComment=1349656149339#c3073042419989635561' title=''/><author><name>Michael Tsai</name><uri>https://www.blogger.com/profile/00364693770445538641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.huanlintalk.com/2012/10/to-stored-procedure-or-not.html' ref='tag:blogger.com,1999:blog-4500363753981919783.post-2127688552672638919' source='http://www.blogger.com/feeds/4500363753981919783/posts/default/2127688552672638919' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1825873726"/><gd:extendedProperty name="blogger.displayTime" value="2012/10/8 上午8:29"/></entry><entry><id>tag:blogger.com,1999:blog-4500363753981919783.post-7928772019685075108</id><published>2012-10-07T22:44:01.537+08:00</published><updated>2012-10-07T22:44:01.537+08:00</updated><title type='text'>小弟也有碰到類似的經驗,一樣的method,由於分了很多層,導至層層都在做修改,每一層都只是改個me...</title><content type='html'>小弟也有碰到類似的經驗,一樣的method,由於分了很多層,導至層層都在做修改,每一層都只是改個method傳入的參數,以及呼叫下一層參數的方法,雖然這樣也許在擴展上可能比較有彈性,但重覆的事情要做好多遍,總覺得很沒有效率,且有的工程師一懶,還直接跳過中間許多層,這樣倒不如一開始就不需分那麼多層,還是覺得簡單的三層(Data、Business與UI)比較實用,以上是小弟的經驗,不知Huan有何看法呢?</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/2127688552672638919/comments/default/7928772019685075108'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/2127688552672638919/comments/default/7928772019685075108'/><link rel='alternate' type='text/html' href='https://www.huanlintalk.com/2012/10/to-stored-procedure-or-not.html?showComment=1349621041537#c7928772019685075108' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.huanlintalk.com/2012/10/to-stored-procedure-or-not.html' ref='tag:blogger.com,1999:blog-4500363753981919783.post-2127688552672638919' source='http://www.blogger.com/feeds/4500363753981919783/posts/default/2127688552672638919' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1283929094"/><gd:extendedProperty name="blogger.displayTime" value="2012/10/7 晚上10:44"/></entry></feed>