タグ

2013年2月5日のブックマーク (3件)

  • Rails Routing from the Outside In — Ruby on Rails Guides

    This guide covers the user-facing features of Rails routing. After reading this guide, you will know: How to interpret the code in config/routes.rb. How to construct your own routes, using either the preferred resourceful style or the match method. How to declare route parameters, which are passed onto controller actions. How to automatically create paths and URLs using route helpers. Advanced tec

    Rails Routing from the Outside In — Ruby on Rails Guides
    Kwappa
    Kwappa 2013/02/05
  • SQLアンチパターン

    書はDB設計やSQL記述の際に避けるべき事柄を1章で1つ、25個紹介する書籍です。リレーショナルデータベースを中心に据えたシステム開発には、様々な場面で陥りやすい失敗(アンチパターン)があります。書はデータベース論理設計、データベース物理設計、クエリの記述、アプリケーション開発という4つのカテゴリに分け、それぞれの分野におけるアンチパターンを紹介し、失敗を避けるためのより良い方法を紹介します。複数の値を持つ属性や再帰的なツリー構造の格納から、小数値の丸めやNULLの扱いに起因する問題、全文検索やSQLインジェクション、MVCアーキテクチャなど、実践的かつ幅広いトピックを網羅します。日語版では、MySQLのエキスパートとして著名な奥野幹也氏によるアンチパターンを収録。データベースに関わるすべてのエンジニア必携の一冊です。 書への称賛の声 監訳者まえがき はじめに I部 データベース論

    SQLアンチパターン
    Kwappa
    Kwappa 2013/02/05
    Ebook版を「同意して支払う」しました #asakusarb
  • Rails3 routes.rb まとめ | akkunchoi@github

    はじめに ルーティングとは シンプルな例 デバッグ Resource Routing 生成されるルート 基 idを伴わない場合 Namespace - path and controller prefix Scope - controller prefix Scope - path prefix Nested Resources - has_manyな場合に member, collection - 追加のアクション collection と match Non-Resourceful Routes Dynamic Static query strings Defaults Naming - matchでも名前を付ける Constraints (HTTP verb) - HTTPメソッドで制約する Constraints (parameter) - パラメータを制約する Constrai

    Kwappa
    Kwappa 2013/02/05
    着席しました。これを読みます。 #asakusarb