• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Future Of Ruby And Rails
 

Future Of Ruby And Rails

on

  • 6,927 views

Presentation given to RailsSummit 2009 in Brazil. The presentation covers the plan for Rails3 and the different Ruby implementations.

Presentation given to RailsSummit 2009 in Brazil. The presentation covers the plan for Rails3 and the different Ruby implementations.

Statistics

Views

Total Views
6,927
Views on SlideShare
6,534
Embed Views
393

Actions

Likes
7
Downloads
108
Comments
0

12 Embeds 393

http://localhost:3000 168
http://www.acenetcampus.com 112
http://coderwall.com 43
http://acenetcampus.com 40
http://www.slideshare.net 15
http://nitw.acenetcampus.com 8
https://duckduckgo.com 2
http://www.lmodules.com 1
http://trendti.me 1
http://parse.com 1
http://sherlypuspitasari.blogspot.com 1
http://jai-tzion 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Future Of Ruby And Rails Future Of Ruby And Rails Presentation Transcript

    • Future Rails3 uby Matt Aimonetti
    • MIM me Matt Aimonetti
    • “morally loose, cheese eating surrender monkey” Ted Han
    • + =
    • FUTURE time period commonly understood to contain all events that have yet to occur.
    • RAILS 3 the future of web development
    • EVOLUTION
    • AUDIENCE app developers Rails entrepreneurs designers app developers Merb enterprise plugin authors
    • AUDIENCE app developers entrepreneurs Rails 3 enterprise plugin authors designers
    • PRINCIPLES programmer happiness Rails strong conventions fluent design app developers Merb flexibility modularity speed
    • PRINCIPLES programmer happiness strong conventions fluent design Rails 3 flexibility modularity speed
    • ATOMIC STRUCTURE
    • ATOMIC NUCLEUS neutron proton Rails 2
    • Rails 3 ATOMIC CLUSTER
    • ActiveModel ActionWorker + ORM ActiveResource ActionPack ActiveSupport ActionMailer Generators Rack middlewares Rails stack
    • NEW
    • ROUTER match ‘awesome/:action’
    • rack love
    • constraints/filters
    • constraints(:ip => /192.168.1.ddd/) do get 'admin', :to => "dashboard#index" end
    • Rack Apps intregration
    • namespace :facebook do use MyMiddleware match "/game", :to => SinatraApp end Rack app intregration
    • mountable apps
    • class MyForum < Rails::Application rack entry point
    • ACTIVE WORKER push_queue Thumbnailer.new(path, user, :action => :process)
    • background process
    • UNOBTRUSIVE JAVASCRIPT html 5
    • html ❺ ‘data-*’ attributes
    • one js API interface for all libs
    • ORM AGNOSTICITY
    • Active_Record still the Active common default Relation API
    • Datamapper Legacy multiple query various repository repository optimization datastores
    • Sequel Highly Prepared Sharding customizable Perf Statements SQL
    • Couchrest/ mongomapper/ your_ORM etc..
    • INTERNAL CLEANUP
    • PERFORMANCE
    • RAILS 3 in a l f n o t SPEED BOOST hello world 3.02x render 2.59x partial 2.88x 10 partials 2.16x collection of 10 2.44x 103% 207% 310% Rails 3/Ruby 1.9 benchmarked against Rails 2.3.x/Ruby 1.8.7
    • Ru y wo by em r er pe j m 20 rl d 09 1.9 k e 2.78x hello world 3.39x 2.49x render 3.38x 1.18x partial 4.9x 1.63x 10 partials 4x 6.27x collection 8x 200% 400% 600% 800% Ruby 1.8 Ruby 1.9
    • RUBY future
    • Ruby 1.9.x IronRuby 1.8.7 JRuby MacRuby Rubinius 2.0
    • Ruby 1.9.x better perf 1.9.x better threading fibers official Ruby recommended
    • in RAILS 3 a l f n o t BENCHMARKS Ruby 1.8.6 REE 1.87 Ruby 1.9.1 -4% hello world 17% 50% -3% render -10% 55% -10% partial 3% 24% -12% 10 partials -2% 77% -6% collection of 10 6% 35% -12% 7% 25% 43% 62% 80% % faster than Ruby 1.8.7 http://github.com/mattetti/rails-simple-benches
    • u tu re ? Ruby 2.0 ¿ f scalability performance not maintenabilty started multiple VMs selector namespace method combination etc..
    • IronRuby .NET integration VisualStudio 201? 0.9.1 Silverlight IIS web server Microsoft
    • u tu re ? IronRuby ¿ f VisualStudio 201? better tools even better integration performance
    • JRuby java integration 1.4.0 RC1 native threads deployment JVM
    • u tu re ? JRuby ¿ f • java profiling/debugging tools • better integration (hibernate..) • .java file compilation • better integration (server, mobile etc..) • performance
    • MacRuby Cocoa integration AOT compilation 0.5 RC1 performance GCD Apple support & tools OSX platform
    • u tu re ? MacRuby ¿ f •iPhone •instrumentation •better dev tools •performance •standardized •linux d •any C libs a se b i
    • Rubinius ruby almost all the way 0.12 full introspection C extensions
    • u tu re ? Rubinius ¿ f •AOT compiler •very powerful debugger •real time profiler •performance
    • VOCÊ you