{"id":2225,"date":"2008-12-20T20:01:29","date_gmt":"2008-12-20T12:01:29","guid":{"rendered":"http:\/\/ihower.idv.tw\/blog\/?p=2225"},"modified":"2015-09-05T10:53:59","modified_gmt":"2015-09-05T02:53:59","slug":"ruby-advent-2008-%e6%91%98%e8%a6%81-%e4%b8%8a%e7%af%87","status":"publish","type":"post","link":"https:\/\/ihower.tw\/blog\/2225-ruby-advent-2008-%e6%91%98%e8%a6%81-%e4%b8%8a%e7%af%87","title":{"rendered":"Ruby Advent 2008 \u6458\u8981 (\u4e0a)"},"content":{"rendered":"<p><a href=\"http:\/\/advent2008.hackruby.com\/\">Ruby Advent 2008<\/a> \u5230\u8036\u8a95\u7bc0\u6709\u4e00\u7cfb\u5217\u7684 Ruby \u9023\u8f09\uff1a<\/p>\n<ol>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/1\/day_1_simple_blog_engine_for_ruby\/\">Simple Blog Engine in Ruby<\/a><br \/>\n\u4ecb\u7d39 <a href=\"http:\/\/github.com\/adamwiggins\/scanty\/\">Scanty<\/a> \u9019\u5957\u7531 <a href=\"http:\/\/sinatra.rubyforge.org\/\">Sinatra<\/a> \u505a\u7684 Blog \u7cfb\u7d71\n<\/li>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/2\/deploying_ruby_apps_with_passenger_\/\">Deploying Ruby Apps with Passenger<\/a><\/li>\n<p><a href=\"http:\/\/www.modrails.com\/\">Passenger<\/a> \u5176\u5be6\u4e0d\u53ea\u652f\u63f4 Rails\uff0c\u4efb\u4f55\u652f\u63f4 <a href=\"http:\/\/rack.rubyforge.org\/\">Rack<\/a> \u7684 web framework \u90fd\u53ef\u4ee5\u4f7f\u7528\u3002\n<\/li>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/3\/hoptoad_for_better_exception_notification\/\">Hoptoad for better Exception Notification<\/a>\n<p><a href=\"http:\/\/www.hoptoadapp.com\/\">Hoptoad<\/a> \u6211<a href=\"\/blog\/archives\/1773\">\u4e4b\u524d<\/a>\u6709\u4ecb\u7d39\u904e\uff0c\u662f <a href=\"http:\/\/www.thoughtbot.com\/\">ThoughtBot<\/a> \u51fa\u7684\u7db2\u8def\u670d\u52d9\uff0c\u7528\u4f86\u8ffd\u8e64 Rails \u7684 exception notifications\uff0c\u6700\u8fd1\u4e5f\u525b\u63a8\u51fa\u6536\u8cbb\u7248\u652f\u63f4 SSL\u3002\n<\/li>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/4\/cool_as_a_cucumber\/\">Cool as a Cucumber<\/a>\n<p><a href=\"http:\/\/github.com\/aslakhellesoy\/cucumber\/wikis\">Cucumber<\/a> \u662f\u4e00\u5957\u57fa\u65bc <a href=\"http:\/\/rspec.info\/\">Rspec<\/a> \u7684 Acceptance Testing Framework\u3002\u9019\u7a2e\u9a57\u6536\u6e2c\u8a66\u7684\u4f5c\u6cd5\u662f\u7528\u7d14\u6587\u5b57\u7684\u65b9\u5f0f\u628a\u898f\u683c\u6587\u4ef6(feature documentation)\u5beb\u51fa\u4f86\uff0c\u7136\u5f8c\u7528\u9019\u5957\u5de5\u5177\u4f86\u5beb\u4e00\u500b\u53ef\u4ee5\u57f7\u884c\u5b83(parse)\u5b83\u7684\u6e2c\u8a66\u7a0b\u5f0f\u3002\n<\/li>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/5\/machinist_for_your_test_data_factory_\/\">Machinist for your Test Data Factory<\/a>\n<p>\u56e0\u70ba fixtures \u5be6\u5728\u4e0d\u60f9\u4eba\u559c\u611b\uff0c\u6240\u4ee5\u6709\u4e9b\u4eba\u6539\u7528\u5de5\u5ee0\u6a5f\u5236\uff0c\u4f8b\u5982 <a href=\"http:\/\/www.thoughtbot.com\/projects\/factory_girl\">Factory Girl<\/a> \u9019\u5957 plugin \u53ef\u4ee5\u9810\u5148\u5b9a\u7fa9\u597d\u8cc7\u6599\u5f62\u5f0f\uff0c\u65b9\u4fbf\u96a8\u6642\u5efa\u7acb\u51fa\u6e2c\u8a66\u5047\u8cc7\u6599\u3002\u6211\u7684\u7d93\u9a57\u662f\u7a0b\u5f0f\u6703\u6f02\u4eae\u4e0d\u5c11\uff0c\u4f46\u4ee3\u50f9\u662f\u5982\u679c\u5047\u8cc7\u6599\u91cf\u5927\u7684\u8a71\uff0c\u57f7\u884c\u6703\u82b1\u4e0d\u5c11\u6642\u9593\u3002<\/p>\n<p>\u800c\u9019\u88e1\u4ecb\u7d39\u7684 <a href=\"http:\/\/github.com\/notahat\/machinist\/\">Machinist<\/a> \u4e5f\u662f\u6982\u5ff5\u985e\u4f3c\u7684\u4e00\u5957\u5be6\u4f5c\u54c1(\u7b97\u662f Factory girl \u7684\u91cd\u65b0\u767c\u660e)\u3002\n<\/li>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/6\/soa_with_merb\/\">SOA with Merb?<\/a>\n<p>\u8981\u505a REST calls \u76ee\u524d\u6709\u5e7e\u7a2e library \u53ef\u4ee5\u7528 Net::HTTP\u3001RestClient\u3001<a href=\"http:\/\/railstips.org\/2008\/7\/29\/it-s-an-httparty-and-everyone-is-invited \">HTTParty<\/a> \u548c ActiveResource\u3002\u5176\u4e2d Net::HTTP \u592a\u57fa\u672c\u4e86\uff0c\u800c ActiveReource \u592a\u80a5\u4e0d\u9069\u5408\u642d\u914d Merb\uff0c\u6240\u4ee5\u9019\u88e1\u63a8\u85a6\u7684\u662f <a href=\"http:\/\/github.com\/adamwiggins\/rest-client\/tree\/master\">RestClient<\/a>\u3002\n<\/li>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/7\/generating_real_fake_content\/\">Generating (Real) Fake Content<\/a>\n<p>\u958b\u767c\u7db2\u7ad9\u7684\u6642\u5019\uff0c\u5e38\u6709\u8981\u585e\u6eff\u4e00\u4e9b\u5047\u8cc7\u6599\u4f86 Demo \u7684\u9700\u6c42\uff0c\u9019\u88e1\u4ecb\u7d39\u4e86 <a href=\"http:\/\/faker.rubyforge.org\/\">Faker gem<\/a> \u53ef\u4ee5\u7522\u751f\u5047\u6587\u5b57\u3002\n<\/li>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/8\/a_simple_distributed_queue_in_ruby\/\">A Simple Distributed Queue in Ruby<\/a>\n<p>\u4f7f\u7528 DRb \u7528\u4e5d\u884c Ruby code \u5c31\u5be6\u4f5c\u51fa\u4e00\u500b Shared Queue\u3002\n<\/li>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/9\/git_it_done_rubyists\/\">Git it done, Rubyists<\/a>\n<p>\u4ecb\u7d39 Git \u8ddf\u4e00\u4e9b Ruby \u5de5\u5177\uff0c\u5c0d Git \u9084\u4e0d\u592a\u77e5\u9053\u7684\u670b\u53cb\u53ef\u4ee5\u770b\u770b Why Git is Better than X (\u6709<a href=\"http:\/\/zh-tw.whygitisbetterthanx.com\/\">\u4e2d\u6587\u7ffb\u8b6f<\/a>)\n<\/li>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/10\/listening_to_your_specs\/\">Listening to Your Specs<\/a>\n<p>\u9019\u7bc7\u9577\u6587\u883b\u6df1\u5165\u7684\u8b1b\u89e3 RSpec \u7684 BDD(Behavior-Driven Development) coding style\u3002\n<\/li>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/11\/thinking_out_of_the_box_with_enumerableinject\/\">Thinking out of the Box with Enumerable#inject<\/a>\n<p>\u706b\u529b\u5c55\u793a Ruby Enumerable#inject \u7684\u9032\u968e\u7528\u6cd5\uff0c\u96d6\u7136\u6211\u89ba\u5f97\u9084\u633a\u96e3\u61c2\u7684\u3002\n<\/li>\n<li><a href=\"http:\/\/advent2008.hackruby.com\/past\/2008\/12\/12\/meet_the_splat\/\">Meet the Splat<\/a>\n<p>\u4ecb\u7d39 Ruby splat operator (\u4e5f\u5c31\u662fasterisk *) \u7684\u7528\u6cd5\uff0c\u53ef\u4ee5\u5c07\u9663\u5217\u5c55\u958b\u6210\u53c3\u6578\u5217\u3002\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Ruby Advent 2008 \u5230\u8036\u8a95\u7bc0\u6709\u4e00\u7cfb\u5217\u7684 Ruby \u9023\u8f09\uff1a Simple Blog Engine  &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/ihower.tw\/blog\/2225-ruby-advent-2008-%e6%91%98%e8%a6%81-%e4%b8%8a%e7%af%87\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Ruby Advent 2008 \u6458\u8981 (\u4e0a)\u3009<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[31],"tags":[],"class_list":["post-2225","post","type-post","status-publish","format-standard","hentry","category-ruby","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1q6tG-zT","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ihower.tw\/blog\/wp-json\/wp\/v2\/posts\/2225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ihower.tw\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ihower.tw\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ihower.tw\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ihower.tw\/blog\/wp-json\/wp\/v2\/comments?post=2225"}],"version-history":[{"count":22,"href":"https:\/\/ihower.tw\/blog\/wp-json\/wp\/v2\/posts\/2225\/revisions"}],"predecessor-version":[{"id":8316,"href":"https:\/\/ihower.tw\/blog\/wp-json\/wp\/v2\/posts\/2225\/revisions\/8316"}],"wp:attachment":[{"href":"https:\/\/ihower.tw\/blog\/wp-json\/wp\/v2\/media?parent=2225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ihower.tw\/blog\/wp-json\/wp\/v2\/categories?post=2225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ihower.tw\/blog\/wp-json\/wp\/v2\/tags?post=2225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}