Frontend Workflow with Umbraco

A presentation at Umbraco Meetup (Aarhus) in November 2015 in Aarhus, Denmark by Chriztian Steinmeier

Slide 1

Slide 1

Frontend Workflow with Umbraco Umbraco Meetup, Aarhus, november 2015

Slide 2

Slide 2

Chriztian Steinmeier @greystate Vokseværk

Slide 3

Slide 3

Tools

Slide 4

Slide 4

Tools » TextEditor: TextMate » Preprocessing: CodeKit » Live Preview: CodeKit » Graphics: Avocode » Device Stuff:

Viewport Resizer Bookmarklet

Responsive Design Mode (Safari) » Source Control: GitHub Desktop

Slide 5

Slide 5

TextMate » Snippets & Commands » Scope

Slide 6

Slide 6

CodeKit » Concatenates and compiles CoffeeScript, LESS & Kit files

Slide 7

Slide 7

Kit

Slide 8

Slide 8

Kit ?

Slide 9

Slide 9

Kit ??

Slide 10

Slide 10

Kit ???

Slide 11

Slide 11

So, CodeKit » Concatenates and compiles CoffeeScript, LESS & Kit files » Has a built-in webserver with synced live preview » Also does image optimization

Slide 12

Slide 12

Slide 13

Slide 13

Slide 14

Slide 14

Responsive Design Mode

Slide 15

Slide 15

GRAND fromage

Slide 16

Slide 16

grand-fromage.dk

Slide 17

Slide 17

Features some rather large images with banners

on them...

Slide 18

Slide 18

Nested Content Allow you to essentially attach documents of another Document Type as children, but neatly tucked away in a single property.

Slide 19

Slide 19

How to not have to account for the banner’s position when taking the image?

Slide 20

Slide 20

“Actually, R2 has been known to make mistakes... ...From time to time.” C-3PO

Slide 21

Slide 21

“nuPickers with

Custom Labels are all kinds of awesome ”

Slide 22

Slide 22

Custom Labels » Yes, it's very simple » But they make a whole lot of difference

Slide 23

Slide 23

“Can we have a look behind the scenes?”

Slide 24

Slide 24

PROJECT_FOLDER

Slide 25

Slide 25

Slide 26

Slide 26

Now, about those assets ...

Slide 27

Slide 27

Only uncached files, please...

Slide 28

Slide 28

I'm so not fond of these:

<link rel="stylesheet" href="/css/app.css?rnd=876237474764876237"> <script src="/scripts/9336de71-aa4b-47c8-ac8a-e80c7c02b3dc.min.js"></script> #logo {

background-image : url(/images/logo.png) ; } #icon .tools.chainsaw {

background-image : url(../../css/skins/leather.jpg) ; }

Slide 29

Slide 29

OTOH, I like ! this:

<link rel="stylesheet" href="/assets/G0F2/app.css"> <script src="/assets/G0F2/libs.min.js"></script> #logo {

background-image : url(logo.png) ; } #icon .tools.chainsaw {

background-image : url(leather.jpg) ; }

Slide 30

Slide 30

SiteSettings.config <SiteSettings>

<Deployment> <assetsFolder> G0F2 </assetsFolder> </Deployment> </SiteSettings>

Slide 31

Slide 31

GitHub Desktop » Hides all the geeky stuff » Submit Pull-Request from within the app

Slide 32

Slide 32

Time for some ad lib?

Slide 33

Slide 33

Questions, questions? ?

Slide 34

Slide 34

Tak! !