本文介绍了Spree是否可扩展到足以像Amazon.com一样在一个应用程序中支持多个供应商?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简而言之,是否可以在不对Spree进行实质性修改的情况下构建Amazon克隆?

In short, is it possible to build an Amazon clone without substantial modification to Spree?

推荐答案

确实是可能的。如果这样做,请不要将spree用作引擎,而只需使用整个源代码即可。如果将其用作引擎,最终将覆盖狂欢的太多功能,您将完全迷失方向!还要使用并扩展大礼包附带的测试。但是,您将失去更新狂欢的能力,因为您将不得不在核心中更改很多内容。

it is indeed possible. If you do, don't use spree as an engine, just use the whole sourcecode as itself. If you use it as an engine, you'll end up overriding so much features of spree that you will be lost totally! Also use and extend the tests that come with spree. You will however loose the ability to update spree, because you will have to change a lot of stuff in the core.

这篇关于Spree是否可扩展到足以像Amazon.com一样在一个应用程序中支持多个供应商?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 21:32