52
How to invite a Front-End developer to dance? Facilitate interactions between Front-End and Back-End developers David Dias Front-End Manager / Developer 21 July 2016 - Mauritius

How to invite a Front-End developer to dance?

Embed Size (px)

Citation preview

Page 1: How to invite a Front-End developer to dance?

How to invite a Front-End developer to dance? Facilitate interactions between Front-End and Back-End developers

David Dias Front-End Manager / Developer

21 July 2016 - Mauritius

Page 2: How to invite a Front-End developer to dance?

Front-End Developer architect / manager

http://www.proximity.bbdo.mu/

David Dias@daviddiasfront www.david-dias.com

Page 3: How to invite a Front-End developer to dance?

A long time ago, in a galaxy far, far away, Back-Ends were coding HTML, CSS and JavaScript...

Page 4: How to invite a Front-End developer to dance?
Page 5: How to invite a Front-End developer to dance?

- Two different ways to work - No common guidelines - Misunderstandings - "Front-End" is easiest than Back-End ...

Page 6: How to invite a Front-End developer to dance?

This ways is not perfectly working...

You need to learn the steps to invite a Front-End developer to dance...

Page 7: How to invite a Front-End developer to dance?
Page 8: How to invite a Front-End developer to dance?

You don't want to dance...

But do you really know how looks like a

Front-End developer?

Page 9: How to invite a Front-End developer to dance?

The dream...

Page 10: How to invite a Front-End developer to dance?

and the reality...

Page 11: How to invite a Front-End developer to dance?

... sorry... THE possible reality.

#WOCinTech Chat

Page 12: How to invite a Front-End developer to dance?

Let's see our 5 steps.

Page 13: How to invite a Front-End developer to dance?

Step 1 Learn to know the Front-End developer

and his tools

#WOCinTech Chat

Page 14: How to invite a Front-End developer to dance?

»-Wikipedia

« The practice of producing HTML, CSS and JavaScript for a website or web application so that a user can see and interact with them

directly. »

Page 15: How to invite a Front-End developer to dance?

It was the case...

Page 16: How to invite a Front-End developer to dance?
Page 17: How to invite a Front-End developer to dance?

... before...

Page 18: How to invite a Front-End developer to dance?
Page 19: How to invite a Front-End developer to dance?

Now, Front-End needs to care about...

Page 20: How to invite a Front-End developer to dance?

Accessibility

PerformanceSEO

QualityMaintainability

Browser compatibility

Animations

User Experience

Architecture

Scalability

Page 21: How to invite a Front-End developer to dance?

Jeff Pelletier / On Medium

Page 22: How to invite a Front-End developer to dance?

Step 2 Give him the choice to select his music

Page 23: How to invite a Front-End developer to dance?

SASS vs LESS

• Cleaner code with reusable pieces and variables

• Saves you time

• Easier to maintain code with snippets and libraries

• Calculations and logic

• More organized and easy to setup

Page 24: How to invite a Front-End developer to dance?

SASS vs LESS

@mixin border-radius ($values) { border-radius: $values;}nav { margin: 50px auto 0; width: 788px; height: 45px; @include border-radius(10px);}

.border(@radius) { border-radius: @radius;}nav { margin: 50px auto 0; width: 788px; height: 45px; .border(10px);}

Page 25: How to invite a Front-End developer to dance?

SASS vs LESS

Src: 2015 Survey from ashleynolan.co.uk Disclaimer: these are just responses from a small portion of developers.

Page 26: How to invite a Front-End developer to dance?

http://davidtheclark.com/its-time-for-everyone-to-learn-about-postcss/

Page 27: How to invite a Front-End developer to dance?

GRUNT vs GULP (or NPM)

• code minification

• code-quality analysis

• image optimization

• vendor-prefixing

• unit-testing

And much more...

Page 28: How to invite a Front-End developer to dance?

GRUNT vs GULP (or NPM)grunt.initConfig({ sass: { dist: { files: [{ src: 'dev/*.scss', dest: '.tmp/styles', expand: true, ext: '.css' }] } }, autoprefixer: { dist: { files: [{ expand: true, cwd: '.tmp/styles', src: '{,*/}*.css', dest: 'css/styles' }] } }, watch: { styles: { files: ['dev/*.scss'], tasks: ['sass:dist', 'autoprefixer:dist'] } }});grunt.registerTask('default', ['styles', 'watch']);

gulp.task('sass', function () { gulp.src('dev/*.scss') .pipe(sass()) .pipe(autoprefixer()) .pipe(gulp.dest('css/styles'));});gulp.task('default', function() { gulp.run('sass'); gulp.watch('dev/*.scss', function() { gulp.run('sass'); });});

Page 29: How to invite a Front-End developer to dance?

GRUNT vs GULP (or NPM)

Source: tech.tmw.co.uk

Page 30: How to invite a Front-End developer to dance?

GRUNT vs GULP (or NPM)

Page 31: How to invite a Front-End developer to dance?

or NPM...

{ "name": "npm-scripts-example", "version": "1.0.0", "description": "npm scripts example", "scripts": { "clean": "rimraf ./dist && mkdir dist", "prebuild": "npm run clean", "build": "cross-env NODE_ENV=production webpack" }}

Page 32: How to invite a Front-End developer to dance?

ANGULAR vs REACT (or Aurelia)

Photo credit: @jwcarrol

Page 33: How to invite a Front-End developer to dance?

ANGULAR vs REACT (or Aurelia)

https://medium.freecodecamp.com/angular-2-versus-react-there-will-be-blood-66595faafd51#.85lqu6t08

Page 34: How to invite a Front-End developer to dance?
Page 35: How to invite a Front-End developer to dance?

PUG (Jade) vs the OTHERS

Page 36: How to invite a Front-End developer to dance?

EXPRESS.JS vs METEOR.JS

Page 37: How to invite a Front-End developer to dance?

EXPRESS.JS vs METEOR.JS

Meteor gives you for free:

- hot code reload - mobile development (web, Android and iOS apps from the same code base),

- reactive templates that update automatically when data on the server changes

- session management - packages that can install components both on the server and on the client

Src: https://wiki.dandascalescu.com/essays/meteor_js_vs_the_mean_stack

Page 38: How to invite a Front-End developer to dance?

Step 3 Give him / her your phone number

(in JSON format, please)

Page 39: How to invite a Front-End developer to dance?
Page 40: How to invite a Front-End developer to dance?

https://phpmu-firechat-demo.firebaseio.com/

Page 41: How to invite a Front-End developer to dance?
Page 42: How to invite a Front-End developer to dance?

Step 4 Wait, and leave him / her to call you

"back"

Page 43: How to invite a Front-End developer to dance?

It'll probably talk to you about...

Page 44: How to invite a Front-End developer to dance?

GULP PHP DEMO

Page 45: How to invite a Front-End developer to dance?

Step 5 Ask the Front-End to dance with you

Page 46: How to invite a Front-End developer to dance?
Page 47: How to invite a Front-End developer to dance?

• Understand the complexity of the Front-End development today.

• Build architecture together and define a common workflow and guidelines.

• Don't be afraid to install Node.js and launch a "gulp build". • Remind the Front-End that he can do everything you are doing, only with JavaScript.

• Don't complain the Front-End work or push the responsability to him, you need to be hand by hand... to dance.

Page 48: How to invite a Front-End developer to dance?

Now you know quite a lot to invite a Front-End developer to dance...

I'm sure it could be like you imagine... Like that...

Page 49: How to invite a Front-End developer to dance?
Page 50: How to invite a Front-End developer to dance?

CONCLUSION

If you do all of that and still don't know how to invite a Front-End dev to dance...

You still can try this...

Page 51: How to invite a Front-End developer to dance?
Page 52: How to invite a Front-End developer to dance?

Thank you. Merci.

Obrigado.

Feedbacks on Twitter with #phpmauritiusug