Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lotus - Brighton Ruby 2015
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Luca Guidi
July 20, 2015
Programming
910
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Lotus - Brighton Ruby 2015
http://brightonruby.com/
Luca Guidi
July 20, 2015
More Decks by Luca Guidi
See All by Luca Guidi
Functional Web with Hanami
jodosha
4
450
Lessons Learned While Building Hanami
jodosha
4
1.2k
Lotus RubyDay 2015
jodosha
2
960
Lotus For Rails Developers
jodosha
2
330
Lotus
jodosha
8
570
A Rails Criticism
jodosha
4
1.7k
Other Decks in Programming
See All in Programming
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
20
6.5k
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
220
Claspは野良GASの夢をみるか
takter00
0
180
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
240
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
270
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
200
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
160
Webフレームワークの ベンチマークについて
yusukebe
0
160
Oxcを導入して開発体験が向上した話
yug1224
4
310
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
750
Modding RubyKaigi for Myself
yui_knk
0
920
ふつうのFeature Flag実践入門
irof
7
3.7k
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
1.8k
It's Worth the Effort
3n
188
29k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Embracing the Ebb and Flow
colly
88
5.1k
Amusing Abliteration
ianozsvald
1
200
Chasing Engaging Ingredients in Design
codingconduct
0
220
Google's AI Overviews - The New Search
badams
0
1k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Optimizing for Happiness
mojombo
378
71k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Un-Boring Meetings
codingconduct
0
310
Docker and Python
trallard
47
3.9k
Transcript
Lotus Brighton Ruby 2015 @jodosha / #lotusrb
The future of Ruby
New good languages at the horizon
The future is polyglot
Ruby has no (real) plans for the future
We should welcome new engineers
We need to define a good selling feature
Rails doesn’t have a Community agenda
Flat MVC Eternal productivity Dependency hell
Lotus
Code Scalability
From small HTTP endpoints..
require 'bundler/setup' require 'lotus/router' run Lotus::Router.new { get '/', to:
->(env) { [200,{},['Hi']] } }
..to multiple apps in the same Ruby process
None
None
Modular First ™
Lotus focuses on maintenance
Explicit is better than magic
Eat Your Veggies Driven Development ™
EYVDD ™
0 17,5 35 52,5 70 Ruby Rack Sinatra Lotus Rails
Dependencies Memory
Features • Thread-safety • Full featured HTTP router • RESTful
resources • Actions and views as objects • Actions callbacks • Code sharing • Exception handling • Sessions • Secure Cookies • HTTP Caching • Automatic MIME Types • 20+ Template engines • Partials and layouts • Presenters • Routing helpers • Form helpers • HTML helpers • Automatic markup escape • CSRF and XSS prevention • Force SSL • Entities • Repositories • Data Mapper • SQL and Memory adapters • Dirty Tracking • Reusable validations • Multiple environments • Static assets • JSON body parser • Params whitelisting and validation • Code generators • Rack servers support • Application console • Database console • Powerful CLI • Migrations • RSpec, Minitest and Capybara support • Several architectures • And more..
Future plans
Lotus v0.5.0 - Sep 23 • WebSocket • Associations •
Mailers • Experimental code reloading • Assets
”Today’s good practices are HTTP/2 anti patterns” Ilya Grigorik
Experimental HTTP/2 support
None
None
GitHub: jodosha/panther jodosha/instants
http://lotusrb.org
Thank you
Credits Ruby picture by Orbital Joe https://flic.kr/p/79UqQM