[H3 2012] 우리가 모르는 Node.js로 할 수 있는 몇가지

7,150 views

Published on

H3 2012 발표자료
우리가 모르는 Node.js로 할 수 있는 몇가지
-KTH 김양원

Published in: Technology
0 Comments
16 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
7,150
On SlideShare
0
From Embeds
0
Number of Embeds
863
Actions
Shares
0
Downloads
112
Comments
0
Likes
16
Embeds 0
No embeds

No notes for slide

[H3 2012] 우리가 모르는 Node.js로 할 수 있는 몇가지

  1. 1. 우리가 모르는Node.js로할 수 있는 몇가지개발자의 생각을 바꾸는 Node.js 이야기BaaS 기술팀 | 김양원 1
  2. 2. 과거 미래 자바스크립트 현재
  3. 3. “ 트위터에서 대부분 들을 수 있는 이야기라서 그다지 신선하지 않았다.
  4. 4. iokim @rh트윗을 줄이고아무도 모르게신선하도록
  5. 5. Real-time Networking Program Server and ClientNon-Blocking I/O, Asynchronous Programing Ruby == Node <= Python > Scala Performance, 10k Concurrency Problem Scale-up & Scale-out http://500px.com/photo/5599221
  6. 6. #locally###언제 어디서든지 로컬 웹 서버
  7. 7. python -m SimpleHTTPServer
  8. 8. node-optimist•node.js library•hello.js --opt world option parsing https://github.com/substack/node-optimist
  9. 9. connect•middleware framework• 18 Bundled middleware logger, compress, basicAuth, bodyParser, session, cookieSession, staticCache, vhost, query, errorHandler ....•3rd-party middleware http://www.senchalabs.org/connect/
  10. 10. npm install -g locally
  11. 11. c:sencha> locally ¶Sencha Touch http://localhost c:jqmobi> locally -p 8081 ¶jQuery Mobile http://localhost:8081
  12. 12. 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
  13. 13. Baas.io Dashboardby Baas team & FI
  14. 14. Anywhere locally
  15. 15. Static page Blog engineby rhio.kim http://haroopress.com
  16. 16. Github Pages Octopress
  17. 17. GET ~/posts/1
  18. 18. GET ~/posts/1.html
  19. 19. #Dear Friends It’s **very important** ## Please! check this * Item1 - subItem1 - subItem2 ## References * [link](http://haroopress.com)John Gruber http://daringfireball.net/projects/markdown/
  20. 20. # 마크다운을 예쁘게 표현하리라!
  21. 21. 모듈 모듈 모듈 모듈 모듈 모듈 모듈 ejs robotskirt twitter node.js haroopress 모듈bootstrap 모듈 locally 모듈 모듈 모듈 모듈 모듈 모듈 모듈 모듈 사용된 노드 모듈 정보는 H3 책을 참고해주세요.
  22. 22. coreonly 1000 line
  23. 23. robotskirt•sundown wrapper• markdown to HTML• multi-markdown• npm install robotskirt
  24. 24. <% ejs %>•embedded JavaScript• client side template• layout or partial http://embeddedjs.com/
  25. 25. Twitter Bootstrap http://twitter.github.com/bootstrap/
  26. 26. Blog locally twitter bootstrapMarkdown HTML5 + CSS3 +modules node.js haroopress
  27. 27. Blog locally showerMarkdown HTML5 + CSS3 +modules node.js haroopress
  28. 28. Web Presentation with haroopressby rhio.kim
  29. 29. arduino###자바스크립트로 로봇 성형수술
  30. 30. arduino
  31. 31. BeagleBone Raspberry Pi
  32. 32. npm install duino https://github.com/ecto/duino
  33. 33. Pin13 = new Arduino.Led({ ..., pin: 13}); https://github.com/ecto/duino
  34. 34. Pin13.on();Pin13.off(); https://github.com/ecto/duino
  35. 35. A0 = new Arduino.Sensor({ ..., pin: ‘A0’}); https://github.com/ecto/duino
  36. 36. A0.on(‘read’, function(err, data) { console.log(data);}); https://github.com/ecto/duino
  37. 37. Hybrid Home Automation Systemby rhio.kim
  38. 38. Web Socket
  39. 39. npm install twitter
  40. 40. Analog I/ODigital I/O HTML5 + CSS3 WebSocket Arduino duino node.js twitter
  41. 41. I love javascript rhio kim node.js githttp://github.com/rhiokim, http://haroopress.com, http://nodejs.kr BaaS tech in kth
  42. 42. To be continue. BaaS 기술 / 김양원 PD tizie@kthcorp.com @rhiokim 46

×