Copied to clipboard

Flag this post as spam?

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


  • webmonger 130 posts 285 karma points
    Aug 14, 2012 @ 12:28
    webmonger
    3

    Changes fixes enhancements in fork

    Hey

    We love uSiteBuilder at Screenmedia and we've been using it for ages on both large and small projects alike.

    We've made some cool changes to the core of the system on a fork @ https://hg.codeplex.com/forks/stephenwrogers/usitebuilder

    We'd love to get some feedback and discuss getting this in to the core of the system.

    We've got pretty much the latest version of the changes in our admin project at http://our.umbraco.org/projects/backoffice-extensions/usitebuilder-admin

    Again any feedback welcome.

    Cheers

    Jon

    Special thanks to Stephen Rogers who as done the bulk of the work :)

  • webmonger 130 posts 285 karma points
    Aug 14, 2012 @ 12:34
    webmonger
    0

    We're also interested in making some more large scale sweeping changes that will make some thing easier but will break backward compatibility.

    Anyone who is using uSiteBuilder what are your views on backward compatibility?

    Does anyone have a good idea for maintaining compability?

    Cheers

  • Richard Terris 273 posts 715 karma points
    Aug 14, 2012 @ 13:05
    Richard Terris
    0

    Is this you preparing for tonight?

    I think the trello board is excellent but perhaps the Vega guys should be more involved (if they want to be) or they could release the source code to the community?

    Looks like a lot of changes are sought after on the trello board, but it'd be good for them to be in uSiteBuilder core as opposed to everyone having their own versions?

  • Michael Wulff Nielsen 11 posts 74 karma points
    Aug 14, 2012 @ 14:12
    Michael Wulff Nielsen
    1

    uSiteBuilder is already open source, the code is available here: http://usitebuilder.codeplex.com/

    That said Vega is very open to suggestions and fixes. Personally I don't mind breaking changes as long as I can fix my sitebuilder project and recompile relatively easily.

    What are you planning to do?

  • webmonger 130 posts 285 karma points
    Aug 14, 2012 @ 15:29
    webmonger
    0

    Yeah we've been working with the source for Vega it's great

    • We have added as dashboard control to the backend that lists changes and allows you to sync everything or only some things. This both makes the inital first run of the site much quicker but also adds flexability for devs.
    • We're looking at how to work with strongly typed views in razor files so we've inherited DocumentTypeBase from DynamicNode which provides all the same functionality as it did previously but also adds the standard DynamicNode methods.
    • We've created export functionality so you can export a site from a previous install and install it on another instance of Umbraco. You can then mess about with any of the types before re-syncing them in to you new install for your new site.

    Check out the source of our project at https://hg.codeplex.com/forks/stephenwrogers/usitebuilder

     

  • Sasa Popovic 77 posts 367 karma points
    Aug 15, 2012 @ 23:04
    Sasa Popovic
    1

    Hi Jon,

    We are really glead to hear that more people are joining the project and making it better every day!

    We will review your changes in the comming days and get back to you if we have any questions or remarks. Feel free to make a pull request on codeplex - that will make it easier for us to start with the merge procedure.

    For everyone else outher who want to contriube, feel free to make your own forks and make a pull request when you think your work is ready to be merged with the core.

    It would also be good to get some people from the community who are willing to try and provide feedback on the new work that gets pushed to the core and before we make an official new release.

    Regards,
    Sasa

  • webmonger 130 posts 285 karma points
    Aug 16, 2012 @ 14:25
    webmonger
    0

    No problem, we'll make a pull request as soon as possible.

    Jon

  • Stephen 47 posts 270 karma points
    Aug 18, 2012 @ 12:02
    Stephen
    1

    I've finally got round to creating the pull request.  I'll reproduce the details here as it's probably a better forum for discussion:

     

    Changes made to accommodate uSiteBuilderAdmin package.  The key changes are listed below

     

    - Move the suppress flag logic to an earlier stage to allow user initiated synching

     

    - Add Comparer classes to allow a user to preview the changes to DocTypes / DataTypes / Templates that would be made by a synch

     

    - Inheriting DocumentTypeBase from DynamicNode, this allows Razor macros to use the USiteBuilderNodeContext<T> class and all DynamicNode methods (like Position() etc) will be available on CurrentContent

     

    - Changed the logic on the DataType synch to completely restore PreValues from the defined classes

     

    - Addition of a CustomTypeCustomer property to DocumentTypePropertyAttribute. This is used in the ContentHelper.GetByNode(Node) method when reading out data.  

     

    I wasn't sure that the current system of keying the CustomTypeConverters on the output type would work - there could be two properties that are both List<string> but use different type converters (say converting from a string delimeted list or XML). For this reason, I haven't ensured that the Dictionary of PropertyConverters will populated if a synch hasn't happened, as I would prefer to see them defined as above, or possibly defined against a DataTypeAttribute?

     

     

    - I had added the uSiteBuilderAdmin package project to this repo, but have subsequently taken it out and added it to a separate repo.

     

    I wouldn't say the pull request represents a finished product, it definitely needs a lot more testing on various Umbraco installs, but is an idea of the direction I was trying to head.

     

    Stephen

Please Sign in or register to post replies

Write your reply to:

Draft