forget ruby. forget coffeescript. do soa

20

Click here to load reader

Upload: michal-lomnicki

Post on 11-May-2015

370 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Forget Ruby. Forget CoffeeScript. Do SOA

Forget RubyForget CoffeeScript

Do SOA@mlomnicki

Page 2: Forget Ruby. Forget CoffeeScript. Do SOA

SOA is becoming boringAndrzej Krzywda, yesterday

Page 3: Forget Ruby. Forget CoffeeScript. Do SOA

Monolith => SOA => Win

Page 4: Forget Ruby. Forget CoffeeScript. Do SOA

BackendRuby + Rails/Sinatra/EM/...

JRuby, Rubinius

Ruby libraries

Page 5: Forget Ruby. Forget CoffeeScript. Do SOA

FrontendJavaScript

CoffeeScript

Stdlib Hell

Page 6: Forget Ruby. Forget CoffeeScript. Do SOA

What`s wrongPick the BEST tool

No reuse

Upgrades

Page 7: Forget Ruby. Forget CoffeeScript. Do SOA

Best Tool?XYZ sucks but there is no betteralternative (in Ruby)

RMagick - 1,457,870 downloads

EM

Contacts

Page 8: Forget Ruby. Forget CoffeeScript. Do SOA

SPA comes with great powerWe write a lot of components

They all can be new apps

many APIs - many frontends - many apps

Reuse

How Twitter was born?

Page 9: Forget Ruby. Forget CoffeeScript. Do SOA

ExamplesFilepicker

Aviary

Page 10: Forget Ruby. Forget CoffeeScript. Do SOA

Apps not librariesThumbnails generator

Contacts importer

Payment processor

Newsletter

The goal is to reuse APPS

Page 11: Forget Ruby. Forget CoffeeScript. Do SOA

ChoiceFrontend - JS/CS/Dart

Backend - unlimited

Page 12: Forget Ruby. Forget CoffeeScript. Do SOA

RubyAddictive

Develop all the things in Ruby

Doesn`t matter if there are no libraries

Isn`t it boring after all?

Page 13: Forget Ruby. Forget CoffeeScript. Do SOA

Writing an Irssi pluginPlugins in Perl

Core in C

1st thought - write Ruby Bindings myself!

2nd thought - re-write Irsii in Ruby!!!

3rd thought - actually why not Perl?

Page 14: Forget Ruby. Forget CoffeeScript. Do SOA

The RVM2 caseZSH initially

Ruby after @mpapis attended DRUG

Is it really the best option?

Page 15: Forget Ruby. Forget CoffeeScript. Do SOA

Ruby über allesJava sucks

Python sucks

C sucks

Bash sucks

Perl sucks as hell

Only new and immature langs do not suck (yet)

Page 16: Forget Ruby. Forget CoffeeScript. Do SOA

Fact #1To suck, a programming language has to be mature,

stable, widely used and proven to do its job right.

Otherwise it is shiny, brillant, innovative and you`re a donkey whodoes not understand it.

Page 17: Forget Ruby. Forget CoffeeScript. Do SOA

Opinion #1JavaScript does not suck.

It is immature, unstable, ridiculous and

does not do its job right.

Page 18: Forget Ruby. Forget CoffeeScript. Do SOA

SOADiversity

We are on the track

ZMQ - Over 20 bindings

Find your new Ruby

Kill JavaScript

Languages are easy to learn

Page 19: Forget Ruby. Forget CoffeeScript. Do SOA

My takeFrom backend to frontend

Go (does not suck!)

Google app engine (sucks)

Page 20: Forget Ruby. Forget CoffeeScript. Do SOA

Thanks