modern front end tools & workflow

19
Modern Front End Tools & Workflow Adir Amsalem

Upload: adir-amsalem

Post on 15-Apr-2017

417 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Modern Front End Tools & Workflow

Modern Front EndTools & Workflow

Adir Amsalem

Page 2: Modern Front End Tools & Workflow

We all want to…• Have an effective workflow• Be productive• Automate repetitive tasks• Easily manage our assets and dependencies

• Do a better job and make our life easier

Page 3: Modern Front End Tools & Workflow

But how can we do that?Bootstrap

GruntLESS

CSS

JavaScript

DOMAJAX

AngularJS

Highcharts

SASS

Mobile

Deployment

PerformanceGit Bower

jQuery Gulp

HTML5

Testing

SEOReact

MVC

Preprocessors

Page 4: Modern Front End Tools & Workflow

Agenda• Yeoman• Bower• Grunt• SASS• AngularJS• Popular libraries• Testing - unit & e2e

Page 5: Modern Front End Tools & Workflow

Let’s start!

Page 6: Modern Front End Tools & Workflow
Page 7: Modern Front End Tools & Workflow

The web’s scaffolding tool for modern webapps.

Yeoman helps you kickstart new projects, prescribing best practices and tools to help you stay productive.npm install -g yonpm install -g generator-angularyo angular QuickInsight

yo angular:controller mainyo angular:service usersyo angular:directive alert

Page 8: Modern Front End Tools & Workflow

Bower

Page 9: Modern Front End Tools & Workflow

A package manager for the web.

Web sites are made of lots of things — frameworks, libraries, assets, utilities, and rainbows. Bower manages all these things for you.

npm install -g bowerbower search angularbower install angular --save

git clone https://github.com/...it.gitbower install

Bower

Page 10: Modern Front End Tools & Workflow
Page 11: Modern Front End Tools & Workflow

The JavaScript task runner.

The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc, the easier your job becomes.

npm install -g grunt-clinpm install grunt --save-dev

grunt servegrunt testgrunt build

Grunt

Page 12: Modern Front End Tools & Workflow
Page 13: Modern Front End Tools & Workflow

CSS with superpowers.

Sass lets you use features that don't exist in CSS yet like variables, nesting, mixins, inheritance and other nifty goodies that make writing CSS fun again.

Page 14: Modern Front End Tools & Workflow
Page 15: Modern Front End Tools & Workflow

HTML enhanced for web apps.

• MVVM – Model View ViewModel (or just MVC/MV*)• HTML-based templates• Concepts:

• Two-way Data Binding• Dependency Injection

• Views• Services • Controllers• Directives • Filters

• Modules

Page 16: Modern Front End Tools & Workflow
Page 17: Modern Front End Tools & Workflow

Istanbul

Page 18: Modern Front End Tools & Workflow

Demo Time!

Page 19: Modern Front End Tools & Workflow

Thanks!

Adir Amsalem [email protected]