SlideShare une entreprise Scribd logo
1  sur  18
Organized by the Community, for the Community.
NEXT GENERATION
SERIALIZATION WITH
UNICORN 3
Kam Figy
Connective DX
@kamsar
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015
GOOD MORNING
Organized by the Community, for the Community.
WHY DOWE NEED
SERIALIZATION?
• Sitecore dev artifacts are a mixture of code files
and items, such as templates or renderings.
• Items are stored in the Sitecore database, code
is stored in source control.
• Source control commits are incomplete without
the items that complement the code.This is
bad.
Without serialization.
SUGCON NORTH AMERICA 2015 3
Organized by the Community, for the Community.
WHY BUILD
UNICORN?
• Back in the dark ages, we used shared
databases.
• We used packages.
• We triedTDS.
• None of these delivered the frictionless
development experience we desired.
SUGCON NORTH AMERICA 2015 4
Organized by the Community, for the Community.
HOW DOES
UNICORN WORK?
• You choose items to serialize.
• Database items are written to files on disk.
• Changes in Sitecore are updated to disk in real
time.
• “Sync” pushes changes from disk into your local
database.
• Merging is always done on disk.
SUGCON NORTH AMERICA 2015 5
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 6
STOP
DEMOTIME
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 7
DEMO:
SETTING UP UNICORN
In which we taunt the demo gods
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 8
DEMO:
TEAM COLLABORATION
In which we bite our thumbs at the demo gods
Organized by the Community, for the Community.
WHAT’S NEW IN UNICORN 3?
Features
• New format (YAML)
• New storage (SFS)
• Sitecore UI warnings
• Partial sync
• Partial reserialize
• Auto publish synced
• Split config schema
• Sync event pipelines
Improvements
• SPEED: 50% more of it
• Better messaging
• More extensible
• No Ninject required
• Versioned to shared
field conversion
• Fresh paint on the UI
• More info:
http://goo.gl/XwMjTa
SUGCON NORTH AMERICA 2015 9
Organized by the Community, for the Community.
RAINBOW:
A MODERN ITEM
SERIALIZATION
LIBRARY
Overview:
http://goo.gl/Yl4gkM
More about format:
http://goo.gl/LPMbVv
More about hierarchy:
http://goo.gl/8cSDNm
SUGCON NORTH AMERICA 2015 10
• Rainbow is a code library for serialization.
• Unicorn uses Rainbow.
• Easy to read file format.
• Human readable file hierarchy.
• Designed to be easy to merge when conflicts
occur.
• Item comparison APIs.
Organized by the Community, for the Community.
RAINBOW: SERIALIZING A MULTILIST FIELD
With Sitecore serialization format
…
Content-Length: n
{GUID}|{GUID}|{GUID}
If you and someone else both add a
GUID, you get a merge conflict and
have to manually recalculate
content length.
With Rainbow’sYAML format
…
{GUID}
{GUID}
{GUID}
Line oriented format increases
automerge chance,
no content length.
SUGCON NORTH AMERICA 2015 11
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 12
ONE MORETHING
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 13
INTRODUCING
TRANSPARENT SYNC
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 14
Organized by the Community, for the Community.
TRANSPARENT
SYNC
• Automatic, real-time sync.
• One less thing to remember to do.
• Amazing for code reviews.
• Great for dev artifact items.
• SSD recommended for the I/O.
• Enabled per-configuration.
• New deployment possibilities.
SUGCON NORTH AMERICA 2015 15
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 16
DEMO:
TRANSPARENT SYNC
In which we laugh at the demo gods
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 17
QUESTIONS
“IS UNICORN 3 OUTYET?”
YES. RIGHT NOW.
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015
THANKYOU!
UNICORN IS AVAILABLE ON NUGET
OPEN SOURCE (MIT) ON GITHUB
TWEET @KAMSAR
BLOG: KAMSAR.NET
Source:
https://goo.gl/VF3Mkd
Documentation:
https://goo.gl/ePFki1

Contenu connexe

En vedette

Directi Case Study Contest 2010- MDI Gurgaon Exter boy
Directi Case Study Contest 2010- MDI Gurgaon Exter boyDirecti Case Study Contest 2010- MDI Gurgaon Exter boy
Directi Case Study Contest 2010- MDI Gurgaon Exter boyDirecti Group
 
الجبائر السنية التجميلية -الجزء الثالث
الجبائر السنية التجميلية -الجزء الثالث الجبائر السنية التجميلية -الجزء الثالث
الجبائر السنية التجميلية -الجزء الثالث Bassem Abu Canon , DDS
 
Camera Shots, Angles and Movements
Camera Shots, Angles and MovementsCamera Shots, Angles and Movements
Camera Shots, Angles and Movementsmmcdonald2
 
Perceptual Mapping using Twitter Data
Perceptual Mapping using Twitter DataPerceptual Mapping using Twitter Data
Perceptual Mapping using Twitter DataDavid Gerson
 
How Engine Mount Affect The Engine
How Engine Mount Affect The EngineHow Engine Mount Affect The Engine
How Engine Mount Affect The EngineHarmony Motor Works
 
Year 8 english exam 2015
Year 8 english exam 2015Year 8 english exam 2015
Year 8 english exam 2015mmcdonald2
 
INTERCAMBIO CON FRANCIA
INTERCAMBIO CON FRANCIAINTERCAMBIO CON FRANCIA
INTERCAMBIO CON FRANCIAbullaribera
 
Red Ventures Case Competition
Red Ventures Case CompetitionRed Ventures Case Competition
Red Ventures Case CompetitionEdwina Koch
 
Energy from inside الطاقة من الداخل
Energy from inside الطاقة من الداخل Energy from inside الطاقة من الداخل
Energy from inside الطاقة من الداخل Bassem Abu Canon , DDS
 
Year 12 English - Transition Class 1
Year 12 English - Transition Class 1Year 12 English - Transition Class 1
Year 12 English - Transition Class 1mmcdonald2
 
Clutch Plate Modelling And Analysis
Clutch Plate Modelling And AnalysisClutch Plate Modelling And Analysis
Clutch Plate Modelling And AnalysisShree Sudhindra
 
Transition Class 2
Transition Class 2Transition Class 2
Transition Class 2mmcdonald2
 
The UK before the Industrial Revolution
The UK before the Industrial RevolutionThe UK before the Industrial Revolution
The UK before the Industrial Revolutionmmcdonald2
 
Medieval Japan
Medieval JapanMedieval Japan
Medieval Japanmmcdonald2
 
Food and bevg cocke brand-audit_report
Food and bevg cocke brand-audit_reportFood and bevg cocke brand-audit_report
Food and bevg cocke brand-audit_reportGaurav Dulani
 

En vedette (16)

Directi Case Study Contest 2010- MDI Gurgaon Exter boy
Directi Case Study Contest 2010- MDI Gurgaon Exter boyDirecti Case Study Contest 2010- MDI Gurgaon Exter boy
Directi Case Study Contest 2010- MDI Gurgaon Exter boy
 
الجبائر السنية التجميلية -الجزء الثالث
الجبائر السنية التجميلية -الجزء الثالث الجبائر السنية التجميلية -الجزء الثالث
الجبائر السنية التجميلية -الجزء الثالث
 
Camera Shots, Angles and Movements
Camera Shots, Angles and MovementsCamera Shots, Angles and Movements
Camera Shots, Angles and Movements
 
Perceptual Mapping using Twitter Data
Perceptual Mapping using Twitter DataPerceptual Mapping using Twitter Data
Perceptual Mapping using Twitter Data
 
How Engine Mount Affect The Engine
How Engine Mount Affect The EngineHow Engine Mount Affect The Engine
How Engine Mount Affect The Engine
 
Year 8 english exam 2015
Year 8 english exam 2015Year 8 english exam 2015
Year 8 english exam 2015
 
INTERCAMBIO CON FRANCIA
INTERCAMBIO CON FRANCIAINTERCAMBIO CON FRANCIA
INTERCAMBIO CON FRANCIA
 
Red Ventures Case Competition
Red Ventures Case CompetitionRed Ventures Case Competition
Red Ventures Case Competition
 
Energy from inside الطاقة من الداخل
Energy from inside الطاقة من الداخل Energy from inside الطاقة من الداخل
Energy from inside الطاقة من الداخل
 
Year 12 English - Transition Class 1
Year 12 English - Transition Class 1Year 12 English - Transition Class 1
Year 12 English - Transition Class 1
 
Clutch Plate Modelling And Analysis
Clutch Plate Modelling And AnalysisClutch Plate Modelling And Analysis
Clutch Plate Modelling And Analysis
 
Transition Class 2
Transition Class 2Transition Class 2
Transition Class 2
 
The UK before the Industrial Revolution
The UK before the Industrial RevolutionThe UK before the Industrial Revolution
The UK before the Industrial Revolution
 
Medieval Japan
Medieval JapanMedieval Japan
Medieval Japan
 
Food and bevg cocke brand-audit_report
Food and bevg cocke brand-audit_reportFood and bevg cocke brand-audit_report
Food and bevg cocke brand-audit_report
 
The culture of early hominids
The culture of early hominidsThe culture of early hominids
The culture of early hominids
 

Similaire à Kam Figy - Serialization 2.0 with Unicorn and Rainbow - SUGCON

Dan Solovay - Test Driven Sitecore - SUGCON
Dan Solovay - Test Driven Sitecore - SUGCONDan Solovay - Test Driven Sitecore - SUGCON
Dan Solovay - Test Driven Sitecore - SUGCONSUGCON
 
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...CloudBees
 
Everyone wants (someone else) to do it: writing documentation for open source...
Everyone wants (someone else) to do it: writing documentation for open source...Everyone wants (someone else) to do it: writing documentation for open source...
Everyone wants (someone else) to do it: writing documentation for open source...Jody Garnett
 
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...Laure Vergeron
 
Superfast Business - Moving to the Cloud
Superfast Business - Moving to the CloudSuperfast Business - Moving to the Cloud
Superfast Business - Moving to the CloudSuperfast Business
 
Filipe paternot - Case Study: Zabbix Deployment at Globo.com
Filipe paternot - Case Study: Zabbix Deployment at Globo.comFilipe paternot - Case Study: Zabbix Deployment at Globo.com
Filipe paternot - Case Study: Zabbix Deployment at Globo.comZabbix
 
Scaling up mobile at ING #NSSpain2018
Scaling up mobile at ING #NSSpain2018Scaling up mobile at ING #NSSpain2018
Scaling up mobile at ING #NSSpain2018bartosss
 
Do Try This At Home Ajax Bookmarking, Cross Site Scripting, And Other Web 2 ...
Do Try This At Home  Ajax Bookmarking, Cross Site Scripting, And Other Web 2 ...Do Try This At Home  Ajax Bookmarking, Cross Site Scripting, And Other Web 2 ...
Do Try This At Home Ajax Bookmarking, Cross Site Scripting, And Other Web 2 ...jward5519
 
Data Science in the Cloud @StitchFix
Data Science in the Cloud @StitchFixData Science in the Cloud @StitchFix
Data Science in the Cloud @StitchFixC4Media
 
Familiarization with Web Tools
Familiarization with Web ToolsFamiliarization with Web Tools
Familiarization with Web ToolsMarlon Jamera
 
Spectra Logic BlackPearl Developer Summit 2015
Spectra Logic BlackPearl Developer Summit 2015Spectra Logic BlackPearl Developer Summit 2015
Spectra Logic BlackPearl Developer Summit 2015spectralogic
 
VEGAS: The Missing Matplotlib for Scala/Apache Spark with DB Tsai and Roger M...
VEGAS: The Missing Matplotlib for Scala/Apache Spark with DB Tsai and Roger M...VEGAS: The Missing Matplotlib for Scala/Apache Spark with DB Tsai and Roger M...
VEGAS: The Missing Matplotlib for Scala/Apache Spark with DB Tsai and Roger M...Spark Summit
 
Icinga @OSMC 2013
Icinga @OSMC 2013Icinga @OSMC 2013
Icinga @OSMC 2013Icinga
 
D7 10 modules-in-20mins v2 copy
D7 10 modules-in-20mins v2 copyD7 10 modules-in-20mins v2 copy
D7 10 modules-in-20mins v2 copyAcquia
 

Similaire à Kam Figy - Serialization 2.0 with Unicorn and Rainbow - SUGCON (20)

Dan Solovay - Test Driven Sitecore - SUGCON
Dan Solovay - Test Driven Sitecore - SUGCONDan Solovay - Test Driven Sitecore - SUGCON
Dan Solovay - Test Driven Sitecore - SUGCON
 
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...
 
Everyone wants (someone else) to do it: writing documentation for open source...
Everyone wants (someone else) to do it: writing documentation for open source...Everyone wants (someone else) to do it: writing documentation for open source...
Everyone wants (someone else) to do it: writing documentation for open source...
 
Friday hacks Talk
Friday hacks TalkFriday hacks Talk
Friday hacks Talk
 
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...
 
WEB2.0 And CLOUD
WEB2.0 And CLOUDWEB2.0 And CLOUD
WEB2.0 And CLOUD
 
Superfast Business - Moving to the Cloud
Superfast Business - Moving to the CloudSuperfast Business - Moving to the Cloud
Superfast Business - Moving to the Cloud
 
Python Diamond Tool
Python Diamond ToolPython Diamond Tool
Python Diamond Tool
 
Working and Features of HTML5 and PhoneGap - An Overview
Working and Features of HTML5 and PhoneGap - An OverviewWorking and Features of HTML5 and PhoneGap - An Overview
Working and Features of HTML5 and PhoneGap - An Overview
 
Future of Grails
Future of GrailsFuture of Grails
Future of Grails
 
Filipe paternot - Case Study: Zabbix Deployment at Globo.com
Filipe paternot - Case Study: Zabbix Deployment at Globo.comFilipe paternot - Case Study: Zabbix Deployment at Globo.com
Filipe paternot - Case Study: Zabbix Deployment at Globo.com
 
Scaling up mobile at ING #NSSpain2018
Scaling up mobile at ING #NSSpain2018Scaling up mobile at ING #NSSpain2018
Scaling up mobile at ING #NSSpain2018
 
Do Try This At Home Ajax Bookmarking, Cross Site Scripting, And Other Web 2 ...
Do Try This At Home  Ajax Bookmarking, Cross Site Scripting, And Other Web 2 ...Do Try This At Home  Ajax Bookmarking, Cross Site Scripting, And Other Web 2 ...
Do Try This At Home Ajax Bookmarking, Cross Site Scripting, And Other Web 2 ...
 
Data Science in the Cloud @StitchFix
Data Science in the Cloud @StitchFixData Science in the Cloud @StitchFix
Data Science in the Cloud @StitchFix
 
Familiarization with Web Tools
Familiarization with Web ToolsFamiliarization with Web Tools
Familiarization with Web Tools
 
Spectra Logic BlackPearl Developer Summit 2015
Spectra Logic BlackPearl Developer Summit 2015Spectra Logic BlackPearl Developer Summit 2015
Spectra Logic BlackPearl Developer Summit 2015
 
cadec-2017-golang
cadec-2017-golangcadec-2017-golang
cadec-2017-golang
 
VEGAS: The Missing Matplotlib for Scala/Apache Spark with DB Tsai and Roger M...
VEGAS: The Missing Matplotlib for Scala/Apache Spark with DB Tsai and Roger M...VEGAS: The Missing Matplotlib for Scala/Apache Spark with DB Tsai and Roger M...
VEGAS: The Missing Matplotlib for Scala/Apache Spark with DB Tsai and Roger M...
 
Icinga @OSMC 2013
Icinga @OSMC 2013Icinga @OSMC 2013
Icinga @OSMC 2013
 
D7 10 modules-in-20mins v2 copy
D7 10 modules-in-20mins v2 copyD7 10 modules-in-20mins v2 copy
D7 10 modules-in-20mins v2 copy
 

Plus de SUGCON

Vasiliy Fomichev - Harness the Power of Containers - SUGCON
Vasiliy Fomichev - Harness the Power of Containers - SUGCONVasiliy Fomichev - Harness the Power of Containers - SUGCON
Vasiliy Fomichev - Harness the Power of Containers - SUGCONSUGCON
 
Richard Seal - Single Page Application - SUGCON
Richard Seal - Single Page Application - SUGCONRichard Seal - Single Page Application - SUGCON
Richard Seal - Single Page Application - SUGCONSUGCON
 
Darren Guarnaccia - The experience economy and customer outcomes - SUGCON
Darren Guarnaccia - The experience economy and customer outcomes - SUGCONDarren Guarnaccia - The experience economy and customer outcomes - SUGCON
Darren Guarnaccia - The experience economy and customer outcomes - SUGCONSUGCON
 
Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON
Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCONTrevor Campbell - Creating a Global Infrastructure to Support China - SUGCON
Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCONSUGCON
 
Sean Rusinko - What does full-on personalization look like and how do I get t...
Sean Rusinko - What does full-on personalization look like and how do I get t...Sean Rusinko - What does full-on personalization look like and how do I get t...
Sean Rusinko - What does full-on personalization look like and how do I get t...SUGCON
 
Pieter Brinkman - My first mobile experience From mobile no no, to mobile go ...
Pieter Brinkman - My first mobile experienceFrom mobile no no, to mobile go ...Pieter Brinkman - My first mobile experienceFrom mobile no no, to mobile go ...
Pieter Brinkman - My first mobile experience From mobile no no, to mobile go ...SUGCON
 
Pavel Veller - JavaScript overload - SUGCON
Pavel Veller - JavaScript overload - SUGCONPavel Veller - JavaScript overload - SUGCON
Pavel Veller - JavaScript overload - SUGCONSUGCON
 
Martin English - Extending the experience with CRM - SUGCON
Martin English - Extending the experience with CRM - SUGCONMartin English - Extending the experience with CRM - SUGCON
Martin English - Extending the experience with CRM - SUGCONSUGCON
 
Kevin Keogh - The Challenges of Modern digital Government - SUGCON
Kevin Keogh - The Challenges of Modern digital Government - SUGCONKevin Keogh - The Challenges of Modern digital Government - SUGCON
Kevin Keogh - The Challenges of Modern digital Government - SUGCONSUGCON
 
John Ours - Sitecore in the Digital Front Office –Turning Data into Action -...
John Ours - Sitecore in the Digital Front Office  –Turning Data into Action -...John Ours - Sitecore in the Digital Front Office  –Turning Data into Action -...
John Ours - Sitecore in the Digital Front Office –Turning Data into Action -...SUGCON
 
Jason St-Cyr - Continuous integration - SUGCON
Jason St-Cyr - Continuous integration - SUGCONJason St-Cyr - Continuous integration - SUGCON
Jason St-Cyr - Continuous integration - SUGCONSUGCON
 
Faulkner IV Frederick - Going Beyond Your Own Domain: How to Effectively Use ...
Faulkner IV Frederick - Going Beyond Your Own Domain: How to Effectively Use ...Faulkner IV Frederick - Going Beyond Your Own Domain: How to Effectively Use ...
Faulkner IV Frederick - Going Beyond Your Own Domain: How to Effectively Use ...SUGCON
 
Dean Thrasher - Beyond CRM Integration: Salesforce As Content Gatekeeper on S...
Dean Thrasher - Beyond CRM Integration: Salesforce As Content Gatekeeper on S...Dean Thrasher - Beyond CRM Integration: Salesforce As Content Gatekeeper on S...
Dean Thrasher - Beyond CRM Integration: Salesforce As Content Gatekeeper on S...SUGCON
 
Ben Sterrett - Sitecore Wars IV: A new way to deliver media - SUGCON
Ben Sterrett - Sitecore Wars IV: A new way to deliver media - SUGCONBen Sterrett - Sitecore Wars IV: A new way to deliver media - SUGCON
Ben Sterrett - Sitecore Wars IV: A new way to deliver media - SUGCONSUGCON
 
Brian Beckham - Atomic Design - Modularity Matters: Bringing Atomic Design to...
Brian Beckham - Atomic Design - Modularity Matters: Bringing Atomic Design to...Brian Beckham - Atomic Design - Modularity Matters: Bringing Atomic Design to...
Brian Beckham - Atomic Design - Modularity Matters: Bringing Atomic Design to...SUGCON
 

Plus de SUGCON (15)

Vasiliy Fomichev - Harness the Power of Containers - SUGCON
Vasiliy Fomichev - Harness the Power of Containers - SUGCONVasiliy Fomichev - Harness the Power of Containers - SUGCON
Vasiliy Fomichev - Harness the Power of Containers - SUGCON
 
Richard Seal - Single Page Application - SUGCON
Richard Seal - Single Page Application - SUGCONRichard Seal - Single Page Application - SUGCON
Richard Seal - Single Page Application - SUGCON
 
Darren Guarnaccia - The experience economy and customer outcomes - SUGCON
Darren Guarnaccia - The experience economy and customer outcomes - SUGCONDarren Guarnaccia - The experience economy and customer outcomes - SUGCON
Darren Guarnaccia - The experience economy and customer outcomes - SUGCON
 
Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON
Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCONTrevor Campbell - Creating a Global Infrastructure to Support China - SUGCON
Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON
 
Sean Rusinko - What does full-on personalization look like and how do I get t...
Sean Rusinko - What does full-on personalization look like and how do I get t...Sean Rusinko - What does full-on personalization look like and how do I get t...
Sean Rusinko - What does full-on personalization look like and how do I get t...
 
Pieter Brinkman - My first mobile experience From mobile no no, to mobile go ...
Pieter Brinkman - My first mobile experienceFrom mobile no no, to mobile go ...Pieter Brinkman - My first mobile experienceFrom mobile no no, to mobile go ...
Pieter Brinkman - My first mobile experience From mobile no no, to mobile go ...
 
Pavel Veller - JavaScript overload - SUGCON
Pavel Veller - JavaScript overload - SUGCONPavel Veller - JavaScript overload - SUGCON
Pavel Veller - JavaScript overload - SUGCON
 
Martin English - Extending the experience with CRM - SUGCON
Martin English - Extending the experience with CRM - SUGCONMartin English - Extending the experience with CRM - SUGCON
Martin English - Extending the experience with CRM - SUGCON
 
Kevin Keogh - The Challenges of Modern digital Government - SUGCON
Kevin Keogh - The Challenges of Modern digital Government - SUGCONKevin Keogh - The Challenges of Modern digital Government - SUGCON
Kevin Keogh - The Challenges of Modern digital Government - SUGCON
 
John Ours - Sitecore in the Digital Front Office –Turning Data into Action -...
John Ours - Sitecore in the Digital Front Office  –Turning Data into Action -...John Ours - Sitecore in the Digital Front Office  –Turning Data into Action -...
John Ours - Sitecore in the Digital Front Office –Turning Data into Action -...
 
Jason St-Cyr - Continuous integration - SUGCON
Jason St-Cyr - Continuous integration - SUGCONJason St-Cyr - Continuous integration - SUGCON
Jason St-Cyr - Continuous integration - SUGCON
 
Faulkner IV Frederick - Going Beyond Your Own Domain: How to Effectively Use ...
Faulkner IV Frederick - Going Beyond Your Own Domain: How to Effectively Use ...Faulkner IV Frederick - Going Beyond Your Own Domain: How to Effectively Use ...
Faulkner IV Frederick - Going Beyond Your Own Domain: How to Effectively Use ...
 
Dean Thrasher - Beyond CRM Integration: Salesforce As Content Gatekeeper on S...
Dean Thrasher - Beyond CRM Integration: Salesforce As Content Gatekeeper on S...Dean Thrasher - Beyond CRM Integration: Salesforce As Content Gatekeeper on S...
Dean Thrasher - Beyond CRM Integration: Salesforce As Content Gatekeeper on S...
 
Ben Sterrett - Sitecore Wars IV: A new way to deliver media - SUGCON
Ben Sterrett - Sitecore Wars IV: A new way to deliver media - SUGCONBen Sterrett - Sitecore Wars IV: A new way to deliver media - SUGCON
Ben Sterrett - Sitecore Wars IV: A new way to deliver media - SUGCON
 
Brian Beckham - Atomic Design - Modularity Matters: Bringing Atomic Design to...
Brian Beckham - Atomic Design - Modularity Matters: Bringing Atomic Design to...Brian Beckham - Atomic Design - Modularity Matters: Bringing Atomic Design to...
Brian Beckham - Atomic Design - Modularity Matters: Bringing Atomic Design to...
 

Dernier

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Dernier (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

Kam Figy - Serialization 2.0 with Unicorn and Rainbow - SUGCON

  • 1. Organized by the Community, for the Community. NEXT GENERATION SERIALIZATION WITH UNICORN 3 Kam Figy Connective DX @kamsar
  • 2. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 GOOD MORNING
  • 3. Organized by the Community, for the Community. WHY DOWE NEED SERIALIZATION? • Sitecore dev artifacts are a mixture of code files and items, such as templates or renderings. • Items are stored in the Sitecore database, code is stored in source control. • Source control commits are incomplete without the items that complement the code.This is bad. Without serialization. SUGCON NORTH AMERICA 2015 3
  • 4. Organized by the Community, for the Community. WHY BUILD UNICORN? • Back in the dark ages, we used shared databases. • We used packages. • We triedTDS. • None of these delivered the frictionless development experience we desired. SUGCON NORTH AMERICA 2015 4
  • 5. Organized by the Community, for the Community. HOW DOES UNICORN WORK? • You choose items to serialize. • Database items are written to files on disk. • Changes in Sitecore are updated to disk in real time. • “Sync” pushes changes from disk into your local database. • Merging is always done on disk. SUGCON NORTH AMERICA 2015 5
  • 6. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 6 STOP DEMOTIME
  • 7. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 7 DEMO: SETTING UP UNICORN In which we taunt the demo gods
  • 8. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 8 DEMO: TEAM COLLABORATION In which we bite our thumbs at the demo gods
  • 9. Organized by the Community, for the Community. WHAT’S NEW IN UNICORN 3? Features • New format (YAML) • New storage (SFS) • Sitecore UI warnings • Partial sync • Partial reserialize • Auto publish synced • Split config schema • Sync event pipelines Improvements • SPEED: 50% more of it • Better messaging • More extensible • No Ninject required • Versioned to shared field conversion • Fresh paint on the UI • More info: http://goo.gl/XwMjTa SUGCON NORTH AMERICA 2015 9
  • 10. Organized by the Community, for the Community. RAINBOW: A MODERN ITEM SERIALIZATION LIBRARY Overview: http://goo.gl/Yl4gkM More about format: http://goo.gl/LPMbVv More about hierarchy: http://goo.gl/8cSDNm SUGCON NORTH AMERICA 2015 10 • Rainbow is a code library for serialization. • Unicorn uses Rainbow. • Easy to read file format. • Human readable file hierarchy. • Designed to be easy to merge when conflicts occur. • Item comparison APIs.
  • 11. Organized by the Community, for the Community. RAINBOW: SERIALIZING A MULTILIST FIELD With Sitecore serialization format … Content-Length: n {GUID}|{GUID}|{GUID} If you and someone else both add a GUID, you get a merge conflict and have to manually recalculate content length. With Rainbow’sYAML format … {GUID} {GUID} {GUID} Line oriented format increases automerge chance, no content length. SUGCON NORTH AMERICA 2015 11
  • 12. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 12 ONE MORETHING
  • 13. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 13 INTRODUCING TRANSPARENT SYNC
  • 14. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 14
  • 15. Organized by the Community, for the Community. TRANSPARENT SYNC • Automatic, real-time sync. • One less thing to remember to do. • Amazing for code reviews. • Great for dev artifact items. • SSD recommended for the I/O. • Enabled per-configuration. • New deployment possibilities. SUGCON NORTH AMERICA 2015 15
  • 16. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 16 DEMO: TRANSPARENT SYNC In which we laugh at the demo gods
  • 17. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 17 QUESTIONS “IS UNICORN 3 OUTYET?” YES. RIGHT NOW.
  • 18. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 THANKYOU! UNICORN IS AVAILABLE ON NUGET OPEN SOURCE (MIT) ON GITHUB TWEET @KAMSAR BLOG: KAMSAR.NET Source: https://goo.gl/VF3Mkd Documentation: https://goo.gl/ePFki1

Notes de l'éditeur

  1. Why are you reading my notes you nosy monkey?