Copied to clipboard

Flag this post as spam?

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


  • Jonas Eriksson 930 posts 1825 karma points
    Dec 09, 2014 @ 16:16
    Jonas Eriksson
    0

    Using Umbraco content from a vanilla MVC site - request for testers &| feedback

    I've spent some time creating "Tapas" a package that can host Umbraco content as json. The package has been available for a while, and some people use it in production which is very cool.

    But I always had the idea to extend it to make it useable from another site (not only from a js frontend), and now I have a first working version of that kind of functionality.

    So by installing the host binaries on the umbraco site, and the client binaries on a standard MVC site you can easily get the contents to your MVC site and handle them there in whatever way you like.

    You will get the content pages statically typed (PortableNode) with basic navigation features (Parent & Children) and with TemplateAlias mapped to View names. So what you do is you basically add views with the same names as your templates and add @model PortableNode in your views. Then in your startup you initialize the content to map to the Umbraco site url.

    The thing is not ready for production, I write here because I hope to get feedback on the idea + hopefully someone to try it out. And from there I'd like to either go further to improve it to reach production ready status, or, to put it in the bin ...

    Installation instructions on the wiki https://github.com/joeriks/Tapas/wiki/Use-the-MVC-Client

    Use at your own risk - and not on any production sites please :)

    I used an earlier iteration of this for a few years on another site and I'm sure many of you have something similar. But I haven't seen any public code to simplify this yet - so this is my attempt to it.

    See also: http://leekelleher.com/2014/11/11/reflecting-on-predictions-for-umbraco/ "The bifurcation of Umbraco - I think we’ll see a demand for separating the “front-end” from the “back-office”"

Please Sign in or register to post replies

Write your reply to:

Draft