Best method of hooking up uCommerce with jquery/ajax
Hi,
Im just trying to work out which would be the best method of implementing the cart actions etc.. so that I can utilise JQuery and AJAX to make the precess a little more slick.
Would you recommend using umbraco base, creating a WCF Service or another method?
What would be the pros/cons of each and are there any uCommerce examples kicking about that could help?
I would also like to get some re-use out of the code too when creating other stores so id like to keep an eye on making it generic enough for any store - also with V3 and UCommerce 3 in mind (i.e. minimal upgrading of custom code).
I would go with one of the alternative web frameworks like WebAPI, Nancy, or ServiceStack. WebAPI will be part of ASP.NET MVC 4 while the two others are open source alternatives. All three are very lightweight.
I don't even consider WCF an option at this point. Too cumbersome to work with in my opinion unless you specifically need some of the protocol/encryption support.
How would i use WebAPI with v4.7 umbraco and ucommerce? Id need a seperate app with it being MVC wouldn't I - so how wuld i get the other app to talk to ucommerce?
Best method of hooking up uCommerce with jquery/ajax
Hi,
Im just trying to work out which would be the best method of implementing the cart actions etc.. so that I can utilise JQuery and AJAX to make the precess a little more slick.
Would you recommend using umbraco base, creating a WCF Service or another method?
What would be the pros/cons of each and are there any uCommerce examples kicking about that could help?
I would also like to get some re-use out of the code too when creating other stores so id like to keep an eye on making it generic enough for any store - also with V3 and UCommerce 3 in mind (i.e. minimal upgrading of custom code).
Thanks
Damian
Could also maybe add using razor and alt templates with the UCommerce API to that list of options... thats what im looking at, at the moment!
I would go with one of the alternative web frameworks like WebAPI, Nancy, or ServiceStack. WebAPI will be part of ASP.NET MVC 4 while the two others are open source alternatives. All three are very lightweight.
I don't even consider WCF an option at this point. Too cumbersome to work with in my opinion unless you specifically need some of the protocol/encryption support.
How would i use WebAPI with v4.7 umbraco and ucommerce? Id need a seperate app with it being MVC wouldn't I - so how wuld i get the other app to talk to ucommerce?
You can use WebAPI as part of the web forms app.
Here's an article on getting it going: CRUD operation using Web API in Asp.net Web form application.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.