Copied to clipboard

Flag this post as spam?

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


  • Tarunjit 103 posts 146 karma points
    Apr 20, 2016 @ 12:44
    Tarunjit
    0

    Umbraco File Changes Dring Development

    Hi All,

    We are about to start our development on Umbraco based project, Our code repository will be TFS. Based on this we have the following query :-

    a. In case of development environment developer creates/edit following items :-

    1. Add/Edit/Remove Document Type
    2. Add/Edit/Remove Template
    3. Add/Edit/Remove Images
    4. Add/Edit/Remove Content page

    There may be other important activities related to Umbraco then what are the files which they need to check in, so that other developers don’t get any issue if they start working on that project.

  • Kevin Jump 2342 posts 14889 karma points MVP 8x c-trib
    Apr 21, 2016 @ 07:39
    Kevin Jump
    1

    Hi

    when your developing with umbraco, there is a bit of a split, somethings when changed will directly change on the disk, while others will be changes within the umbraco database.

    To get around this for source control, i wrote the usync package which takes the bits that are in the database and writes them out to disk, you can then source control those bits. uSync also writes the settings from disk into the umbraco db, so you can go the other way.

    there are a number of ways to use usync, but it allows for automation to make this easy for developers, or manual so you can see what is going on at any point.

    for reference when working with umbraco:

    changes on disk:

    • templates (the files are in views or masterpages)
    • partial views (views/partials)
    • stylesheets (css)
    • media (the images are in /media/)
    • scripts (/scripts)
    • xslt (/xslt - not really used)
    • partial view macro files (/views/macros)

    changes in the database

    • templates (the id is in the db)
    • document types
    • datatypes
    • dictionary items
    • languages
    • media types
    • macros
    • content
    • media (properties are stored in the db)
Please Sign in or register to post replies

Write your reply to:

Draft