Demandware MVC概念 [英] Demandware MVC concept
问题描述
我是Demandware的新手,我正从Magento切换到Demandware. Demandware不是开源的我没有得到适当的教程,无法理解它的概念.
I am new guy to Demandware and I am switching from Magento to Demandware. Demandware is not opensource I am not getting proper tutorials, stuff to understand the concepts of it.
我来自Magento,所以我知道Magento MVC的结构. 但是在Demandware中,我们有不同的概念,例如管道,管道,ISML脚本,ECMA脚本,DW脚本等.
I am from Magento so I know the Magento MVC structure. But in Demandware we have different concepts like pipelines, pipelets, ISML scripts, ECMA script, DW scripts etc.
我想知道Demandware的MVC模式. 它是如何工作的,我需要集中精力掌握哪些基本概念?
I want to know the MVC pattern of Demandware. How it works and what are the basic concept I need to concentrate?
推荐答案
我建议您尽快请求一个Demandware XChange帐户,以便您可以访问Demandware社区门户以及API文档.
I would suggest to request a Demandware XChange account as soon as possible for you, so that you get access to the Demandware community portal and also to the API documentation.
简而言之:
- 模型是Demandware表单和Demandware API对象
- 控制器是Demandware管道(最近发布了一些JavaScript控制器,如果您具有Node.js经验,可能会更容易理解这些控制器).这些可以调用DW脚本(DemandwareScript基于JavaScript的ECMAScript标准5.0,带有一些扩展名,例如E4X和可选类型)
- 视图是isml模板.您应该避免在其中加入很多逻辑,要么使用isif,isloop等isml标记,要么使用isscript.
还有其他问题-让我知道.
Any further questions - let me know.
希望这会有所帮助,
Zlatin
这篇关于Demandware MVC概念的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!