I am looking at the code for this cart and I have to say it is excellent and looks very much like my favorite framework CodeIgnitor. Was this cart built with Kohana or CI or was your framework inspired by those projects? Excellent job!
Henry Weismann
877.44.MY.WEB (877.446.9932)
We can help with your Opencart Site - Opencart Web Developer
the loader class was a little inspired.
For the rest I just went around looking for examples of the most simplest of each class needed to create a basic framework.
Remember keeping things simple is harder than writing complex code.
For the rest I just went around looking for examples of the most simplest of each class needed to create a basic framework.
Remember keeping things simple is harder than writing complex code.
OpenCart®
Project Owner & Developer.
Cool, yes it is very clean and simple which is what I love about CI. I also love small footprints and loose coupling.
I'm actually thinking of creating a payment library for CI and was looking at the carts out there to see if I can create a wrapper for them. This way I can simultaneously create payment modules for an open source cart and a loosely coupled payment library. Each project would benefit form each other
Your cart is the best so far but I'm not sure it is loose enough. I have to take a closer look. Right now It looks like your payment modules have controllers, models and views and and the user is passed to the correct controller based on the payment method choice. Then the controller handles everything...the business logic. Get Order gets everything the payment module needs Also at first glance I think your doing a little ajax for payment processing or atleast confirmation. These are the things Im looking for:
Also what do you think of modular separation. I have implemented a custom library in CI to do that....none of the existing ones were efficient. I am a big fan of code organization and feel things are a lot easier and neater when they are located in MVC triads. Would that ever be a possibility for open cart? I have already decided to use it on my next shopping cart client. They could not afford Interspire, the cart I usually use, so this is my new favorite open source cart even though it doesn't have as many features as bloated and convoluted Magento cart.
I'm actually thinking of creating a payment library for CI and was looking at the carts out there to see if I can create a wrapper for them. This way I can simultaneously create payment modules for an open source cart and a loosely coupled payment library. Each project would benefit form each other
Your cart is the best so far but I'm not sure it is loose enough. I have to take a closer look. Right now It looks like your payment modules have controllers, models and views and and the user is passed to the correct controller based on the payment method choice. Then the controller handles everything...the business logic. Get Order gets everything the payment module needs Also at first glance I think your doing a little ajax for payment processing or atleast confirmation. These are the things Im looking for:
- Losely Coupled
Standardized...standard methods, standard input and standard output of each payment module.
Simple Code
Able to install payment modules via uploading a zip or placing in directories and that's it...uninstall just as easy
Also what do you think of modular separation. I have implemented a custom library in CI to do that....none of the existing ones were efficient. I am a big fan of code organization and feel things are a lot easier and neater when they are located in MVC triads. Would that ever be a possibility for open cart? I have already decided to use it on my next shopping cart client. They could not afford Interspire, the cart I usually use, so this is my new favorite open source cart even though it doesn't have as many features as bloated and convoluted Magento cart.
Henry Weismann
877.44.MY.WEB (877.446.9932)
We can help with your Opencart Site - Opencart Web Developer
Who is online
Users browsing this forum: No registered users and 33 guests