java script the-stack-revisited

Post on 03-Sep-2014

253 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

Adrian Pomilio / @adrianpomilio / www.pomil.io

JavaScriptthe

Stack

JavaScript V8 Node

How we got to the stack…

Engines

SpiderMonkey

Chakra - JScript

Nashorn

JavaScriptCore

But there is one more…

Rhino

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

Fast Property Access

Dynamic Machine Code Generation

Efficient Garbage Collection

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

Server? (aka not the browser)

http://nodejs.org/

https://npmjs.org/

package.json

Note on versioning

1 . 2 . 31 – Major Version2 – Minor Version3 – Patch Version

List your dependencies via: 1.2.x

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

“Abstraction is one of the greatest visionary tools ever invented by human beings to imagine, decipher, and depict the world.” Jerry Saltz

Node - http

Express

Connect

http://expressjs.com/

Data

Workflows

http://yeoman.io/

“A worflow; a collection of tools and best practices working in harmony to make developing for the web even better.”

Grunt

Yo

Bower

Task Runners

Gruntfile.js – copy task

Just use Grunt-co

py-to task

gulpfile.js – copy task

http://bower.io/

Client PackageManagement

Bower is JUST a package managernpm install –g bower

bower search …..

bower install …..

bower update …..

bower uninstall …..bower ls / lookup / info / cache-clean

https://github.com/bower/bower

Testing

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

Too huge for this preso! Check out the testing sessions

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

No disassemble! JavaScript is alive!

http://nodecopter.com

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

Additional Information

Nodemon - https://github.com/remy/nodemon

Socket.IO - http://socket.io/

More V8 – http://www.youtube.com/watch?v=lZnaaUoHPhs

Rules Engine - https://npmjs.org/package/node-rules

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

top related