+ All Categories
Home > Design > Herramientas front

Herramientas front

Date post: 23-Jun-2015
Category:
Upload: borya09
View: 94 times
Download: 0 times
Share this document with a friend
Description:
Herramientas que utilizo a diario como desarrollador front-end, que se han vuelto totalmente imprescindibles en mi día a día.
Popular Tags:
15
HERRAMIENTAS FRONT SIN LAS QUE NO PUEDO VIVIR
Transcript
Page 1: Herramientas front

HERRAMIENTAS FRONTSIN LAS QUE NO PUEDO VIVIR

Page 2: Herramientas front

BORJA ANDRÉSFRONT-END DEVELOPER

@borya09

http://es.linkedin.com/in/borjaandres/

http://www.borjaandres.com

Page 3: Herramientas front

“Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network

applications.”

Page 4: Herramientas front

package.json comandos

{ "name": "prueba", "version": "0.0.1", "dependencies": {

"express":"3.1.0","mongoose":"3.4.x","q":"*"

} }

$ npm install $ node app.js

Page 5: Herramientas front

“The JavaScript Task Runner”

Why use a task runner?

In one word: automation

GRUNT

Page 6: Herramientas front

Gruntfile.js comandos

grunt.registerTask('dev', ['jade:dev','compass:dev','livereload‘] ); grunt.registerTask('build', ['jade:dist','uglify','compass:dist'] );

$ grunt dev $ grunt build

GRUNT

jade: { dist: {

files: [{ dest: './dist/', src: '{,*/}*.jade', ext: '.html'

}] }

}

Page 7: Herramientas front

Plugins disponibles …

¡¡¡O prográmatelo a medida!!!

GRUNT

Page 8: Herramientas front

“A package manager for the web”

BOWER

Page 9: Herramientas front

bower.json comandos

BOWER

index.html

{ "name": "prueba", "version": "0.0.1", "dependencies": {

"angular": "~1.2.0", "jquery": "~2.0.3"

} }

$ bower install

<script src="bower_components/angular/angular.js"></script> <script src="bower_components/jquery/jquery.js"></script>

Page 10: Herramientas front

“robust, elegant, feature rich template engine for nodejs”

Page 11: Herramientas front

!!! 5html(lang="en") head title= pageTitle body h1 Jade #container.col if isJade p You are amazing else p Get on it! p. Jade is a terse

{ pageTitle: ‘Demo', isJade: true}

<!DOCTYPE html> <html lang="en"> <head> <title>Demo</title> </head> <body> <h1>Jade</h1>

<div id="container" class="col"><p>You are amazing</p><p>Jade is a terse </p>

</div> </body> </html>

Page 12: Herramientas front

“CSS with superpowers”

Page 13: Herramientas front

body {

width: 940px; } h1 {

color: red; } section h1 {

color: #cc0000; } a { color: white; } a:hover {

color: blue; }

$brand-color: rgb(255,0,0) $accent-color: darken($brand-color, 10%) $width: 960px

@import 'constants'

body width: $width - 2 * 10px

h1 color: $brand-color

section h1 color: $accent-color

a color: white &:hover

color: blue

Page 14: Herramientas front

“Compass is an open-source CSS Authoring Framework”

Page 15: Herramientas front

html, body, div, span, applet, object, iframe, h1, h2, ... {

margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline;

} article, aside, details, figcaption, … {

display: block; } body {

line-height: 1; } …

.btn{ -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }

@import "compass/reset/utilities" @import "compass/css3/border-radius"

+global-reset .btn

+border-radius(4px)


Recommended