Saturday, 19 November 2016

程序员修炼之道读书笔记 50



The model is the source code: one view of the model can be compiled; other views are meant to be printed out or viewed on the Web. Our goal is always to work on the model—whether the model is the code itself or some other document—and have all views updated automatically.
代码就是MVC 模型中的M model),视图(view)可以通过编译产生出来,其他视图可以通过打印或者网页浏览到。我们的目标就是所有的工作都集中在模型上,无论模型是代码本身还是其他文档所有的视图(view)都应当自动被生成出来。 -à 何其对哉!如若如此,每个项目程序员开发都将轻松许多!

No comments:

Post a Comment