使用 PHP 构建在线商店的推荐方法

发布于 2024-10-01 20:53:08 字数 811 浏览 0 评论 0原文

我正在从社区寻求一些关于根据以下信息构建在线商店的建议:

关于商店:

  • 销售实体产品的在线商店
  • 产品页面将包括客户评论、产品缩放、“您可能喜欢”等元素 需要
  • 使用开放 ID
  • 需要一个完整的后端来支持信用卡支付、订单跟踪、运输、退款、向目录添加新产品等
  • 支持 3 种语言(这是业务要求)

关于我的技能:

  • 我已经构建了一个以前有一个使用原始 PHP 的类似电子商务网站,具有我想要的新商店的许多功能,但是这是我的第一个大型 PHP 项目,我知道它的编码非常糟糕
  • 我的 PHP/编码技能是新手,自学成才,我没有经验我有一个框架,但我热衷于学习一个框架,以提高我的技能,并使该网站对于在我之后继承该项目的任何编码人员来说更易于管理。

我的问题:

  • 您建议我使用 MVC 框架构建新商店吗?如果是,哪一个适合此类项目?我以前从未使用过。我读过,CodeIgniter 适合初学者,但我也读过 Kohana 很棒,所以我在两者之间左右为难,并且更喜欢学习曲线不会太陡的东西。
  • 您是否建议购买现有的购物车/网上商店系统然后对其进行修改?或者只是自己构建整个东西。距离发布还有 3.5 个月。就我个人而言,我更喜欢从头开始构建它,因为我会知道该网站的所有来龙去脉,而且我真的不喜欢陷入不理解别人的代码以及如何控制它的困境。然而,也许这对我来说是无知的,我应该强迫自己使用已经存在的东西,因为它可能编码得更好。想法?

我做了很多阅读和研究,我觉得只有在 Stackoverflow 上询问经验丰富的社区才有意义,而不是自己做出决定。

I'm looking for some advice from the community about constructing an online store based on the following information:

About the Store:

  • Online store that sells physical products
  • product page will include elements such as customer reviews, product zoom, "you may like" etc.
  • uses open ID
  • needs a full backend to support credit card payments, order tracking, shipping, refunds, adding new products to the catalogue, etc
  • needs to support 3 languages (this is a business requirement)

About my skills:

  • I've built a similar e-commerce site in raw PHP before with many of the features I want for the new store, however that was my first big PHP project and I know it's coded terribly
  • My PHP/coding skills are novice and self taught and I have no experience with a framework but I'm keen on learning about one to improve my skills and to make the site more manageable for any coders who inherit the project after me.

My questions:

  • Do you recommend I build the new store using a MVC framework? If so, which one for this type of project? I have never used one before. I have read that CodeIgniter is good for first timers but I've also read Kohana is great so I'm torn between the two and would prefer something that won't have too steep a learning curve.
  • Do you recommend purchasing an existing shopping cart/web store system and then modifying it? Or just building the whole thing myself. I have a 3.5 months until launch. Personally I prefer building it from the ground up because I will know all the ins and outs of the site and I really dislike getting stuck not understanding someone else's code and how to control it. However, maybe this is ignorant of me and I should force myself to use something already existing because it's probably coded better. Thoughts?

I have done a lot of reading and research and I felt it only made sense to ask the vastly more experienced community on Stackoverflow instead of just trying to make the decision myself.

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

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

发布评论

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

评论(2

小霸王臭丫头 2024-10-08 20:53:08

我建议您使用 CakePHP 框架。我用同样的方法做了我的第一个电子商务项目,它很容易学习,并根据我的需要给了我一个完全定制的网站。它内置了本地化、用户身份验证以及随时可用的 openID 组件。

在我看来,如果您使用 OSCommerce 或 Magento 等电子商务解决方案,它会为您提供许多不必要的功能和更少的所需定制选项。

I would recommend you to go for CakePHP framework. I did my first e-commerce project with the same and it was pretty easy to learn and gave me a fully customized site as per my needs. It has built in localization, user authentication and also an openID component readily available for it.

In my opinion if you use ecommerce solutions like OSCommerce or Magento, it gives you a lot of unnecessary features and less of required customized options.

仅冇旳回忆 2024-10-08 20:53:08

您可以尝试自定义 OSCommerece,它是用 PHP 构建的。它有各种各样的插件,并有强大的用户社区支持。很多在线门户网站都在其上运行。

You could give a try customizing the OSCommerece which is built in PHP.It has got a wide variety of plugins available with a great user community support.Lot of online web portals are running on that.

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