Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Damian Green 452 posts 1433 karma points
    May 20, 2012 @ 21:53
    Damian Green
    0

    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

     

     

  • Damian Green 452 posts 1433 karma points
    May 20, 2012 @ 22:05
    Damian Green
    0

    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!

     

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 22, 2012 @ 10:36
    Søren Spelling Lund
    0

    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.

  • Damian Green 452 posts 1433 karma points
    May 22, 2012 @ 13:27
    Damian Green
    0

    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?

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 22, 2012 @ 15:55
    Søren Spelling Lund
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft