javascript - the stack and beyond

34
Adrian Pomilio / @adrianpomilio / www.pomil.io JavaScript the Stack

Upload: all-things-open

Post on 14-Jul-2015

150 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Javascript - The Stack and Beyond

Adrian Pomilio / @adrianpomilio / www.pomil.io

JavaScriptthe

Stack

Page 2: Javascript - The Stack and Beyond
Page 3: Javascript - The Stack and Beyond
Page 4: Javascript - The Stack and Beyond
Page 5: Javascript - The Stack and Beyond
Page 6: Javascript - The Stack and Beyond

JavaScript V8 Node

How we got to the stack…

Page 7: Javascript - The Stack and Beyond

Engines

Page 8: Javascript - The Stack and Beyond

SpiderMonkey

Chakra - JScript

Nashorn

JavaScriptCore

But there is one more…

Rhino

Page 9: Javascript - The Stack and Beyond

https://code.google.com/p/v8/

Page 10: Javascript - The Stack and Beyond

Fast Property Access

Dynamic Machine Code Generation

Efficient Garbage Collection

https://developers.google.com/v8/design

Page 11: Javascript - The Stack and Beyond

Server? (aka not the browser)

Page 12: Javascript - The Stack and Beyond

http://nodejs.org/

Page 13: Javascript - The Stack and Beyond

https://npmjs.org/

Page 14: Javascript - The Stack and Beyond

package.json

Page 15: Javascript - The Stack and Beyond

Note on versioning

1 . 2 . 31 – Major Version

2 – Minor Version

3 – Patch Version

List your dependencies via: 1.2.x

http://blog.nodejitsu.com/package-dependencies-done-right

Page 16: Javascript - The Stack and Beyond

“Abstraction is one of the greatest

visionary tools ever invented by human

beings to imagine, decipher, and depict

the world.” Jerry Saltz

Page 17: Javascript - The Stack and Beyond

http://expressjs.com/

Page 18: Javascript - The Stack and Beyond

Data

Page 19: Javascript - The Stack and Beyond
Page 20: Javascript - The Stack and Beyond

Workflows

Page 21: Javascript - The Stack and Beyond

http://yeoman.io/

Page 22: Javascript - The Stack and Beyond

“A workflow; a collection of tools and best

practices working in harmony to make

developing for the web even better.”

Grunt

Yo

Bower

Page 23: Javascript - The Stack and Beyond

Task Runners

Page 24: Javascript - The Stack and Beyond

Gruntfile.js – copy task

Page 25: Javascript - The Stack and Beyond

gulpfile.js – copy task

Page 26: Javascript - The Stack and Beyond

http://bower.io/

Client PackageManagement

Page 27: Javascript - The Stack and Beyond

Bower is JUST a package manager

npm install –g bower

bower search …..

bower install …..

bower update …..

bower uninstall …..

bower ls / lookup / info / cache-clean

https://github.com/bower/bower

Page 28: Javascript - The Stack and Beyond

Testing

Page 29: Javascript - The Stack and Beyond

http://lm.eways.ph/5bm

Too huge for this preso!

http://jster.net/category/testing-frameworks

Page 30: Javascript - The Stack and Beyond

Deployment

Page 31: Javascript - The Stack and Beyond
Page 32: Javascript - The Stack and Beyond

No disassemble! JavaScript is alive!

Page 33: Javascript - The Stack and Beyond

http://nodecopter.com

https://github.com/rwaldron/johnny-five

Page 34: Javascript - The Stack and Beyond

@adrianpomilio / www.github.com/adrianpomilio / www.pomil.io