再见侏罗纪.S01.e02.CoffeeScript
Upcoming SlideShare
Loading in...5
×
 

再见侏罗纪.S01.e02.CoffeeScript

on

  • 429 views

 

Statistics

Views

Total Views
429
Views on SlideShare
429
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

再见侏罗纪.S01.e02.CoffeeScript 再见侏罗纪.S01.e02.CoffeeScript Presentation Transcript

  • S01E02CoffeeScript写更少的代码,做更多的事云谦, 20120802chenchengpro @ weibo & twitter TMB 剧组出品
  • Coffee 初印象• Coffee 是⼀一⻔门 JavaScript 预编译语⾔言• Coffee 仅仅是 JavaScript• Coffee 是 JavaScript 的精华部分
  • It’s Just JavaScriptKISSY.ready(function(S) { S.all(“body”).html(“hello world”);}); View slide
  • It’s Just JavaScriptKISSY.ready (S) -> S.all(“body”).html “hello world” View slide
  • Coffee 初印象• Coffee 是⼀一⻔门 JavaScript 预编译语⾔言• Coffee 仅仅是 JavaScript• Coffee 是 JavaScript 的精华部分
  • • 环境• DEMO• 感受
  • 安装NodeJS:http://nodejs.org/brew install nodejs (mac)Coffee:npm install -g coffee-script
  • 编译命令⾏行:coffee -c test.coffeecoffee -wc test.coffee⼯工具:cafe, gruntcodekit, livereload, ...
  • DEMO
  • 感受• 写更少的代码,做更多的事• 兼容• 性能• 调试• 协作• 缺点
  • 预告• S01E03 —— Sass, Less 等 CSS 预编译语⾔言 的介绍及如何选择• S01E04 —— NodeJS 全堆栈实践• S01E05 —— Jasmine ⾼高级⽤用法• S01E06 —— Coffee + Jade + Sass,淘宝⾸首 ⻚页改版实践• ...
  • Thanks!