Rails:在使用 Rails 开发网上商店时什么时候会使用购物车软件?

发布于 2024-08-04 03:31:00 字数 136 浏览 2 评论 0原文

对于想要开发网店类型的 Web 应用程序,同时了解使用 Rails 进行 Web 开发的人,您会建议使用购物车服务还是从头开始?我想我也不完全确定购物车软件是什么,所以如果有人能够阐明这一点并解释为什么有人会使用购物车而其他人不会,我将不胜感激。 提前致谢。

For someone who would like to develop a webstore type web application, and at the same time learn about web development with rails, would you recommend using a shopping cart service or starting from scratch? I guess I'm not entirely sure exactly what shopping cart software is either, so if someone could elucidate this and explain why someone would use a shopping cart and someone else wouldn't, I'd appreciate it.
Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

饭团 2024-08-11 03:31:00

通常,我会说使用可以满足您需求的服务。我认为最好专注于开发应用程序的核心——这使您的应用程序独一无二——这样您就可以将其推出。您以后随时可以用自己的购物车替换服务。

如果一项服务无法满足您的需求,或者您正在开发在线购物车的超级圣杯,那么当然,推出您自己的服务。让别人的技术阻碍你是没有意义的。只要准备好投入大量时间即可。

构建您自己的购物车当然是一种很好的学习体验,但我想您的应用程序的其余部分也有很多需要学习的内容。您可以稍后用自己的代码替换服务。

Typically, I'd say use a service if it can meet your needs. I think it is better to focus on developing the meat of your application -- that which makes your app unique -- so you can get it out there. You can always replace a service with your own shopping cart later.

If a service can't meet your needs, or you are developing the Uber Holy Grail of online shopping carts, then sure, roll your own. No sense in letting other people's technology stand in your way. Just be prepared to invest a lot of time into it.

Building your own shopping cart is certainly a good learning experience, but I'd imagine that there is plenty of learning to be had in the rest of your application as well. You can replace a service with your own code later.

子栖 2024-08-11 03:31:00

从业务角度来看,我想您会希望尽快开始创收,因此我可能会采用已经开发并经过验证的现有解决方案。

您可以查看 Shopify 作为托管解决方案。它不仅提供了坚实的工作基础,还可以进行大量定制,还可以通过 API 进行扩展。由于它是基于 Rails 的,因此他们在 Rails 中有很多示例,位于 http://api.shopify.com/< /a>.

当您对 Rails 越来越熟悉后,您可以构建自己的购物车。到那时,您不仅会熟悉该语言,而且会更多地了解您在购物车中需要什么。

From a business perspective, I'd imagine you would want to start generating revenue as soon as possible, so I'd probably go with an existing solution that is already developed and already proven.

You may check out Shopify as a hosted solution. Not only does it provide a solid foundation to work with, it can also be heavily customized and also can be extended through their API. Since it is Rails-based, they have a lot of examples in Rails at http://api.shopify.com/.

As you become more comfortable with Rails, you may build your own shopping cart. By that time, you will not only be comfortable with the language but you will know more of what you need in a shopping cart.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文