by shigemk2

当面は技術的なことしか書かない

DB設計の流れ

  1. エンティティの抽出
  2. エンティティの定義
  3. 正規化
  4. ER図の作成

実体をテーブルに落とし込む

達人に学ぶDB設計 徹底指南書 初級者で終わりたくないあなたへ

達人に学ぶDB設計 徹底指南書 初級者で終わりたくないあなたへ

POA/DOA

  • データ中心アプローチ(データ設計から始める方法)
  • プロセス中心アプローチ(プロセス設計から始める方法)

達人に学ぶDB設計 徹底指南書 初級者で終わりたくないあなたへ

達人に学ぶDB設計 徹底指南書 初級者で終わりたくないあなたへ

applyMiddleware

applyMiddlewareを使うことでdispatch関数をラップし、actionがreducerに到達する前にmiddlewareがキャッチできるようにする

applyMiddleware · Redux

qiita.com

import { createStore, applyMiddleware } from 'redux'
import todos from './reducers'

function logger({ getState }) {
  return (next) => (action) => {
    console.log('will dispatch', action)

    // Call the next dispatch method in the middleware chain.
    let returnValue = next(action)

    console.log('state after dispatch', getState())

    // This will likely be the action itself, unless
    // a middleware further in chain changed it.
    return returnValue
  }
}

let store = createStore(
  todos,
  [ 'Use Redux' ],
  applyMiddleware(logger)
)

store.dispatch({
  type: 'ADD_TODO',
  text: 'Understand the middleware'
})
// (These lines will be logged by the middleware:)
// will dispatch: { type: 'ADD_TODO', text: 'Understand the middleware' }
// state after dispatch: [ 'Use Redux', 'Understand the middleware' ]

webサービスの企画と設計 メモ

  • コンテンツ企画
  • ターゲットユーザーの明確化
  • サイトマップ作成
  • ワイヤーフレーム作絵師
  • ペーパープロトタイプ
  • 画面遷移図の作成
  • 要件定義

  • エクセルとかでディレクトリマップを作っておく

  • cacooでワイヤーフレームとか画面遷移図は作れる
  • prottとかでペーパープロトタイプは作れる

絵で見てわかるWebアプリ開発の仕組み

絵で見てわかるWebアプリ開発の仕組み

  • 作者: 松村慎,大久保洋介,武田智道,清水紘己,扇克至,里吉洋一,本末英樹
  • 出版社/メーカー: 翔泳社
  • 発売日: 2015/08/18
  • メディア: 単行本(ソフトカバー)
  • この商品を含むブログを見る