Kohana and Zencart
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:
- Kohana is a much better framework than the mess that is Zencart.
- You can release that ported code to the community to allow other developers to take advantage of it (and improve your code).
精彩评论