【文件属性】:
文件名称:simple-meteor-mvc:非常简单的流星Mvc示例
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-07 17:19:54
JavaScript
简单流星音乐
非常简单的流星Mvc示例。
对我来说,很难在坚固的环境中雕刻出任何MVC式的东西。 但是,该死! 我们必须使其成为MVC ..对吗?
通过反复试验,我最终得到了一种非常简单的方法来使用Meteor实现MVC结构。
查看/ .html .js .less
-anything related to the view. Has references to collections and session objects in
html/helpers/events, so Model UPDATES the View (see picture).
controller.js
-any functions responding to user actions, called from the view (User USES the Controller
【文件预览】:
simple-meteor-mvc-master
----README.md(2KB)
----page-search()
--------view()
--------controller.js(335B)
--------model.js(125B)
--------router.js(107B)