sitecore unicorn - synchronize easily

18
Synchronize easily Sitecore Unicorn

Upload: coderscenter

Post on 12-Feb-2017

51 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Sitecore Unicorn - Synchronize easily

Synchronize easily

Sitecore Unicorn

Page 2: Sitecore Unicorn - Synchronize easily

2

Few words about me• My name is Radek Kozłowski• I’m Senior Sitecore Developer at Coders Center• I work with Sitecore for over 3 years• I really enjoy Sitecore community, so I contribute to it

Page 3: Sitecore Unicorn - Synchronize easily

3

> Why do we need serialization?> What is Unicorn?> Why should we use it?> Serialization improvements> Demo

Agenda

Page 4: Sitecore Unicorn - Synchronize easily

4

> Moving Sitecore development items between environments

> Templates> Presentational items: layouts, renderings and sublayouts> Setting items

> Populating test/local environments with content from live instances

Why do we need serialization?

Page 5: Sitecore Unicorn - Synchronize easily

5

> Sitecore packages> Simple> Error-prone> Suitable for ad-hoc actions and full module packages

Basic approaches

Page 6: Sitecore Unicorn - Synchronize easily

6

> Simple serializing items> Default Sitecore mechanism> Need manual action> Very dangerous

Basic approaches

Page 7: Sitecore Unicorn - Synchronize easily

7

> Utility that solves the issue of moving items between Sitecore instances.

> Automatically serialize item changes as they are made to Sitecore

> Sitecore items are serialized to files and moved by the repository, insted of error-prone packages

What is Unicorn?

Page 8: Sitecore Unicorn - Synchronize easily

8

> Advanced serialization and comparision system for Sitecore

> Complete replacement for the Sitecore serialization format and filesystem organization

> YAML-based serialization formatter> Serialization File System (SFS)

Rainbow

Page 9: Sitecore Unicorn - Synchronize easily

9

> Serializing only the needed data> Getting rid of merging conficts> Getting rid of field content-length recalculation

YAML - based serialization formatter

Page 10: Sitecore Unicorn - Synchronize easily

10

> Nonessential data - are in YAML comments> Ignoring fields (e.g. __Updated)

YAML - based serialization formatter

Page 11: Sitecore Unicorn - Synchronize easily

11

> Human readable file hierarchy> Extremely long item name

support> Unlimited path length support> Stores each included subtree in

its own hierarchy, reducing file name length

> Supports non-unique paths, while keeping it human-readable

Serialization File System (SFS)

Page 12: Sitecore Unicorn - Synchronize easily

12

> Solves the problem of moving Sitecore items between instances

> Helps merging changes in Sitecore items> Saves the time of items deployment> Transparent Synch – automated synchronization

Why we should use it

Page 13: Sitecore Unicorn - Synchronize easily

13

> Great tool from Hedgehog development

> Focused on user’s choice rather than repository

Something similar? TDS

Page 14: Sitecore Unicorn - Synchronize easily

14

> Selecting items from Visual Studio

Something similar? TDS

Page 15: Sitecore Unicorn - Synchronize easily

15

> Choosing what to do with changes

Something similar? TDS

Page 16: Sitecore Unicorn - Synchronize easily

16

Demo time

Page 17: Sitecore Unicorn - Synchronize easily

17

> Extremely good Sitecore module

> Very easy to synchronize> Can automate serialization> Bit harder to configure

than TDS> A lot of improvements

Conclusions

Page 18: Sitecore Unicorn - Synchronize easily

18

Thank you My blog: SitecoreCoffee.comTwitter: @Radek_KozlowskiE-mail: [email protected] company’s page: http://coders.center/