Copied to clipboard

Flag this post as spam?

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


  • tentonipete 78 posts 223 karma points
    Dec 30, 2010 @ 11:55
    tentonipete
    0

    Creating packages - best practices

    Hi everyone,

    I'm creating my first package and i've read the advice here: http://our.umbraco.org/wiki/how-tos/packages-and-projects but i've still got some questions.

    How do I make things appear in the back end to perform some kind of site administration?

    I've found details on how to create a custom "section" but if it's a small piece of functionality where should it go?

    Some packages seem to add things to the "developer" section but if it's a site administration thing should it be placed in "settings"?

    Can anybody recommend a well put together package for me to either check out the source of to see how these things are achieved or something I can reflect to see how it's done?

    Thanks for any help you can give me.

     

  • webmonger 130 posts 285 karma points
    Dec 30, 2010 @ 12:03
    webmonger
    0

    Hi

    I generally put site administration settings in a new section so the access rights can be controlled by the user settings page.

    I would put things only developers have access to in the settings or developers section.

    Settings section: I would class these as things that need to be configured

    Developers section: These are things that are not configured but created and worked with online.

    A good example may be in settings i would put email addresses but within developer i would hold the template for the email.

    Hope that helps. Anything else ask away

  • Rich Green 2246 posts 4008 karma points
    Dec 30, 2010 @ 12:16
    Rich Green
    0

    It might be easier to offer advice if you gave some idea of what your package is going to do.

    Rich

  • tentonipete 78 posts 223 karma points
    Dec 30, 2010 @ 12:42
    tentonipete
    0

    Thanks for the input guys. I'm not developing any specific package at the moment but will be making a few so just need to know what the best practices are.

    I also found this series of videos on umbraco.tv 

    http://umbraco.tv/help-and-support/video-tutorials/developing-with-umbraco/custom-sections,trees-and-pages

    that are really useful.

    Creating a new section specifically for administration tasks does seem like the most sensible thing to do so I can manage the access rights. I'm interested to know whether this is an approach everyone is taking or whether a large proportion of implementations assume that site administrators and developers are one and the same?

  • webmonger 130 posts 285 karma points
    Dec 30, 2010 @ 12:54
    webmonger
    0

    We work with many clients and therefore developer and content admin are never the same so we would always put content admin in a new section.

    Hope that helps

    Remember to mark the correct answer as the answer.

Please Sign in or register to post replies

Write your reply to:

Draft