Skip to content

Instantly share code, notes, and snippets.

@TAKAyukiatkwsk
Created August 4, 2013 09:46
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save TAKAyukiatkwsk/6149901 to your computer and use it in GitHub Desktop.

jsCafe12 メモ

node.js

  • チャットを作る
  • 今日の資料 yosuke-furukawa/node_study
  • app.jsで設定など行う
  • require でファイル読み込む
  • app.get() などでルーティングできる
  • jade というテンプレートエンジンがある
  • socket.io 便利

less

  • CSS preprocesser は変数や関数、mix-in などプログラム的な要素が使えるので再利用性が高まってよい
  • maintainability については、lessファイル自体のメンテナンスに当てはまる。
  • 生成されたCSSファイルについてはコードが膨大になったりして、CSSファイル自体のメンテナンスは逆に複雑になる可能性が高い。
  • CodeKit は激しくオススメらしい
  • ()をつけるとmix-inとして扱われるのでCSSには吐き出されない
  • 計算式がかけるので便利
  • JavaScript の evaluation ができる

TODO

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