Copied to clipboard

Flag this post as spam?

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


  • Gary 80 posts 377 karma points
    Nov 07, 2018 @ 16:48
    Gary
    0

    Preparing for V8

    Hi,

    I am currently beginning a project to develop a new website within Umbraco. Do any of you have any technical advice on things to avoid / implement in preparation for V8. We will be building on V7.12.4 but we want to make sure we don't implement something that will be obselete in V8 as we would want to upgrade soon after V8 release.

    Any advice would be really helpful.

    Kind Regards,

    Gary Henshall

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Nov 07, 2018 @ 17:13
    Nicholas Westby
    1

    Avoid Dynamics

    Avoid dynamics. Umbraco 8 will just have something like Model.Value<>() to get a property value. Will also have Models Builder (which internally will just call Model.Value<>()). So when you upgrade, you'll have to change your calls to Model.GetPropertyValue<>() to Model.Value<>().

    Avoid XPATH

    Also, avoid XSLT/XPATH (when trying to fetch content nodes). It's fast now, but in Umbraco 8 they have a shim that'll make it work (at least XPATH), but it'll be slower. Because of the different cache technology, C#/LINQ will be faster in Umbraco 8.

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Nov 12, 2018 @ 08:36
    Sebastiaan Janssen
    1

    The HQ answer for this is still: you won't be able to upgrade to v8, but there will be a migration path eventually. Build your sites in v7 now and when v8 is actually released, evaluate if it makes sense for you to migrate.

    The advise from Nicholas is fine as well, but that's general v7 advise anyway. ;-)

Please Sign in or register to post replies

Write your reply to:

Draft