Your SlideShare is downloading. ×
0
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Life on the Edge
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Life on the Edge

1,331

Published on

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

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

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
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

    • 1. Life on the Edgehttp://www.flickr.com/photos/stuckincustoms/3376506512/ @pwim JA Meetup #1
    • 2. 2006 @pwimJA Meetup #1
    • 3. 20062008 @pwimJA Meetup #1
    • 4. 200620082009 Heroku @pwimJA Meetup #1
    • 5. 200620082009 Heroku2010 Tokyo Rubyist Meetup @pwimJA Meetup #1
    • 6. WEB @pwimJA Meetup #1
    • 7. 20 LT … @pwimJA Meetup #1
    • 8. @pwimJA Meetup #1
    • 9. 1 dyno @pwimJA Meetup #1
    • 10. 1 dyno @pwimJA Meetup #1
    • 11. @pwimJA Meetup #1
    • 12. CoffeeScript vs. JavaScriptfill = (container, liquid = "coffee") -> "Filling the #{container} with #{liquid}..." @pwim JA Meetup #1
    • 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. 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. 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. • @pwimJA Meetup #1
    • 17. • • @pwimJA Meetup #1
    • 18. • • • @pwimJA Meetup #1
    • 19. Java @pwimJA Meetup #1
    • 20. Too Java UGLY! @pwimJA Meetup #1
    • 21. rake assets:precompile @pwimJA Meetup #1
    • 22. Doesn’t rake assets:precompile Work @pwimJA Meetup #1
    • 23. Rails 3.0 @pwimJA Meetup #1
    • 24. Rails 3.0 Let’s Try @pwimJA Meetup #1
    • 25. Gemfile gem rails, 3.0.7 gem sass gem barista group :production do gem therubyracer, "~> 0.9.0beta7" end @pwimJA Meetup #1
    • 26. config/initializers/barista_config.rb Barista.configure do |c| c.output_root = Rails.root.join( "tmp", "coffeescripts") end @pwimJA Meetup #1
    • 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. • css/js• Rails cache-busting strategy : application.css?1323295 @pwimJA Meetup #1
    • 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. config/application.rb config.assets.enabled = true @pwimJA Meetup #1
    • 31. config/environments/production.rb config.assets.compress = true config.assets.js_compressor = :uglifier @pwimJA Meetup #1
    • 32. Rails 3.1• New Relic• Dalli (memcache gem) session store @pwimJA Meetup #1
    • 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

    ×