开发者

Kohana and Zencart

开发者 https://www.devze.com 2023-03-12 01:25 出处:网络
I have a kohana script which the customer 开发者_运维技巧wants to use in conjunction with a number of zen-cart modules. One idea I had was to run that script and zen-cart side by side with this class.

I have a kohana script which the customer 开发者_运维技巧wants to use in conjunction with a number of zen-cart modules. One idea I had was to run that script and zen-cart side by side with this class.

http://www.phpclasses.org/package/4912-PHP-Manage-users-of-Zencart-installation.html

Has anyone used this before? Is this a viable option? If not my options are port zen-cart modules to kohna (ugh) or rewrite the kohana script in zen-cart (double ugh).


I would think a much easier path would be to create a model for the Zencart customer object using the in-built ORM module in Kohana. Although all this depends on what your current Kohana script does. Can you post the code for your Kohana script, or at least provide an overview of it's functionality?

Porting a Zencart module to Kohana would be a better option because:

  1. Kohana is a much better framework than the mess that is Zencart.
  2. You can release that ported code to the community to allow other developers to take advantage of it (and improve your code).
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号