Copied to clipboard

Flag this post as spam?

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


  • Bobi 352 posts 956 karma points
    Mar 20, 2020 @ 05:04
    Bobi
    0

    Umbraco for app development

    Hi, has anyone used Umbraco as a backend CMS for app development - having a web app and native mobile apps? Any recommendations or other approaches?

  • Yakov Lebski 591 posts 2346 karma points
    Apr 06, 2020 @ 02:07
    Yakov Lebski
    100

    Yes, I did it, just need export data to consume by mobile application. You can do it by webapi or export data to static storage

  • Bobi 352 posts 956 karma points
    Apr 06, 2020 @ 02:39
    Bobi
    0

    Hi, thank you. How did you prevent the cms from publishing to the public?

  • Steve Morgan 1349 posts 4458 karma points c-trib
    Apr 06, 2020 @ 08:51
    Steve Morgan
    1

    Just don't serve any content in the view templates - only via your API controller. Create document types without a template or you could just put a single template on all doc types serving dummy content / redirecting elsewhere.

    If you're not outputting any CMS data in the views then "the public" can't see anything.

    Does that help?

  • Jerome 1 post 71 karma points
    Feb 15, 2023 @ 01:11
    Jerome
    0

    how did you export your data? by data do you mean the different content and media types? I'm using umbraco heartcore

  • Yakov Lebski 591 posts 2346 karma points
    Apr 06, 2020 @ 02:57
    Yakov Lebski
    1

    It depend what you mean "prevent the cms from publishing to the public"? Out of the box you have option to save or to publish. Only published version is shown to user.

  • Julien Kulker 75 posts 427 karma points c-trib
    Apr 06, 2020 @ 10:00
    Julien Kulker
    1

    Something that could be interesting is: https://github.com/rasmusjp/umbraco-graphql.

  • Mark Drake 134 posts 458 karma points c-trib
    Apr 01, 2022 @ 16:09
    Mark Drake
    1

    I'll probably butcher some of the description below, but I wanted to give you some insight to our approach. It may not be 100% accurate. Apologize!

    We've used the Umbraco CMS to feed data into a number of applications - websites are the obvious choice, but we've also done mobile apps and voice controlled apps.

    Here's a quick screenshot of the content node tree in a project we've just begun:

    enter image description here

    We create a base node for each application.

    1. Website
    2. Native Android/iOS App
    3. Datasets

    When it comes to editing content for the native app, we take the same block list approach as the website. There's an entire set of templates and blocks specially created for editors to have control over their apps. The blocks are designed in Xamarin / .NET Maui - so all we are concerned with is the JSON representation of the content node -> to the screen.

    Our app "phones home" for new data through an API controller. Most of our apps are so small that we can just request a refresh of everything, and begin downloading all JSON and media in the background. The app stores it in a local db on the phone.

    For apps that have a lot of content, we've hooked into the content publish event (Umbraco) and generate a new cache key each time. The cache key helps us validate whether the local db on the phone has the latest content, or we push the necessary updates.

  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Apr 05, 2024 @ 06:22
    Biagio Paruolo
    0

    I use Umbraco for various applications as backend. You can create your controllers + authentication or you can use Delivery API.

Please Sign in or register to post replies

Write your reply to:

Draft