Pro Yearly is on sale from $80 to $50! »

Lotus - Brighton Ruby 2015

Lotus - Brighton Ruby 2015

76aa5b311fb40fdc2bb70c0282d66af3?s=128

Luca Guidi

July 20, 2015
Tweet

Transcript

  1. Lotus Brighton Ruby 2015 @jodosha / #lotusrb

  2. The future of Ruby

  3. New good languages at the horizon

  4. The future is polyglot

  5. Ruby has no (real) plans for the future

  6. We should welcome new engineers

  7. We need to define a good selling feature

  8. Rails doesn’t have a Community agenda

  9. Flat MVC Eternal productivity Dependency hell

  10. Lotus

  11. Code Scalability

  12. From small HTTP endpoints..

  13. require 'bundler/setup' require 'lotus/router' run Lotus::Router.new { get '/', to:

    ->(env) { [200,{},['Hi']] } }
  14. ..to multiple apps in the same Ruby process

  15. None
  16. None
  17. Modular First ™

  18. Lotus focuses on maintenance

  19. Explicit is better than magic

  20. Eat Your Veggies Driven Development ™

  21. EYVDD ™

  22. 0 17,5 35 52,5 70 Ruby Rack Sinatra Lotus Rails

    Dependencies Memory
  23. 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..
  24. Future plans

  25. Lotus v0.5.0 - Sep 23 • WebSocket • Associations •

    Mailers • Experimental code reloading • Assets
  26. ”Today’s good practices are HTTP/2 anti patterns” Ilya Grigorik

  27. Experimental HTTP/2 support

  28. None
  29. None
  30. GitHub: jodosha/panther jodosha/instants

  31. http://lotusrb.org

  32. Thank you

  33. Credits Ruby picture by Orbital Joe https://flic.kr/p/79UqQM