Copied to clipboard

Flag this post as spam?

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


  • Paul 184 posts 646 karma points
    Mar 23, 2022 @ 11:47
    Paul
    0

    Installing Umbraco 9 Forms to split architecture/project seperation

    Hi,

    I have Umbraco 9 running with it split over 3 projects, a bit like what JonDJones and Dennis Adolfi have done;

    UmbracoSite.Core: This contains my controllers, composers, view components, migrations, interfaces etc etc.

    UmbracoSite.Models: This contains my models.

    UmbracoSite.Web: This contains my views, my www root etc.

    With Umb 9 Forms I can see on Nuget there are:

    • Umb Forms Core (I guess I put this in my core proj)
    • Umb Forms Web (I guess I put this in my web proj)
    • Umb Forms Core Providers (Do I need this in core and web or just core?)
    • Umb Forms Examine (where's this go)

    Any ideas on where I should put these in my architecture? Ideally I'd like to be able to upgrade forms without it touching my views as I normally do lots of view customisation.

  • Paul 184 posts 646 karma points
    Mar 23, 2022 @ 16:37
    Paul
    0

    Is this the right place to post about Umb Forms? I got my license.

  • Damian 61 posts 342 karma points
    Mar 24, 2022 @ 16:45
    Damian
    0

    Hey Paul, I'm a fan of keeping the separation - and for all the reasons you note. That being said, I've been fine with simply adding Umbraco.Forms to the *.Web project and that's it.

    The Umbraco.Forms is the only package we use and the views are copied into the *.web\views\partials\forms dir on each build. The way that Umbraco allows for Themes is really fantastic as you can modify your views/fieldtype renderings as needed and, if you haven't created custom renderings for an particular fieldtype, for example, Umbraco will simply fallback to the stock defaults - love it!
    This whole approach allows for the worry free upgrades, it's wonderful.

  • Paul 184 posts 646 karma points
    Mar 25, 2022 @ 10:50
    Paul
    0

    Thanks Damian, this is what I ended up doing, including creating my own theme etc. Seems to be working ok thus far.

Please Sign in or register to post replies

Write your reply to:

Draft