哪些PHP开源购物车解决方案具有使我作为Web开发人员受益的功能? [英] Which PHP open source shopping cart solutions have features that benefit me as the web developer?

查看:80
本文介绍了哪些PHP开源购物车解决方案具有使我作为Web开发人员受益的功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每个平台都有数百种购物车解决方案,并且所有托管计划都已安装了几个。作为开发人员,我了解从用户角度来看,大多数功能都非常相似。

There are hundreds of shopping cart solutions available for every platform, and all hosting plans come with several already installed. As a developer I understand that most of these are fairly similar from a user perspective.

但是,那些是在考虑开发人员的情况下构建的?例如,哪些代码具有不错的API,以便我的自定义代码不会与核心代码混合在一起;或者哪些代码具有透彻的模板系统,以便我可以轻松地为每个新客户端自定义代码?

But which ones are built with the developer in mind? For example, which ones have a decent API so that my custom code doesn't get mingled with the core code or which ones have a well thought through template system so that I can easily customize it for each new client?

推荐答案

osCommerce从一开始就是设计不良的产品之一,随着时间的流逝,它基本上变得难以维护。插件是补丁程序,而自定义代码可修改内核。 (除非自从我上次查看以来一切都发生了很大变化-从版本号来看,还没有)。

osCommerce is one of those products that was badly designed from the beginning, and becomes basically unmaintainable as time moves forward. Addons are patches, and custom code modifies core. (Unless things have drastically changed since I last looked at it - judging by the version numbers, they have not).

虽然Drupal的水平可能比您似乎要高,但它是一个非常有吸引力的平台。它是基于CMS的,使用电子商务 Ubercart ,您可以将其变成商店。使用 CCK 视图,您只需编写很少的代码即可构建非常复杂的电子商务网站(专业产品类型,属性),并且免费获得所有CMS工具(编辑,访问控制等)。如果您编写自己的模块,则可以在Drupal中几乎挂接到任何东西而无需触及核心代码,并且您将获得大量的灵活性。

While probably at a bit higher level than you seem to be asking, Drupal is a very attractive platform. It is a CMS at its base, and using ecommerce or Ubercart you can turn it into a store. With modules like CCK and Views you can build very sophisticated ecommerce sites (specialized product types, attributes) with very little coding, plus you get all the CMS tools (editing, access control, etc) for free. If you write your own modules, you can hook into almost anything in Drupal without touching the core code, and you get a ton of flexibility.

尽管许多开发人员可能不会仅仅因为他们坚持应该从头开始编写某些东西而考虑它,但Drupal是一个非常出色的开发平台那类的东西。绝对有一个学习曲线,尤其是当您需要为其编写模块时,但是学习和实现网站所花费的时间仍然可能比从头开始编写一个非常定制的电子商务网站要短。

Though a lot of developers may not consider it simply because they're stuck in this view that they should write something from scratch, Drupal is a really great development platform for this sort of thing. There is definitely a learning curve to it, especially when you need to write modules for it, but the time it takes to learn and implement a site is still probably less than writing a very customized ecommerce site from scratch.

这篇关于哪些PHP开源购物车解决方案具有使我作为Web开发人员受益的功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆