0
Life on the Edgehttp://www.flickr.com/photos/stuckincustoms/3376506512/                                                    ...
2006               @pwimJA Meetup #1
20062008               @pwimJA Meetup #1
200620082009           Heroku                    @pwimJA Meetup #1
200620082009            Heroku2010           Tokyo Rubyist Meetup                      @pwimJA Meetup #1
WEB               @pwimJA Meetup #1
20           LT   …                    @pwimJA Meetup #1
@pwimJA Meetup #1
1 dyno                        @pwimJA Meetup #1
1 dyno                        @pwimJA Meetup #1
@pwimJA Meetup #1
CoffeeScript vs. JavaScriptfill = (container, liquid = "coffee") ->  "Filling the #{container} with #{liquid}..."         ...
CoffeeScript vs. JavaScriptfill = (container, liquid = "coffee") ->  "Filling the #{container} with #{liquid}..."var fill;...
Sass Vs. Css  $margin: 16px  .border    padding: $margin / 2    margin: $margin / 2  table.hl    margin: 2em 0    td.ln   ...
Sass Vs. Css  $margin: 16px                .border {                                 padding: 8px;  .border               ...
•               @pwimJA Meetup #1
•        •               @pwimJA Meetup #1
•        •        •               @pwimJA Meetup #1
Java                  @pwimJA Meetup #1
Too               Java               UGLY!                  @pwimJA Meetup #1
rake assets:precompile                      @pwimJA Meetup #1
Doesn’t   rake assets:precompile                Work                      @pwimJA Meetup #1
Rails 3.0               @pwimJA Meetup #1
Rails 3.0               Let’s                Try                @pwimJA Meetup #1
Gemfile  gem rails, 3.0.7  gem sass  gem barista  group :production do    gem therubyracer, "~> 0.9.0beta7"  end           ...
config/initializers/barista_config.rb  Barista.configure do |c|    c.output_root = Rails.root.join(      "tmp", "coffeescrip...
config/initializers/sass.rb  Sass::Plugin.options[:template_location] =    app/stylesheets  Sass::Plugin.options[:css_locat...
• css/js• Rails cache-busting strategy   :  application.css?1323295                      @pwimJA Meetup #1
Gemfile  gem rails, 3.1.0.rc4  gem sprockets, = 2.0.0.beta.10  gem sass-rails, "~> 3.1.0.rc"  gem coffee-script  gem uglifi...
config/application.rb           config.assets.enabled = true                    @pwimJA Meetup #1
config/environments/production.rb  config.assets.compress = true  config.assets.js_compressor = :uglifier                  ...
Rails 3.1• New Relic• Dalli (memcache gem)         session  store               @pwimJA Meetup #1
Further Information• http://www.mobalean.com/blog/2011/06/29/  using-the-asset-pipeline-under-rails-3-1• http://www.tokyor...
Upcoming SlideShare
Loading in...5
×

Life on the Edge

1,337

Published on

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

No Downloads
Views
Total Views
1,337
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript of "Life on the Edge"

    1. 1. Life on the Edgehttp://www.flickr.com/photos/stuckincustoms/3376506512/ @pwim JA Meetup #1
    2. 2. 2006 @pwimJA Meetup #1
    3. 3. 20062008 @pwimJA Meetup #1
    4. 4. 200620082009 Heroku @pwimJA Meetup #1
    5. 5. 200620082009 Heroku2010 Tokyo Rubyist Meetup @pwimJA Meetup #1
    6. 6. WEB @pwimJA Meetup #1
    7. 7. 20 LT … @pwimJA Meetup #1
    8. 8. @pwimJA Meetup #1
    9. 9. 1 dyno @pwimJA Meetup #1
    10. 10. 1 dyno @pwimJA Meetup #1
    11. 11. @pwimJA Meetup #1
    12. 12. CoffeeScript vs. JavaScriptfill = (container, liquid = "coffee") -> "Filling the #{container} with #{liquid}..." @pwim JA Meetup #1
    13. 13. CoffeeScript vs. JavaScriptfill = (container, liquid = "coffee") -> "Filling the #{container} with #{liquid}..."var fill;fill = function(container, liquid) { if (liquid == null) { liquid = "coffee"; } return "Filling the " + container + " with " + liquid + "...";}; @pwim JA Meetup #1
    14. 14. Sass Vs. Css $margin: 16px .border padding: $margin / 2 margin: $margin / 2 table.hl margin: 2em 0 td.ln text-align: right @pwimJA Meetup #1
    15. 15. Sass Vs. Css $margin: 16px .border { padding: 8px; .border margin: 8px; padding: $margin / 2 } margin: $margin / 2 table.hl { table.hl margin: 2em 0; margin: 2em 0 } td.ln text-align: right table.hl td.ln { text-align: right; } @pwimJA Meetup #1
    16. 16. • @pwimJA Meetup #1
    17. 17. • • @pwimJA Meetup #1
    18. 18. • • • @pwimJA Meetup #1
    19. 19. Java @pwimJA Meetup #1
    20. 20. Too Java UGLY! @pwimJA Meetup #1
    21. 21. rake assets:precompile @pwimJA Meetup #1
    22. 22. Doesn’t rake assets:precompile Work @pwimJA Meetup #1
    23. 23. Rails 3.0 @pwimJA Meetup #1
    24. 24. Rails 3.0 Let’s Try @pwimJA Meetup #1
    25. 25. Gemfile gem rails, 3.0.7 gem sass gem barista group :production do gem therubyracer, "~> 0.9.0beta7" end @pwimJA Meetup #1
    26. 26. config/initializers/barista_config.rb Barista.configure do |c| c.output_root = Rails.root.join( "tmp", "coffeescripts") end @pwimJA Meetup #1
    27. 27. config/initializers/sass.rb Sass::Plugin.options[:template_location] = app/stylesheets Sass::Plugin.options[:css_location] = tmp/stylesheets Rails.configuration.middleware.delete( Sass::Plugin::Rack) Rails.configuration.middleware.insert_before( Rack::Sendfile, Sass::Plugin::Rack) Rails.configuration.middleware.insert_before( Rack::Sendfile, Rack::Static, :urls => [/stylesheets], :root => "#{Rails.root}/tmp") @pwimJA Meetup #1
    28. 28. • css/js• Rails cache-busting strategy : application.css?1323295 @pwimJA Meetup #1
    29. 29. Gemfile gem rails, 3.1.0.rc4 gem sprockets, = 2.0.0.beta.10 gem sass-rails, "~> 3.1.0.rc" gem coffee-script gem uglifier group :production do gem therubyracer, "~> 0.9.1" end @pwimJA Meetup #1
    30. 30. config/application.rb config.assets.enabled = true @pwimJA Meetup #1
    31. 31. config/environments/production.rb config.assets.compress = true config.assets.js_compressor = :uglifier @pwimJA Meetup #1
    32. 32. Rails 3.1• New Relic• Dalli (memcache gem) session store @pwimJA Meetup #1
    33. 33. Further Information• http://www.mobalean.com/blog/2011/06/29/ using-the-asset-pipeline-under-rails-3-1• http://www.tokyorubyistmeetup.org/ 7 13 @pwimJA Meetup #1
    1. A particular slide catching your eye?

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

    ×