forget ruby. forget coffeescript. do soa
TRANSCRIPT
Forget RubyForget CoffeeScript
Do SOA@mlomnicki
SOA is becoming boringAndrzej Krzywda, yesterday
Monolith => SOA => Win
BackendRuby + Rails/Sinatra/EM/...
JRuby, Rubinius
Ruby libraries
FrontendJavaScript
CoffeeScript
Stdlib Hell
What`s wrongPick the BEST tool
No reuse
Upgrades
Best Tool?XYZ sucks but there is no betteralternative (in Ruby)
RMagick - 1,457,870 downloads
EM
Contacts
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?
ExamplesFilepicker
Aviary
Apps not librariesThumbnails generator
Contacts importer
Payment processor
Newsletter
The goal is to reuse APPS
ChoiceFrontend - JS/CS/Dart
Backend - unlimited
RubyAddictive
Develop all the things in Ruby
Doesn`t matter if there are no libraries
Isn`t it boring after all?
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?
The RVM2 caseZSH initially
Ruby after @mpapis attended DRUG
Is it really the best option?
Ruby über allesJava sucks
Python sucks
C sucks
Bash sucks
Perl sucks as hell
Only new and immature langs do not suck (yet)
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.
Opinion #1JavaScript does not suck.
It is immature, unstable, ridiculous and
does not do its job right.
SOADiversity
We are on the track
ZMQ - Over 20 bindings
Find your new Ruby
Kill JavaScript
Languages are easy to learn
My takeFrom backend to frontend
Go (does not suck!)
Google app engine (sucks)
Thanks