Copied to clipboard

Flag this post as spam?

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


  • Gary 44 posts 279 karma points
    1 week ago
    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 1791 posts 5924 karma points c-trib
    1 week ago
    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 4668 posts 13055 karma points MVP admin hq
    4 days ago
    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