Elixir/Phoenixでウェブサービスを作っている14

Done:

  • サーバ
    • PUT /goals/:id
      • check_descendants!
        • 自分の子孫に移動しないように確認
      • descendants
      • self_and_descendants
    • DELETE /goals/:id

Todo:

  • サーバ
    • Goal
      • child_ids
      • sibling_ids
      • ancestor_ids
      • descendant_ids
    • POST /goals/:id/copy?to_id=:to_id&to_position=:to_position
      • copy
    • ユーザー権限チェックを入れる
    • ルートガードを入れる
  • ブラウザ
    • 兄弟を展開する
    • 子を展開する
    • 先祖を展開する
    • 上下移動
    • 右移動
    • 左移動
    • new/create
    • edit/update
    • delete
    • copy/cut/paste
    • キャッシュ
  • /goals/:idを/goals/:hash_digestにする
  • User.nickにunique属性つける
  • check_descendants!でArgumentErrorにしてるところを独自例外に変える

SQLアンチパターン

SQLアンチパターン

Programming Phoenix: Productive; Reliable; Fast

Programming Phoenix: Productive; Reliable; Fast