[問題] MVC 優先順序?
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
visual stdio 2013 C++
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
問題(Question):
餵入的資料(Input):
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版)
補充說明(Supplement):
學校要寫一支MVC Pattern的程式
我的想法是,View只負責顯示,所以先創一個Presentation model,
在Presentation model裡面創一個View,這樣有需要顯示再去呼叫View
但是同學都是先創一個View,然後再請Presentation model去Model取資料
想請問到底是先創View才對還是創Presentation model才對呢? (以哪個為主?)
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.124.182.113
※ 文章網址: http://www.ptt.cc/bbs/C_and_CPP/M.1412315462.A.DF6.html
※ 編輯: asadman1523 (140.124.182.113), 10/03/2014 13:52:36
→
10/03 14:29, , 1F
10/03 14:29, 1F
→
10/03 17:49, , 2F
10/03 17:49, 2F
→
10/03 17:50, , 3F
10/03 17:50, 3F