Copied to clipboard

Flag this post as spam?

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


  • Bryna 74 posts 260 karma points
    Jan 15, 2019 @ 20:28
    Bryna
    1

    Umbraco Best Practices

    Greetings:

    I am new to Umbraco and have been searching the forums looking for "Best Practices". I found some good content but realized a lot of that content was dated from 2009-2010 era. I sorted it to show the last updated first and found nothing between Nov 29,2018 and Jan 15,2019.

    I guess some generic best practices would be good, I've looked over it for a couple of weeks. Some areas to help define the scope of the best practices:

    1. What are the best practices related to searching sites? Do these practices change if you have 5 root sites that you wish to search across?
    2. What are Best practices for translations when you only want to translate to one language, and it will mostly be a specific sub-section of your site?
    3. How are Macros intended to be used? I've read that they can be selected by content editors using the RTE, which kind of violates how I was using them after the first couple of days? We were mainly using Macros to handle things like partial for Menus or to iterate generically through a special DocumentType (eg Faqs).

    I have more questions, but am trying to keep this initial question short.

  • Nicholas Westby 2054 posts 7104 karma points c-trib
    Jan 15, 2019 @ 21:41
    Nicholas Westby
    2

    I would not recommend using macros. You can see some alternatives here (search for "macro"): https://24days.in/umbraco-cms/2015/umbraco-zeitgeist/

    Has some other guidance on things to aim for or avoid. From the end of 2015, but still pretty valid.

  • Bryna 74 posts 260 karma points
    Jan 16, 2019 @ 16:01
    Bryna
    0

    That is a pretty detailed article. I think it is a great starting point and I will definitely reference it as I start down my Umbraco journey. I like to have at least three different sources, so I am really hoping that there are other helpful articles[aside from just using google to find "umbraco best practices" in the past year].

    I am having a bit of trouble grasping the concept of Archetypes. Is an archetype the same thing as a composition, or is it more akin to checking the option to enable list view? Or is it more of an abstract implementation meant to handle a variety of things that is only limited by the developer's creativity to solve problems?

  • Nicholas Westby 2054 posts 7104 karma points c-trib
    Jan 16, 2019 @ 16:51
    Nicholas Westby
    101

    I wrote this article a while back about building widgets with Archetype: https://skrift.io/articles/archive/building-umbraco-websites-with-archetype-widgets-and-ditto/

    Here's a forum reply that elaborates a bit: https://our.umbraco.com/forum/templates-partial-views-and-macros/85133-how-to-creating-a-modular-page-in-umbraco#comment-269690

    And here's a forum reply that shows some code: https://our.umbraco.com/forum/templates-partial-views-and-macros/95236-best-approach-for-widgets-in-umbraco-7#comment-301113

    And here's another similar article somebody else wrote, but for an alternative to Archetype (the same principles apply to either technology): https://skrift.io/articles/archive/building-with-components/

  • Bryna 74 posts 260 karma points
    Jan 17, 2019 @ 22:59
    Bryna
    1

    I think that gets me a lot closer to wrapping my head around some things I will need to set up for the sites I am dealing with. Thank you for your assistance Nicholas.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies