I need to hook up a 'rate this page' type feature on a current project. The front-end is complete, and is using jQuery to do a simple AJAX post, posting the article id and the rating the user has submitted.
Now I'm wondering what the best way of implementing this server-side will be in v6.1.2 MVC? In the past I'd have just done this with Umbraco /Base. Nice and simple. However, I'm not sure if base still works or is the recommended approach? I'm thinking perhaps surface controllers or the Umbraco API controller are now the way to go, but they seem a whole lot more complex than base.
Umbraco Base in v6 MVC
Hi,
I need to hook up a 'rate this page' type feature on a current project. The front-end is complete, and is using jQuery to do a simple AJAX post, posting the article id and the rating the user has submitted.
Now I'm wondering what the best way of implementing this server-side will be in v6.1.2 MVC? In the past I'd have just done this with Umbraco /Base. Nice and simple. However, I'm not sure if base still works or is the recommended approach? I'm thinking perhaps surface controllers or the Umbraco API controller are now the way to go, but they seem a whole lot more complex than base.
Could anyone suggest the best way to do this?
Thanks folks.
Dan,
I would use umbraco web api controller, have recently done this on a project for ajax product search.
Regards
Ismail
Excellent, thanks Ismail. I have a working prototype already, with the aid of these useful links:
Wasn't much more difficult than setting up Base, and I see it's probably a lot more powerful too.
Cheers.
is working on a reply...