Life on the Edge
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Life on the Edge

on

  • 1,585 views

 

Statistics

Views

Total Views
1,585
Views on SlideShare
1,315
Embed Views
270

Actions

Likes
1
Downloads
0
Comments
0

10 Embeds 270

https://www.seikyusho.jp 141
http://codenote.net 99
http://0.0.0.0 11
http://coderwall.com 5
http://seikyusho-staging.heroku.com 4
http://cache.yahoofs.jp 2
http://webcache.googleusercontent.com 2
http://www.twylah.com 2
http://www.twylah.com 2
http://localhost:3000 2
More...

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

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
  • \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

Life on the Edge Presentation 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