NodeJS and JavaScripteverywhere

Size: px
Start display at page:

Download "NodeJS and JavaScripteverywhere"

Transcription

1 NodeJS and JavaScripteverywhere Matthew Eernisse YOW Conference: December 2011

2 Who am I? Matthew Eernisse Work at on Twitter

3 What is JavaScript- everywhere?

4 A list of stuff Ruby JavaScript Scala Java C# Rails NodeJS PostgreSQL Memcache Riak Redis BDB Vertica R

5 JavaScript at Yammer Browsers YamJS, a.k.a., YamJuice Adobe AIR Desktop V8 in Rails via TheRubyRacer NodeJS

6 Server JS

7 SSJS Netscape Enterprise Server (OG SSJS) Microsoft IIS Helma (now RingoJS) Whitebeam Zimki Jaxer Perservere Nitro Google App Engine CouchDB NodeJS

8 Why NodeJS? Death of Netscape Open source Yegge s NBL, Competition V8

9 NodeJS: Evented I/O for V8 JavaScript

10 Hello, NodeJS var http = require('http'); http.createserver(function (req, res) { res.writehead(200, {'Content-Type': 'text/plain'}); res.end('hello World\n'); }).listen(1337, " "); console.log('server running at ' + '

11 What can you do with Node?

12 EventEmitter Readable/WritableStream Callbacks

13 Jake build tool Tasks, prerequisites File tasks, directory tasks Namespaces PackageTasks Just executable JavaScript Async task execution (shell commands)

14 namespace('foo', function () { desc('this a sychronous task'); task('bar', function () { console.log('howdy'); }); }); desc('this an asychronous task'); task('baz', function () { require('child_process').exec('ls -l', function (err, stdout, stderr) { console.log(stdout); complete(); }); }, {async: true});

15 Geddy Web framework:

16 NodeJS at Yammer Upload service for files and images Realtime, collaborative documentediting feature Another, early-alpha service for mobile Web

17 Remote upload service Minimal v1 in prod, Nov Onboard thumbnailing, remote services for video and document post-processing Redis, CORS XHR-push or JSONP for upload-progress reporting

18 Realtime, collaborative documents feature In beta Oct. 21, 2011 EtherPad Lite ( etherpad-lite): NodeJS, Socket.io, PostgreSQL

19 Coding JS for Node

20 Flexibility

21 Async horror Even shelling out is async? Inside-out execution Evented and callback-based control-flow

22 Sync fetch-and-update var fetchandupdate = function (params) { var items = db.fetch(somequery); for (var i = 0, ii = items.length; i < ii; i++) { item.update(params); } return true; };

23 Async fetch-and-update var fetchandupdate = function (params, callback) { db.fetch(somequery, function (items) { var count = 0; for (var i = 0, ii = items.length; i < ii; i++) { item.update(params, function () { count++; if (count == ii) { callback(true); } }); } }); };

24 Is this familiar? jquery.ajax({ url: '/foo/bar.json', success: function () { alert('yay!'); } }); jquery('#foo').bind('click', function (e) { // Do some stuff });

25 Async patterns and libs Async queue Promise/deferred/future/eventual

26 Promise var p = new yammer.util.promise(); p.when('foo', 'bar', 'baz').then( function () { console.log('done!'); }); p.satisfy('foo'); p.satisfy('bar'); p.satisfy('baz'); p.then(function () { console.log('still done!'); });

27 Don t overdo it.

28 NodeJS in production

29 App dependencies NPM is awesome Third-party modules still may change rapidly Maintain forks, push back patches where appropriate

30 Assume you re fucked Callbacks in global scope have no stack

31 uncaughtexception handler Preemptible timeout-errors Timeout registry

32 Timeout registry Entries in an object with keys Per-item timeout Configurable polling-interval Define a timeout-handler

33 Timeout registry var TimeoutReg = require('timeout_registry').timeoutreg, handler = function (req, resp) { var registry = new TimeoutReg(function (key) { resp.writehead(500); resp.end('oops, something bad happened.'); }); registry('foo', 10000); performfoo(req, function (result) { if (result.ok) { registry.clear('foo'); // Do some other stuff resp.writehead(200); resp.end('hooray!'); } }); }; process.on('uncaughtexception', function (err) { // Do some kind of logging });

34 Visibility, metrics Measure everything Log everything

35 Ops Communicative, consultative dev Ask what is expected Be transparent Play nicely with others

36 Try it; you ll like it.

37 Matthew Eernisse Yammer Developer Center

NODE.JS SERVER SIDE JAVASCRIPT. Introduc)on Node.js

NODE.JS SERVER SIDE JAVASCRIPT. Introduc)on Node.js NODE.JS SERVER SIDE JAVASCRIPT Introduc)on Node.js Node.js was created by Ryan Dahl starting in 2009. For more information visit: http://www.nodejs.org 1 What about Node.js? 1. JavaScript used in client-side

More information

Module 6 Node.js and Socket.IO

Module 6 Node.js and Socket.IO Module 6 Node.js and Socket.IO Module 6 Contains 2 components Individual Assignment and Group Assignment Both are due on Wednesday November 15 th Read the WIKI before starting Portions of today s slides

More information

END-TO-END JAVASCRIPT WEB APPS

END-TO-END JAVASCRIPT WEB APPS END-TO-END JAVASCRIPT WEB APPS HTML5, NODE.JS AND MONGODB CADEC 2013 by Peter Larsson JAVASCRIPT IS NOT EVIL TECH. INDEX, JAN 2013 Dice Job Posts Google 20,000 2,400,000,000 15,000 1,800,000,000 10,000

More information

We are assuming you have node installed!

We are assuming you have node installed! Node.js Hosting We are assuming you have node installed! This lesson assumes you've installed and are a bit familiar with JavaScript and node.js. If you do not have node, you can download and install it

More information

What is Node.js? Tim Davis Director, The Turtle Partnership Ltd

What is Node.js? Tim Davis Director, The Turtle Partnership Ltd What is Node.js? Tim Davis Director, The Turtle Partnership Ltd About me Co-founder of The Turtle Partnership Working with Notes and Domino for over 20 years Working with JavaScript technologies and frameworks

More information

AWS Lambda + nodejs Hands-On Training

AWS Lambda + nodejs Hands-On Training AWS Lambda + nodejs Hands-On Training (4 Days) Course Description & High Level Contents AWS Lambda is changing the way that we build systems in the cloud. This new compute service in the cloud runs your

More information

Jquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error

Jquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error Jquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error The request returns http 200 OK, but the xhr status is 0, error. jquery Ajax Request to get JSON data fires error event to make an ajax

More information

A practical introduction

A practical introduction A practical introduction Felix Geisendörfer Øredev 09.11.2011 (v1) @felixge Twitter / GitHub / IRC Felix Geisendörfer (Berlin, Germany) Audience? JavaScript? Node.js? History Feb 16, 2009 Ryan Dahl starts

More information

Thursday, July 19, 12. [Introduction to] Writing nonblocking code... in Node.js and Perl

Thursday, July 19, 12. [Introduction to] Writing nonblocking code... in Node.js and Perl [Introduction to] Writing nonblocking code... in Node.js and Perl Problems solved Standard programming = sequential execution Long running statements block Non-blocking programming = do more stuff in the

More information

OWASP Switzerland. October 22th 2013

OWASP Switzerland. October 22th 2013 OWASP Switzerland October 22th 2013 Thanks to Colab Zurich http://colab-zurich.ch/ @ColabZurich Timeline 18:00 18:50 Node.js Security Old vulnerabili

More information

[Introduction to] Writing non-blocking code... in Node.js and Perl

[Introduction to] Writing non-blocking code... in Node.js and Perl [Introduction to] Writing non-blocking code... in Node.js and Perl Jay Janssen Percona, Inc. Problems solved Standard programs assume sequential execution of statements Long running statements block the

More information

Node.js. Node.js Overview. CS144: Web Applications

Node.js. Node.js Overview. CS144: Web Applications Node.js Node.js Overview JavaScript runtime environment based on Chrome V8 JavaScript engine Allows JavaScript to run on any computer JavaScript everywhere! On browsers and servers! Intended to run directly

More information

Backend Development. SWE 432, Fall Web Application Development

Backend Development. SWE 432, Fall Web Application Development Backend Development SWE 432, Fall 2018 Web Application Development Review: Async Programming Example 1 second each Go get a candy bar Go get a candy bar Go get a candy bar Go get a candy bar Go get a candy

More information

NODE.JS MOCK TEST NODE.JS MOCK TEST I

NODE.JS MOCK TEST NODE.JS MOCK TEST I http://www.tutorialspoint.com NODE.JS MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Node.js Framework. You can download these sample mock tests at

More information

Who am I? Weibo:

Who am I? Weibo: Nodejs Javascript Who am I? Twitter: @fengmk2 Weibo: @Python, @FaWave EDP @ 1. Hello world Nodejs Hello world 2. String = Buffer => Stream String Buffer, Buffer Stream Javascript Socket HTTP 3. Javascript

More information

Intel Do-It-Yourself Challenge Lab 5: Controlling Galileo from a webpage Nicolas Vailliet

Intel Do-It-Yourself Challenge Lab 5: Controlling Galileo from a webpage Nicolas Vailliet Intel Do-It-Yourself Challenge Lab 5: Controlling Galileo from a webpage Nicolas Vailliet www.intel-software-academic-program.com paul.guermonprez@intel.com Intel Software 2014-02-01 Prerequisites and

More information

Copyright by Object Computing, Inc. (OCI). All rights reserved. Strata

Copyright by Object Computing, Inc. (OCI). All rights reserved. Strata Overview npm install [-g] strata var strata = require('strata'); Node.js streaming HTTP server Based on Web Server Gateway Interface (WSGI) - a Python standard at http://wsgi.org Rack - a Ruby Webserver

More information

node.js A quick tour (v4)

node.js A quick tour (v4) node.js A quick tour 15.02.2011 (v4) About Felix Geisendörfer 23 years Berlin, Germany @felixge Core Contributor & Module Author node-mysql node-formidable File uploading & processing as an infrastructure

More information

delegator Documentation

delegator Documentation delegator Documentation Release 1.0.1 Daniel Knell August 25, 2014 Contents 1 Getting Started 3 1.1 Installation................................................ 3 1.2 Quickstart................................................

More information

JavaScript on the Command Line & PRATIK PATEL CTO TripLingo Labs

JavaScript on the Command Line & PRATIK PATEL CTO TripLingo Labs JavaScript on the Command Line & Server @prpatel TripLingo Labs PRATIK@mypatelspace.com Topics Modern JavaScript Why? Ecosystem Node Grunt Yesterday s JavaScript Today s JavaScript is cool What s changed?

More information

Adventures with BaseX and web applications. Andy Feb 2013

Adventures with BaseX and web applications. Andy Feb 2013 Adventures with BaseX and web applications Andy Bunce @apb1704 Feb 2013 BaseX and the Web GraphXQ RESTXQ + Graphviz ( Using a PaaS ) CellarXQ Angular.js + OAuth BaseX with Node.js + events RESTXQ http://docs.basex.org/wiki/restxq

More information

Smashing Node.JS: JavaScript Everywhere

Smashing Node.JS: JavaScript Everywhere Smashing Node.JS: JavaScript Everywhere Rauch, Guillermo ISBN-13: 9781119962595 Table of Contents PART I: GETTING STARTED: SETUP AND CONCEPTS 5 Chapter 1: The Setup 7 Installing on Windows 8 Installing

More information

Microservices with Node.js

Microservices with Node.js Microservices with Node.js Objectives In this module we will discuss: Core Node.js concepts Node Package Manager (NPM) The Express Node.js package The MEAN stack 1.1 What is Node.js? Node.js [ https://nodejs.org/

More information

welcome to BOILERCAMP HOW TO WEB DEV

welcome to BOILERCAMP HOW TO WEB DEV welcome to BOILERCAMP HOW TO WEB DEV Introduction / Project Overview The Plan Personal Website/Blog Schedule Introduction / Project Overview HTML / CSS Client-side JavaScript Lunch Node.js / Express.js

More information

A T O O L K I T T O B U I L D D I S T R I B U T E D R E A C T I V E S Y S T E M S

A T O O L K I T T O B U I L D D I S T R I B U T E D R E A C T I V E S Y S T E M S VERT.X A T O O L K I T T O B U I L D D I S T R I B U T E D R E A C T I V E S Y S T E M S CLEMENT ESCOFFIER Vert.x Core Developer, Red Hat V E R T. X I S A T O O L K I T T O B U I L D D I S T R I B U T

More information

Tuesday, January 13, Backend III: Node.js with Databases

Tuesday, January 13, Backend III: Node.js with Databases 6.148 Backend III: Node.js with Databases HELLO AND WELCOME! Your Feels Lecture too fast! Your Feels Lecture too fast! Too many languages Your Feels Lecture too fast! Too many languages Code more in class

More information

MEAN February. techdt.la

MEAN February. techdt.la MEAN February techdt.la MEAN Stack Similar to Ruby on Rails & LAMP, for JavaScript Cohesive stack with Front End, Middleware & Backend Tools to help get started Little less magic than rails And much more!

More information

Rethinking monitoring with Prometheus

Rethinking monitoring with Prometheus Rethinking monitoring with Prometheus Martín Ferrari Štefan Šafár http://tincho.org @som_zlo Who is Prometheus? A dude who stole fire from Mt. Olympus and gave it to humanity http://prometheus.io/ What

More information

Node.js. Mendel Rosenblum. CS142 Lecture Notes - Node.js

Node.js. Mendel Rosenblum. CS142 Lecture Notes - Node.js Node.js Mendel Rosenblum Threads versus Events request = readrequest(socket); reply = processrequest(request); sendreply(socket, reply); Implementation: Thread switching (i.e. blocking) and a scheduler

More information

Evolution of the "Web

Evolution of the Web Evolution of the "Web App" @HenrikJoreteg @Hoarse_JS THIS USED TO BE SIMPLE! 1. WRITE SOME HTML 2. LAY IT OUT WITH FRAMES OR TABLES 3. FTP IT TO A SERVER! 4. BAM! CONGRATULATIONS, YOU RE A WEB DEVELOPER!

More information

Backend Development. SWE 432, Fall 2017 Design and Implementation of Software for the Web

Backend Development. SWE 432, Fall 2017 Design and Implementation of Software for the Web Backend Development SWE 432, Fall 2017 Design and Implementation of Software for the Web Real World Example https://qz.com/1073221/the-hackers-who-broke-into-equifax-exploited-a-nine-year-old-security-flaw/

More information

JS Event Loop, Promises, Async Await etc. Slava Kim

JS Event Loop, Promises, Async Await etc. Slava Kim JS Event Loop, Promises, Async Await etc Slava Kim Synchronous Happens consecutively, one after another Asynchronous Happens later at some point in time Parallelism vs Concurrency What are those????

More information

Real-time node.js: Instrumentation, Visualization & Debugging. Bryan Cantrill SVP,

Real-time node.js: Instrumentation, Visualization & Debugging. Bryan Cantrill SVP, Real-time node.js: Instrumentation, Visualization & Debugging Bryan Cantrill SVP, Engineering bryan@joyent.com @bcantrill Real-time web? The term has enjoyed some popularity, but there is clearly confusion

More information

Streams, Pipes and Mega Pipes

Streams, Pipes and Mega Pipes Streams, Pipes and Mega Pipes Felix Geisendörfer 11.06.2011 (v1) @felixge Twitter / GitHub / IRC Co-founder transloadit.com Core Developer & Module Author node-mysql node-formidable Streams Image Resizing

More information

Tools. SWE 432, Fall Design and Implementation of Software for the Web

Tools. SWE 432, Fall Design and Implementation of Software for the Web Tools SWE 432, Fall 2016 Design and Implementation of Software for the Web Today Before we can really make anything, there s a bunch of technical stuff to get out of the way Tools make our lives so much

More information

Networking & The Web. HCID 520 User Interface Software & Technology

Networking & The Web. HCID 520 User Interface Software & Technology Networking & The HCID 520 User Interface Software & Technology Uniform Resource Locator (URL) http://info.cern.ch:80/ 1991 HTTP v0.9 Uniform Resource Locator (URL) http://info.cern.ch:80/ Scheme/Protocol

More information

Sessions. Mendel Rosenblum. CS142 Lecture Notes - Sessions

Sessions. Mendel Rosenblum. CS142 Lecture Notes - Sessions Sessions Mendel Rosenblum How do we know what user sent request? Would like to authenticate user and have that information available each time we process a request. More generally web apps would like to

More information

Lecture 18. WebSocket

Lecture 18. WebSocket Lecture 18. WebSocket 1. What is WebSocket? 2. Why WebSocket? 3. WebSocket protocols 4. WebSocket client side 5. WebSocket on server side 1. Case study, WebSocket on nose.js 2. Case study, WebSocket on

More information

Web Application Development

Web Application Development Web Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie SERVER SIDE JAVASCRIPT PART 1 Outline 1.

More information

WorldSpace Attest Quick Start Guide

WorldSpace Attest Quick Start Guide WorldSpace Attest Quick Start Guide Contents What is WorldSpace Attest?... 2 What Comprises WorldSpace Attest?... 2 What do I need to get started?... 2 Prerequisites... 2 Generating your personal API key...

More information

iframe programming with jquery jquery Summit 2011

iframe programming with jquery jquery Summit 2011 iframe programming with jquery jquery Summit 2011 who invited this guy? name s ben strange last name work at disqus co-author, Third-party JavaScript disqus? dis cuss dĭ-skŭs' third-party commenting platform

More information

Index. Ray Nicholus 2016 R. Nicholus, Beyond jquery, DOI /

Index. Ray Nicholus 2016 R. Nicholus, Beyond jquery, DOI / Index A addclass() method, 2 addeventlistener, 154, 156 AJAX communication, 20 asynchronous operations, 110 expected and unexpected responses, 111 HTTP, 110 web sockets, 111 AJAX requests DELETE requests,

More information

MOdern Java(Script) Server Stack

MOdern Java(Script) Server Stack MOdern Java(Script) Server Stack Pratik Patel Pratik Patel CTO Triplingo JAVA CHAMPION PRESIDENT ATLANTA JUG POLYGLOT apple mac vintage 5" screen TURTLE MY FIRST PROGRAM TURING MY FIRST REAL PROGRAM JAVASCRIPT

More information

Persistence & State. SWE 432, Fall 2016 Design and Implementation of Software for the Web

Persistence & State. SWE 432, Fall 2016 Design and Implementation of Software for the Web Persistence & State SWE 432, Fall 2016 Design and Implementation of Software for the Web Today What s state for our web apps? How do we store it, where do we store it, and why there? For further reading:

More information

A Node.js tutorial by Manuel Kiessling

A Node.js tutorial by Manuel Kiessling 1 of 23 9/17/2013 3:09 PM A Node.js tutorial by Manuel Kiessling The aim of this document is to get you started with developing applications with Node.js, teaching you everything you need to know about

More information

CSC309 - Winter Lab 9 - Understanding JS Event Loops, Scopes and JSONP

CSC309 - Winter Lab 9 - Understanding JS Event Loops, Scopes and JSONP CSC309 - Winter 2017 Lab 9 - Understanding JS Event Loops, Scopes and JSONP JS Event Loops TAs please skim through the important parts of this video, answer any questions students might have. Demo Tool:

More information

Getting Started With NodeJS Feature Flags

Getting Started With NodeJS Feature Flags Guide Getting Started With NodeJS Feature Flags INTRO We ve all done it at some point: thrown a conditional around a piece of code to enable or disable it. When it comes to feature flags, this is about

More information

Firefox Crash Reporting.

Firefox Crash Reporting. Firefox Crash Reporting laura@ mozilla.com @lxt Webtools @ Mozilla Crash reporting Localization Performance measurement Code search and static analysis Other stuff: product delivery and updates, plugins

More information

Developer Internship Opportunity at I-CC

Developer Internship Opportunity at I-CC Developer Internship Opportunity at I-CC Who We Are: Technology company building next generation publishing and e-commerce solutions Aiming to become a leading European Internet technology company by 2015

More information

this presentation code is on https://github.com/gabrielelana/node-examples

this presentation code is on https://github.com/gabrielelana/node-examples this presentation code is on https://github.com/gabrielelana/node-examples gabriele lana gabriele.lana@cleancode.it twitter: @gabrielelana this presentation code is on https://github.com/gabrielelana/node-examples

More information

KonaKart Shopping Widgets. 3rd January DS Data Systems (UK) Ltd., 9 Little Meadow Loughton, Milton Keynes Bucks MK5 8EH UK

KonaKart Shopping Widgets. 3rd January DS Data Systems (UK) Ltd., 9 Little Meadow Loughton, Milton Keynes Bucks MK5 8EH UK KonaKart Shopping Widgets 3rd January 2018 DS Data Systems (UK) Ltd., 9 Little Meadow Loughton, Milton Keynes Bucks MK5 8EH UK Introduction KonaKart ( www.konakart.com ) is a Java based ecommerce platform

More information

CS 498RK FALL RESTFUL APIs

CS 498RK FALL RESTFUL APIs CS 498RK FALL 2017 RESTFUL APIs Designing Restful Apis blog.mwaysolutions.com/2014/06/05/10-best-practices-for-better-restful-api/ www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api Resources

More information

Full Stack boot camp

Full Stack boot camp Name Full Stack boot camp Duration (Hours) JavaScript Programming 56 Git 8 Front End Development Basics 24 Typescript 8 React Basics 40 E2E Testing 8 Build & Setup 8 Advanced JavaScript 48 NodeJS 24 Building

More information

Networking & The Web. HCID 520 User Interface Software & Technology

Networking & The Web. HCID 520 User Interface Software & Technology Networking & The Web HCID 520 User Interface Software & Technology Uniform Resource Locator (URL) http://info.cern.ch:80/ 1991 HTTP v0.9 Uniform Resource Locator (URL) http://info.cern.ch:80/ Scheme/Protocol

More information

Quick Desktop Application Development Using Electron

Quick Desktop Application Development Using Electron Quick Desktop Application Development Using Electron Copyright Blurb All rights reserved. No part of this book may be reproduced in any form or by any electronic or mechanical means including information

More information

Asynchronous JS. SWE 432, Fall Web Application Development

Asynchronous JS. SWE 432, Fall Web Application Development Asynchronous JS SWE 432, Fall 2018 Web Application Development Review: Asynchronous Synchronous: Make a function call When function call returns, the work is done Asynchronous: Make a function call Function

More information

5th April Installation Manual. Department of Computing and Networking Software Development Degree

5th April Installation Manual. Department of Computing and Networking Software Development Degree 5th April 2017 Installation Manual Department of Computing and Networking Software Development Degree Project name: Student: Student Number: Supervisor: MaaP (Message as a Platform) Chihabeddine Ahmed

More information

INF5750. Introduction to JavaScript and Node.js

INF5750. Introduction to JavaScript and Node.js INF5750 Introduction to JavaScript and Node.js Outline Introduction to JavaScript Language basics Introduction to Node.js Tips and tools for working with JS and Node.js What is JavaScript? Built as scripting

More information

How to Implement a Web-based Terminal with Docker

How to Implement a Web-based Terminal with Docker How to Implement a Web-based Terminal with Docker 2015-03-14 Who am I 杜万 (Vangie Du) Full-Stack Web Developer Linux fans Working on Coding@Shanghai About Coding Project Management Source Code Management

More information

Lecture 10(-ish) Web [Application] Frameworks

Lecture 10(-ish) Web [Application] Frameworks Lecture 10(-ish) Web [Application] Frameworks Minimal Python server import SocketServer import SimpleHTTPServer class Reply(SimpleHTTPServer.SimpleHTTPRequestHandler): def do_get(self): # query arrives

More information

RKN 2015 Application Layer Short Summary

RKN 2015 Application Layer Short Summary RKN 2015 Application Layer Short Summary HTTP standard version now: 1.1 (former 1.0 HTTP /2.0 in draft form, already used HTTP Requests Headers and body counterpart: answer Safe methods (requests): GET,

More information

Make your application real-time with PubSubHubbub. Brett Slatkin May 19th, 2010

Make your application real-time with PubSubHubbub. Brett Slatkin May 19th, 2010 Make your application real-time with PubSubHubbub Brett Slatkin May 19th, 2010 View live notes and ask questions about this session on Google Wave http://tinyurl.com/push-io2010 Me http://onebigfluke.com

More information

MySQL. The Right Database for GIS Sometimes

MySQL. The Right Database for GIS Sometimes MySQL The Right Database for GIS Sometimes Who am I? Web/GIS Software Engineer with Cimbura.com BS in IT, MGIS Michael Moore I like making and using tools (digital or physical) GIS Web Services I m most

More information

Mastering Node. Mastering Node 1

Mastering Node. Mastering Node 1 Mastering Node Node is an exciting new platform developed by Ryan Dahl, allowing JavaScript developers to create extremely high performance servers by leveraging Google's V8 JavaScript engine, and asynchronous

More information

JavaScript. The Bad Parts. Patrick Behr

JavaScript. The Bad Parts. Patrick Behr JavaScript The Bad Parts Patrick Behr History Created in 1995 by Netscape Originally called Mocha, then LiveScript, then JavaScript It s not related to Java ECMAScript is the official name Many implementations

More information

ethnio tm Technical Overview VERSION NO. 6 CREATED AUG 22, 2018 ETHNIO, INC W SUNSET BLVD LOS ANGELES, CA TEL (888)

ethnio tm Technical Overview VERSION NO. 6 CREATED AUG 22, 2018 ETHNIO, INC W SUNSET BLVD LOS ANGELES, CA TEL (888) ethnio tm Technical Overview VERSION NO. 6 CREATED AUG 22, 2018 ETHNIO, INC. 6121 W SUNSET BLVD LOS ANGELES, CA 90028 TEL (888) 879-7439 Summary Ethnio works by displaying a survey-like screener to your

More information

Modern Web Application Development. Sam Hogarth

Modern Web Application Development. Sam Hogarth Modern Web Application Development Sam Hogarth Some History Early Web Applications Server-side scripting only e.g. PHP/ASP Basic client-side scripts JavaScript/JScript/VBScript Major differences in browser

More information

DECOUPLING PATTERNS, SERVICES AND CREATING AN ENTERPRISE LEVEL EDITORIAL EXPERIENCE

DECOUPLING PATTERNS, SERVICES AND CREATING AN ENTERPRISE LEVEL EDITORIAL EXPERIENCE DECOUPLING PATTERNS, SERVICES AND CREATING AN ENTERPRISE LEVEL EDITORIAL EXPERIENCE Who we are and Why we are here? Saurabh Chugh Started Drupal journey in 2010 with Drupal 6, long journey with Drupal

More information

CSCI-1680 Network Programming II. Rodrigo Fonseca

CSCI-1680 Network Programming II. Rodrigo Fonseca CSCI-1680 Network Programming II Rodrigo Fonseca Today Network programming Programming Paradigms Programming libraries Final project Low-level Sockets Address Family AF_PACKET Socket type: SOCK_RAW See

More information

Web AppBuilder for ArcGIS: A Deep Dive in Enterprise Deployments. Nick Brueggemann and Mark Torrey

Web AppBuilder for ArcGIS: A Deep Dive in Enterprise Deployments. Nick Brueggemann and Mark Torrey Web AppBuilder for ArcGIS: A Deep Dive in Enterprise Deployments Nick Brueggemann and Mark Torrey Agenda Subhead Here Patterns Installation Configuration Security Application Development Deployment Post-Deployment

More information

IERG 4080 Building Scalable Internet-based Services

IERG 4080 Building Scalable Internet-based Services Department of Information Engineering, CUHK MScIE 2 nd Semester, 2015/16 IERG 4080 Building Scalable Internet-based Services Lecture 9 Web Sockets for Real-time Communications Lecturer: Albert C. M. Au

More information

RED HAT'S CONTAINER STRATEGY. Lars Herrmann General Manager, RHEL, RHEV and Containers June 24, 2015

RED HAT'S CONTAINER STRATEGY. Lars Herrmann General Manager, RHEL, RHEV and Containers June 24, 2015 RED HAT'S CONTAINER STRATEGY Lars Herrmann General Manager, RHEL, RHEV and Containers June 24, 2015 1 DEVELOPMENT VS I.T. OPERATIONS DEVELOPER IT OPERATIONS 2 DEVELOPERS WANT TO GO FAST DEVELOPER 3 HOW

More information

Node.js By Example. Learn to use Node.js by creating a fully functional social network. Krasimir Tsonev BIRMINGHAM - MUMBAI

Node.js By Example. Learn to use Node.js by creating a fully functional social network. Krasimir Tsonev BIRMINGHAM - MUMBAI Node.js By Example Learn to use Node.js by creating a fully functional social network Krasimir Tsonev BIRMINGHAM - MUMBAI Node.js By Example Copyright 2015 Packt Publishing All rights reserved. No part

More information

COPYRIGHTED MATERIAL. Part I: Getting Started. Chapter 1: Introducing Flex 2.0. Chapter 2: Introducing Flex Builder 2.0. Chapter 3: Flex 2.

COPYRIGHTED MATERIAL. Part I: Getting Started. Chapter 1: Introducing Flex 2.0. Chapter 2: Introducing Flex Builder 2.0. Chapter 3: Flex 2. 02671c01.qxd:02671c01 4/20/07 11:24 AM Page 1 Part I: Getting Started Chapter 1: Introducing Flex 2.0 Chapter 2: Introducing Flex Builder 2.0 Chapter 3: Flex 2.0 Basics Chapter 4: Using Flex Builder 2.0

More information

Comet and WebSocket Web Applications How to Scale Server-Side Event-Driven Scenarios

Comet and WebSocket Web Applications How to Scale Server-Side Event-Driven Scenarios Comet and WebSocket Web Applications How to Scale Server-Side Event-Driven Scenarios Simone Bordet sbordet@intalio.com 1 Agenda What are Comet web applications? Impacts of Comet web applications WebSocket

More information

Front End Programming

Front End Programming Front End Programming Mendel Rosenblum Brief history of Web Applications Initially: static HTML files only. Common Gateway Interface (CGI) Certain URLs map to executable programs that generate web page

More information

Reactive Java: Promises and Streams with Reakt. Geoff Chandler and Rick Hightower

Reactive Java: Promises and Streams with Reakt. Geoff Chandler and Rick Hightower Reactive Java: Promises and Streams with Reakt Geoff Chandler and Rick Hightower What is Reakt in 30 seconds! Reakt General purpose library for callback coordination and streams Implements JavaScript

More information

Arjen de Blok. Senior Technical Consultant bij ICT Groep ( sinds 1995 Programmeren sinds 1990 Technologiën. Links

Arjen de Blok. Senior Technical Consultant bij ICT Groep (  sinds 1995 Programmeren sinds 1990 Technologiën. Links Arjen de Blok Senior Technical Consultant bij ICT Groep (www.ict.eu) sinds 1995 Programmeren sinds 1990 Technologiën Links Visual C++ met Microsoft Foundation Classes.NET WinForms & WPF Silverlight ASP.NET

More information

Node.js Paradigms and Benchmarks

Node.js Paradigms and Benchmarks STRIEGEL, GRAD OS F 11, PROJECT DRAFT 1 Node.js Paradigms and Benchmarks Robert Ryan McCune, University of Notre Dame, rmccune@nd.edu Abstract The current environment of web applications demands performance

More information

Mixed Signals Using Fusion s Signals API

Mixed Signals Using Fusion s Signals API Mixed Signals Using Fusion s Signals API One of my favorite features in Fusion is the Signals API a RESTful, flexible, easily implemented mechanism for capturing interesting user events, like (but not

More information

Present and Future of the RhoMobile platform. Migrating legacy applications, Node.js on mobile devices right now and more

Present and Future of the RhoMobile platform. Migrating legacy applications, Node.js on mobile devices right now and more Present and Future of the RhoMobile platform Migrating legacy applications, Node.js on mobile devices right now and more Key facts about RhoMobile and Tau 2008 2011 2014 2015 2016 RhoMobile founded RhoMobile

More information

Persistence. SWE 432, Fall 2017 Design and Implementation of Software for the Web

Persistence. SWE 432, Fall 2017 Design and Implementation of Software for the Web Persistence SWE 432, Fall 2017 Design and Implementation of Software for the Web Today Demo: Promises and Timers What is state in a web application? How do we store it, and how do we choose where to store

More information

Viewer 2.0. Shared Media one of the exciting improvements! 2010 Linden Lab 2

Viewer 2.0. Shared Media one of the exciting improvements! 2010 Linden Lab 2 Viewer 2.0 Shared Media one of the exciting improvements! 2010 Linden Lab 2 Shared Media Brings the Web Into Second Life Web Pages Yes, Including Flash! Yes, even Flash video! Yes, on any surface! Yes,

More information

Javascript. Some tools for building web- based groupware. Javascript. Javascript. Master Informa-que - Université Paris- Sud 1/15/14

Javascript. Some tools for building web- based groupware. Javascript. Javascript. Master Informa-que - Université Paris- Sud 1/15/14 Some tools for building web- based groupware Michel Beaudouin- Lafon mbl@lri.fr More powerful than you think Func-onal: func-ons are first- class objects func%on map(a, f) { var sum = 0; for (var i = 0;

More information

Masters in Web Development

Masters in Web Development Masters in Web Development Accelerate your carrer by learning Web Development from Industry Experts. www.techgrad.in India s Leading Digital marketing Institute India s Leading Accademy 12,234+ Trainees

More information

Java vs JavaScript. For Enterprise Web Applications. Chris Bailey IBM Runtime Technologies IBM Corporation

Java vs JavaScript. For Enterprise Web Applications. Chris Bailey IBM Runtime Technologies IBM Corporation Java vs JavaScript For Enterprise Web Applications Chris Bailey IBM Runtime Technologies 1 What Languages do you use? 120 Percentage of Audience 100 80 60 40 20 0 Java 2 JavaScript Both What Runtimes do

More information

Future Web App Technologies

Future Web App Technologies Future Web App Technologies Mendel Rosenblum MEAN software stack Stack works but not the final say in web app technologies Angular.js Browser-side JavaScript framework HTML Templates with two-way binding

More information

Tooling for Ajax-Based Development. Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc.

Tooling for Ajax-Based Development. Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. Tooling for Ajax-Based Development Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. 1 Agenda In The Beginning Frameworks Tooling Architectural Approaches Resources 2 In The Beginning 3

More information

Heroku. Rimantas Kybartas

Heroku. Rimantas Kybartas Heroku Rimantas Kybartas Salesforce platform (PaaS) Facts about Heroku Has been in development since June 2007, 2010 acquired by Salesforce Open platform Languages and frameworks: Ruby and Rails Node.js

More information

About 1. Chapter 1: Getting started with odata 2. Remarks 2. Examples 2. Installation or Setup 2. Odata- The Best way to Rest 2

About 1. Chapter 1: Getting started with odata 2. Remarks 2. Examples 2. Installation or Setup 2. Odata- The Best way to Rest 2 odata #odata Table of Contents About 1 Chapter 1: Getting started with odata 2 Remarks 2 Examples 2 Installation or Setup 2 Odata- The Best way to Rest 2 Chapter 2: Azure AD authentication for Node.js

More information

Intro To Javascript. Intro to Web Development

Intro To Javascript. Intro to Web Development Intro To Javascript Intro to Web Development Preamble I don't like JavaScript But with JS your feelings don't matter. Browsers don't work well with any other language so you have to write code that either:

More information

Lecture 2 Callbacks, Events, and Asynchronous Programming

Lecture 2 Callbacks, Events, and Asynchronous Programming Lecture 2 Callbacks, Events, and Asynchronous Programming 1 / 13 What is asynchronous programming? So far, most (if not all) of the programs you've written are synchronous programs. You write code, and

More information

Unifer Documentation. Release V1.0. Matthew S

Unifer Documentation. Release V1.0. Matthew S Unifer Documentation Release V1.0 Matthew S July 28, 2014 Contents 1 Unifer Tutorial - Notes Web App 3 1.1 Setting up................................................. 3 1.2 Getting the Template...........................................

More information

Fixing Twitter.... and Finding your own Fail Whale. John Adams Twitter Operations

Fixing Twitter.... and Finding your own Fail Whale. John Adams Twitter Operations Fixing Twitter... and Finding your own Fail Whale John Adams Twitter Operations Operations Small team, growing rapidly. What do we do? Software Performance (back-end) Availability Capacity

More information

Catbook Workshop: Intro to NodeJS. Monde Duinkharjav

Catbook Workshop: Intro to NodeJS. Monde Duinkharjav Catbook Workshop: Intro to NodeJS Monde Duinkharjav What is NodeJS? NodeJS is... A Javascript RUNTIME ENGINE NOT a framework NOT Javascript nor a JS package It is a method for running your code in Javascript.

More information

Enhancing cloud applications by using external authentication services. 2015, 2016 IBM Corporation

Enhancing cloud applications by using external authentication services. 2015, 2016 IBM Corporation Enhancing cloud applications by using external authentication services After you complete this section, you should understand: Terminology such as authentication, identity, and ID token The benefits of

More information

CS193X: Web Programming Fundamentals

CS193X: Web Programming Fundamentals CS193X: Web Programming Fundamentals Spring 2017 Victoria Kirst (vrk@stanford.edu) CS193X schedule Today - MongoDB - Servers and MongoDB Friday - Web application architecture - Authentication MongoDB installation

More information

Angular 2 and Hexo. Static Meets Dynamic For the Best of Both Worlds! Copyright 2016 Code Career Academy

Angular 2 and Hexo. Static Meets Dynamic For the Best of Both Worlds! Copyright 2016 Code Career Academy Angular 2 and Hexo Static Meets Dynamic For the Best of Both Worlds! Who am I? Jeff Ammons Microsoft MVP Pluralsight Author CEO/Chief Instructor at Code Career Academy 25 Years Professional Experience

More information

Project Avatar: Server Side JavaScript on the JVM GeeCon - May David Software Evangelist - Oracle

Project Avatar: Server Side JavaScript on the JVM GeeCon - May David Software Evangelist - Oracle Project Avatar: Server Side JavaScript on the JVM GeeCon - May 2014! David Delabassee @delabassee Software Evangelist - Oracle The following is intended to outline our general product direction. It is

More information

Introduction to RPC, Apache Thrift Workshop. Tomasz Powchowicz

Introduction to RPC, Apache Thrift Workshop. Tomasz Powchowicz Introduction to RPC, Apache Thrift Workshop Tomasz Powchowicz It is all about effective communication page 2 Synchronous, asynchronous execution Executor Executor A Executor B Executor A Executor B 1 1

More information