ole erecius tirsdag den 9. juni 2015 [email protected]@fairandsquare.dk - 70 20 55 06...

18
Ole Erecius Tirsdag den 9. juni 2015 [email protected] - 70 20 55 06 Programming is always at The EDGE !!!

Upload: homer-reynolds

Post on 11-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

Ole EreciusTirsdag den 9. juni 2015

[email protected] - 70 20 55 06

Programming is always at The EDGE !!!

Page 2: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

ON THE EDGE

Page 3: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

• The way you make applications are changing rapidly and the type of applications even faster.

• This presentation will provide insights in the megatrends of application development from 2010 to 2020 and (provide practical information on) how to get started with the DIRTY applications you can make with the full JavaScript MEAN stack.

• Doing Data Intensive Real Time Applications using MongoDB(.js), Express.js, (Angular.js) and Node.js is not only an efficient way of making responsive asynchronous applications – it is also

FUN !!!

Synopsis

Page 4: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

Agenda – No Code (Sorry)

• Past MegaTrends

• Present MegaTrends ( 2010 – 2020 )• LEAN

• MEAN

• DIRTy

• Future MegaTrends ( 2015 and beyond )

• SMART APPLICATIONS

• Please Interrupt, shout and contribute !!!

Page 5: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

• Mechanical Engineering background (3 decades ago )

• Worked as programmer doing large scale data visualization for oil companies and heavy industry around the world. Fortran, C – ON THE EDGE

• Real time C3 systems – weapon and 3D radar control systems for the Danish Navy – ON THE EDGE! C++, Motorola 68000 Assembler

• Real time Security Systems ( C#, Oracle) – ON THE EDGE

• Never Java, Never HTML , … but JavaScript!

• … and then 15 years as Program Manager for major Danish organizations – ON THE EDGE

• Staying Lean , Mean and Dirty in the corporate world.

Who am I?

Page 6: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

• Assembly Language – giant leap from machine code• IBM VM370 = Virtual Machine Facility/370• 3rd Generation Languages - Fortran, C, Pascal• Objected Oriented Languages - SmallTalk, C++, Java,

C#, Objective C• 4th Generation Languages … not a megatrend

BI people may disagree

Past Megatrends in Application Developement

Page 7: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

• Business demands have become non-linear & impossible to predict.• Everything is mobile. Simple GUI, massive infrastructure.• Everything is connected. In the background, it just happens.• Scaling by Iron is not feasible – or is that really what it is?• Processes must be responsive to chaos !!!• Infrastructure is going virtual (again )• Number of programming languages is exploding – why?• Traditional databases cannot handle Big Data volume, variety and

velocity. • Programming frameworks have become bloated

Present Megatrends – ON THE EDGE !!!

Page 8: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

LEAN MEAN & DIRTY – the present megatrends

LEAN = Full stack JavaScript +MEAN = MongoDB, Express, Angular & Node + DIRT = Data Intensive Real Time =SMART APPLICATIONS

Bedre & Billigere Applikationer Hurtigere!FAIR & SQUARE Big Data, Smart Applications

Page 9: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

• Full stack JavaScript• No skill segregation• No context swaps• No data conversions

• JavaScript is Omnipresent• JavaScript is mastered by a large community• JavaScript performs (Google V8 Engine)• JavaScript can be improved• JavaScript is fun

LEAN – Why ?

Page 10: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

• MongoDB - Is NoSQL necessary?• Flexible Schema• Global Scale (web scale)• Easy !!!

• Express - Why an in-application Web site?• Set your application free• Be in control• Cut the crap !

MEAN – Why

Page 11: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

• Angular – Can you make real applications on the web?• Make real applications on the web• Not the full Monty yet!• Ext.js ???

• Node – Just another framework?• JavaScript on the server• Asynchronous !!!• Easy (but somewhat entangled)• MultiPlatform (Client, Server, Database, Integration, Services)

• Massive community

MEAN – Why

Page 12: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

Statistics from npmjs.com (June 9th 2015 at 17.20)

155.191 total packages (5.000 new per month)

66.217.639 downloads in the last day387.503.107 downloads in the last week1.540.658.744 downloads in the last month.

MEAN – Node massive community

Page 13: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

var http = require('http');http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello World\n');}).listen(1337, '127.0.0.1');

console.log('Server running at http://127.0.0.1:1337/');

To run the server, put the code into a file example.js and execute it with the node program from the command line:

node example.js Server running at http://127.0.0.1:1337/

A simple TCP server which listens on port 1337 and echoes whatever you send it:

var net = require('net');var server = net.createServer(function (socket) { socket.write('Echo server\r\n'); socket.pipe(socket);});

MEAN – Example from nodejs.org front page

Page 14: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

• Data is what makes applications live• Data is growing in virtually all areas• Data must be available NOW!• Data must be updated NOW!• Data is becoming more and more chaotic.

• Love your data – it is your business !

DIRT – Why?

Page 15: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

Smart Applications

INTELLIGENT CLIENTSwith Angular.js, Ext.js, iOS & Android

DIRTy SERVICESwith Node & Express

SCALABLE & FLEXIBLE DATAwith NoSQL & Big Data

Page 16: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

• ERP Systems support enterprise• THE GAP !• Office systems support the daily work• The GAP is filled by Custom Applications• They are too expensive• They are too late• They don’t work

• Is there a Better Way ?

Filling the Gap

Page 17: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

• Application Modelling• Micro Services• Polyglot Database Architecture• Domain Specific Languages• Client/Server • Programming in New ways:• Business Programming• Descriptive Programming• Semantic Programming

Future MegaTrends in Application Development

Page 18: Ole Erecius Tirsdag den 9. juni 2015 oer@fairandsquare.dkoer@fairandsquare.dk - 70 20 55 06 Programming is always at The EDGE !!!

FAIR & SQUARE Big Data, Smart Applications

Any Further questions ?

Thank you for listening !