20140422-창업국가 이스라엘-유채원-창업국가에서 무엇을 할 수 있을까
우리가 모르는 노드로 할 수 있는...
description
Transcript of 우리가 모르는 노드로 할 수 있는...
우리가 모르는Node.js로할 수 있는 몇가지개발자의 생각을 바꾸는 Node.js 이야기BaaS 기술팀 | 김양원
1
자바스크립트과거
현재
미래
트위터에서 대부분 들을 수 있는 이야기라서 그다지 신선하지 않았다.“트위터에서 대부분 들을 수 있는 이야기라서 그다지 신선하지 않았다.
트윗을 줄이고 아무도 모르게신선하도록
@rhiokim
Non-Blocking I/O, Asynchronous Programing
Ruby == Node <= Python > Scala
Performance, 10k Concurrency Problem
Server and Client
Scale-up & Scale-out
Real-time Networking Program
http://500px.com/photo/5599221
#locally###언제 어디서든지 로컬 웹 서버
python -m SimpleHTTPServer
node-optimist
•node.js library
•option parsinghello.js --opt world
https://github.com/substack/node-optimist
connect
•middleware framework
•18 Bundled middlewarelogger, compress, basicAuth, bodyParser, session, cookieSession, staticCache, vhost, query, errorHandler ....
•3rd-party middleware
http://www.senchalabs.org/connect/
npm install -g locally
jQuery Mobile
Sencha Touch
c:\sencha> locally ¶
c:\jqmobi> locally -p 8081 ¶
http://localhost
http://localhost:8081
Usage: locally [options]
Options:
-h, --help output usage information -V, --version output the version number -s, --static <directory> directory for serving static files -w, --public <directory> directory for serving public files -d, --debug debug mode -p, --port <port> public port -f, --file <configuration> set configuration file
Baas.io Dashboardby Baas team & FI
Anywhere locally
http://haroopress.com
Static page Blog engineby rhio.kim
OctopressGithub Pages
GET ~/posts/1
GET ~/posts/1.html
http://daringfireball.net/projects/markdown/John Gruber
#Dear FriendsIt’s **very important**
## Please! check this* Item1- subItem1- subItem2
## References* [link](http://haroopress.com)
# 마크다운을 예쁘게 표현하리라!
모듈
모듈
robotskirt
locally모듈 모듈 모듈
모듈 모듈
twitter bootstrap
모듈
모듈
모듈
사용된 노드 모듈 정보는 H3 책을 참고해주세요.
node.jsharoopress
ejs모듈
모듈 모듈
모듈
모듈
모듈모듈
core only 1000 line
robotskirt
•sundown wrapper
•markdown to HTML
•multi-markdown
• npm install robotskirt
http://embeddedjs.com/
<% ejs %>
•embedded JavaScript
•client side template
• layout or partial
http://twitter.github.com/bootstrap/
Twitter Bootstrap
Markdown
+modules
node.jsharoopress
HTML5 + CSS3twitter bootstrap
locallyBlog
Markdown
+modules
node.jsharoopress
HTML5 + CSS3shower
locallyBlog
Web Presentation with haroopressby rhio.kim
arduino###자바스크립트로 로봇 성형수술
arduino
BeagleBone Raspberry Pi
https://github.com/ecto/duino
npm install duino
https://github.com/ecto/duino
Pin13 = new Arduino.Led({ ..., pin: 13 });
https://github.com/ecto/duino
Pin13.on();Pin13.off();
https://github.com/ecto/duino
A0 = new Arduino.Sensor({ ..., pin: ‘A0’});
https://github.com/ecto/duino
A0.on(‘read’, function(err, data) { console.log(data);});
Hybrid Home Automation System by rhio.kim
Web Socket
npm install twitter
Arduino
node.jsduino
HTML5 + CSS3
WebSocket
Digital I/O
Analog I/O
locally
haroopress
arduino
I love javascriptnode.js
git
BaaS tech in kth
http://github.com/rhiokim, http://haroopress.com, http://nodejs.kr
rhio kim