Skip to content

Instantly share code, notes, and snippets.

@japboy
Last active December 17, 2015 17:48
Show Gist options
  • Save japboy/5648086 to your computer and use it in GitHub Desktop.
Save japboy/5648086 to your computer and use it in GitHub Desktop.

Frontrend 05

Flash Toolkit for CreateJS

  • @tomowaqs

Functional JavaScript with Lo-Dash.js

  • @1000ch

  • 1000ch.net

  • OOP & FP

  • Underscore.js & Lo-Dash.js

  • Conclusion

関数型とは...

  • Haskell Clojure Scala
  • JavaScript?

OOP の問題点

  • オブジェクト同士の関係が蜜になりがち
  • 保守性の維持がむずかしくなる

Functional なアプローチ

  • 引数が同じであれば出力も同じである
  • はたす役割が簡潔で分割されていること

Underscore.js & Lo-Dash.js

  • Lo-Dash.js のパフォーマンス検証
_.each()
_.pluck()
_.compose()
  • underscore-contrib
_.pipeline()

"Object-oriented with Functional"

  • データの抽象化は OOP が必要

Amebaプラットフォームの作り方

  • @herablog

  • chikuwa.js

  • Component

  • node.js

結果

Frontrend Vol.5 powered by CyberAgent, Inc. アンケートご協力ありがとうございました。 スライドダウンロードはこちらから。

https://dl.dropboxusercontent.com/u/356242/frontrend/kosaka.pdf https://dl.dropboxusercontent.com/u/356242/frontrend/sensui.pdf https://dl.dropboxusercontent.com/u/356242/frontrend/hara.pdf

なるべくお早めにダウンロードよろしくお願いします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment