ホーム > 未分類 > Ruby会議2009 1日目

Ruby会議2009 1日目

去年に続き、今年もRuby会議に参加しています。参加したセッションで気になったことなどをメモ。

Scott Chacon氏「Using Git and GitHub to Develop One Million Times Faster」

gitいいよ、どんどん使って。という話

  • オフラインな状況でも使える
  • ローカルに対する操作だから速い
  • ブランチ、マージが楽
  • githubとか探せばプロジェクトもいっぱいある

というような話だったように思う。英語自信なし。

いくつかプロジェクトをgithubでwatchしてはいるものの、自分ではまだほとんど使っていません。ちょっと使ってみようと思います。

高井 直人氏「『エンタープライズRails』に学ぶ企業ユーザのためのRails活用の極意」

ご自身が監訳された書籍を紹介しつつ、その内容について講演。「きっと業務に対してrubyをどう適用したらいい結果がでるか、常日頃考えているんだろうな」という印象を受けました。こういう方、尊敬しちゃいますね。

  • 企業にとって最も重要な資産は「データ」
  • データ中心アプローチのメリットを整理
  • RailsにおけるDOAとの類似、相違を整理
    • 類似: モデル中心、CRUD分析重視
    • 相違: データモデルを重視しない、業務ルールはアプリケーション層のみで実現

くらいを導入として話された後、書籍の内容をいくつか紹介

  • データベースの制約をうまく使ってデータを保護しよう
    • NOT NULLだけでなく、チェック制約、外部キー制約など
    • モデルのバリデーションはあくまでユーザー向け
    • マイグレーションではexecuteでテーブル定義
  • 複合主キーを使う
    • 複合主キーだと、無駄なSQLを回避できるなどメリットもあるよね
    • composite_primary_keysプラグイン使って
  • データベースビューを利用する
    • 多数のJOINが必要な場合などは、ビューを定義してそれを参照するARを用意するとシンプルになるよ

セッション後は会場内の書籍売り場が、購入希望者でいっぱいでした。

Yehuda Katz氏「From Rails to Rack: Making Rails 3 a Better Ruby Citizen」

このセッションの英語はあんまり理解できなかった…。だいぶ雰囲気。

Rails3では各種コンポーネントへの密結合を解消し、rubyの色んな資産と協調していくよ、という話。たぶん。
そのためにAPIを定義しなおし、インターフェイスさえ揃えれば他のコンポーネントを利用できるようするみたい。具体的にコードを交えて説明してくださいました。

ActiveSupport::Concernのdepends_onメソッドが気になりますね。AOPっぽいことをスマートに表現してる印象。ちょっと違う?

明日も朝から参加なのでいいかげん寝ます。

カテゴリー: 未分類 タグ: ,
  1. 2020 年 3 月 24 日 18:04 | #1

    Hi therе terrific webѕite! Does running a blog such as
    this require a massive amount work? I’ve virtually no knowledge of computer programming however I
    was hoping tо start my own blog in the near futսre. Anyhow, if you have any ideas or tips for new blog owners please share.
    I understand this is off subјect neverthelеss I simply needed to aѕk.
    Cheers!

  2. 2020 年 3 月 24 日 20:05 | #2

    It definitely felt like an ode to the Marine Corps.

  3. 2020 年 3 月 24 日 21:41 | #3

    Nice and easy to read article about security token https://icoreign.com/security-token-exchanges/

  4. 2020 年 3 月 25 日 01:19 | #4

    You should take part in a contest for one of the most useful websites on the web. I am going to recommend this web site!

  5. 2020 年 3 月 25 日 07:31 | #5

    There is definately a great deal to find out about this issue. I like all the points you’ve made.

  6. 2020 年 3 月 25 日 16:02 | #6

    Saved as a favorite, I like your blog.

  7. 2020 年 3 月 25 日 22:38 | #7

    Next time I read a blog, I hope that it does not disappoint me as much as this particular one. After all, I know it was my choice to read, however I really thought you’d have something interesting to say. All I hear is a bunch of complaining about something that you could fix if you were not too busy looking for attention.

  8. 2020 年 3 月 26 日 06:10 | #8

    I could not refrain from commenting. Well written.

  9. 2020 年 3 月 26 日 08:50 | #9

    I’d like to thank you for the efforts you have put in penning this website. I really hope to view the same high-grade blog posts from you later on as well. In truth, your creative writing abilities has inspired me to get my very own website now ;)

  10. 2020 年 3 月 26 日 22:54 | #10

    I truly love your blog.. Excellent colors & theme. Did you build this website yourself? Please reply back as I’m attempting to create my own personal blog and want to find out where you got this from or exactly what the theme is named. Appreciate it.

  11. 2020 年 3 月 26 日 23:54 | #11

    Pretty! This was a really wonderful post. Thank you for supplying this info.

  12. 2020 年 3 月 27 日 02:04 | #12

    Sapid Agency is a Search Engine Optimization company in New York City that provides SEO Services. Their proprietary SEO strategies help struggling websites and aspiring business owners to rank their websites higher in multiple search engines like Google , Yahoo and Bing. They provide local and gmb map ranking for businesses in NYC and many other local areas. Find more at https://www.sapidagency.com/ @ 145 E 57TH NEW YORK, NY 10022, USA, +1 971 341 5608 USA

  13. 2020 年 3 月 27 日 02:31 | #13

    When I initially commented I seem to have clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I recieve four emails with the same comment. There has to be an easy method you can remove me from that service? Thanks a lot.

  14. 2020 年 3 月 27 日 05:43 | #14

    Everything is very open with a precise clarification of the issues. It was definitely informative. Your site is very useful. Thank you for sharing!

  15. 2020 年 3 月 27 日 08:12 | #15

    Great info. Lucky me I came across your website by chance (stumbleupon). I have saved as a favorite for later.

  16. 2020 年 3 月 27 日 10:47 | #16

    Saved as a favorite, I like your web site!

  17. 2020 年 3 月 27 日 12:58 | #17

    Sapid Agency is a Search Engine Optimization company in New York City that provides SEO Services. Their proprietary SEO strategies help struggling websites and aspiring business owners to rank their websites higher in multiple search engines like Google , Yahoo and Bing. They provide local and gmb map ranking for businesses in NYC and many other local areas. Find more at https://www.sapidagency.com/ @ 145 E 57TH NEW YORK, NY 10022, USA, +1 971 341 5608 USA

  18. 2020 年 3 月 27 日 13:50 | #18

    Good post! We will be linking to this great content on our site. Keep up the good writing.

  19. 2020 年 3 月 27 日 16:59 | #19

    I seriously love your website.. Pleasant colors & theme. Did you create this website yourself? Please reply back as I’m wanting to create my own personal site and would love to know where you got this from or just what the theme is named. Kudos.

  20. 2020 年 3 月 28 日 09:51 | #20

    This web site is really a walk-through for all of the details you wanted about this and didn?t know that to ask. Glance right here, as well as you?ll certainly find it.

  21. 2020 年 3 月 28 日 19:34 | #21

    Everything is very open with a very clear clarification of the issues. It was definitely informative. Your website is extremely helpful. Many thanks for sharing!

  22. 2020 年 3 月 28 日 21:50 | #22

    It’s difficult to find experienced people on this subject, however, you sound like you know what you’re talking about! Thanks

  23. 2020 年 3 月 28 日 23:45 | #23

    I couldn’t refrain from commenting. Very well written.

  24. 2020 年 3 月 29 日 03:13 | #24

    Oh my goodness! Impressive article dude! Thanks, However I am experiencing troubles with your RSS. I don’t understand the reason why I am unable to subscribe to it. Is there anyone else getting similar RSS problems? Anybody who knows the solution will you kindly respond? Thanx!!

  25. 2020 年 3 月 29 日 12:36 | #25

    An outstanding share! I’ve just forwarded this onto a coworker who was conducting a little research on this. And he actually ordered me lunch because I discovered it for him… lol. So allow me to reword this…. Thank YOU for the meal!! But yeah, thanx for spending time to talk about this issue here on your web page.

  26. 2020 年 3 月 30 日 00:17 | #26

    I?d need to talk to you here. Which is not something I typically do! I enjoy reading an article that will certainly make individuals assume. Additionally, thanks for enabling me to comment!

  27. 2020 年 3 月 30 日 09:19 | #27

    Howdy! I could have sworn I’ve visited this site before but after looking at some of the posts I realized it’s new to me. Regardless, I’m definitely delighted I discovered it and I’ll be bookmarking it and checking back frequently.

  28. 2020 年 3 月 31 日 04:08 | #28

    Hi, I do think this is a great blog. I stumbledupon it ;) I will come back yet again since i have book marked it. Money and freedom is the greatest way to change, may you be rich and continue to help other people.

  29. 2020 年 4 月 1 日 11:38 | #29

    real representative [url=https://amstyles.com/#]ventolin inhaler without an rx[/url] fresh program automatically food generic
    albuterol inhaler for sale nearby spot ventolin inhaler without an rx initially writing https://amstyles.com/

  30. 2020 年 4 月 2 日 06:08 | #30

    Greetings! Very useful advice in this particular post! It is the little changes which will make the greatest changes. Thanks for sharing!

  31. 2020 年 4 月 2 日 13:39 | #31

    Your style is so unique in comparison to other people I have read stuff from. Many thanks for posting when you have the opportunity, Guess I’ll just book mark this blog.

コメントページ
1 2 186
  1. トラックバックはまだありません。