0
What's new in Rails 3.1 [email_address]
Currently RC4, to be released soon Aaron Patterson Core team, in rc4 info Rails 3.1.0.rc4 has been released!
In a nutshell <ul><ul><li>Asset Pipeline </li></ul></ul><ul><ul><li>HTTP streaming </li></ul></ul><ul><ul><li>JQuery by de...
In a nutshell <ul><ul><li>Rack::Cache on by default </li></ul></ul><ul><ul><li>Turn test-output on Ruby 1.9 </li></ul></ul...
Assets pipeline <ul><ul><li>Powered by  Sprockets 2.0 </li></ul></ul><ul><li>Why use Sprockets? </li></ul><ul><ul><li>Extr...
Assets pipeline <ul><ul><li>Enables proper organization, including use in plugins and engines </li></ul></ul>
Assets pipeline Js plugin example plugins/color_picker/assets/images/color_picker/arrow.png plugins/color_picker/assets/im...
Assets pipeline Compiling to one application.js //= require jquery //= require jquery_ujs //= require_tree . //= require '...
Assets pipeline “ CoffeeScript is well done and  more convenient to use than JavaScript ” - Brendan Eich, inventor of Java...
Assets pipeline CoffeeScript <ul><ul><li>Ruby-like syntax </li></ul></ul><ul><ul><li>Doesn't deprecate JavaScript code </l...
Assets pipeline CoffeeScript
Assets pipeline CoffeeScript http://asciicasts.com/episodes/267-coffeescript-basics
Assets pipeline SASS <ul><ul><li>Nesting </li></ul></ul><ul><ul><li>Variables </li></ul></ul><ul><ul><li>Mixins </li></ul>...
Reversible migrations <ul><li>  </li></ul>
Basic Auth
 
Upcoming SlideShare
Loading in...5
×

Rails 3.1 sneak peak

997

Published on

Sneak peak of Rails 3.1 new features

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
997
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Rails 3.1 sneak peak"

  1. 1. What's new in Rails 3.1 [email_address]
  2. 2. Currently RC4, to be released soon Aaron Patterson Core team, in rc4 info Rails 3.1.0.rc4 has been released!
  3. 3. In a nutshell <ul><ul><li>Asset Pipeline </li></ul></ul><ul><ul><li>HTTP streaming </li></ul></ul><ul><ul><li>JQuery by default </li></ul></ul><ul><ul><li>Reversible migrations </li></ul></ul><ul><ul><li>Mountable engines </li></ul></ul><ul><ul><li>Prepared statements </li></ul></ul>
  4. 4. In a nutshell <ul><ul><li>Rack::Cache on by default </li></ul></ul><ul><ul><li>Turn test-output on Ruby 1.9 </li></ul></ul><ul><ul><li>Force SSL </li></ul></ul><ul><ul><li>Role-based mass-assignment protection </li></ul></ul><ul><ul><li>BCrypt-based passwords </li></ul></ul><ul><ul><li>Custom serializers </li></ul></ul>There's always changelog
  5. 5. Assets pipeline <ul><ul><li>Powered by Sprockets 2.0 </li></ul></ul><ul><li>Why use Sprockets? </li></ul><ul><ul><li>Extract reusable code and share it across multiple web sites or applications.  </li></ul></ul><ul><ul><li>Speed up your site by automatically concatenating JavaScript into a single file for production.  </li></ul></ul><ul><ul><li>Organize your JavaScript source code into multiple commented files and directories. </li></ul></ul><ul><ul><li>Use bleeding-edge framework and library code in your application.  </li></ul></ul><ul><ul><li>Sprockets is compatible with the PDoc JavaScript documentation system and the JavaScript framework of your choice. </li></ul></ul>
  6. 6. Assets pipeline <ul><ul><li>Enables proper organization, including use in plugins and engines </li></ul></ul>
  7. 7. Assets pipeline Js plugin example plugins/color_picker/assets/images/color_picker/arrow.png plugins/color_picker/assets/images/color_picker/circle.png plugins/color_picker/assets/images/color_picker/hue.png plugins/color_picker/assets/images/color_picker/saturation_and_brightness.png plugins/color_picker/assets/stylesheets/color_picker.css plugins/color_picker/src/color.js plugins/color_picker/src/color_picker.js color_picker.js: //= require &quot;color&quot; //= provide &quot;../assets&quot; When <color_picker> is required in your application, its provide directive will tell Sprockets that all files in the plugins/color_picker/assets/ directory should be copied into the web server's document root.
  8. 8. Assets pipeline Compiling to one application.js //= require jquery //= require jquery_ujs //= require_tree . //= require 'independent_file' //= require 'super_lib'
  9. 9. Assets pipeline “ CoffeeScript is well done and  more convenient to use than JavaScript ” - Brendan Eich, inventor of JavaScript
  10. 10. Assets pipeline CoffeeScript <ul><ul><li>Ruby-like syntax </li></ul></ul><ul><ul><li>Doesn't deprecate JavaScript code </li></ul></ul><ul><ul><li>OOP made easy (extends, etc) </li></ul></ul><ul><ul><li>Arrays with slicing and generators </li></ul></ul><ul><ul><li>Strings with interpolation and multi-line </li></ul></ul>
  11. 11. Assets pipeline CoffeeScript
  12. 12. Assets pipeline CoffeeScript http://asciicasts.com/episodes/267-coffeescript-basics
  13. 13. Assets pipeline SASS <ul><ul><li>Nesting </li></ul></ul><ul><ul><li>Variables </li></ul></ul><ul><ul><li>Mixins </li></ul></ul>
  14. 14. Reversible migrations <ul><li>  </li></ul>
  15. 15. Basic Auth
  16. 16.  
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×