Your SlideShare is downloading. ×
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Node basic training
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Node basic training

1,199

Published on

2 Comments
4 Likes
Statistics
Notes
No Downloads
Views
Total Views
1,199
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
20
Comments
2
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. NODE.JS BASIC 大綱、基礎介紹 Caesar Chi http://about.me/clonn Saturday, April 19, 14
  • 2. Caesar Chi clonncd Saturday, April 19, 14
  • 3. BASIC •Java •JavaScript •Node.js Saturday, April 19, 14
  • 4. •Java •JavaScript •Node.js Saturday, April 19, 14
  • 5. BASIC •Node.js Saturday, April 19, 14
  • 6. •Node.js Saturday, April 19, 14
  • 7. 事前技能表 Saturday, April 19, 14
  • 8. Command line Saturday, April 19, 14
  • 9. GIT(Github) Saturday, April 19, 14
  • 10. JavaScript Saturday, April 19, 14
  • 11. Server Saturday, April 19, 14
  • 12. 注意事項 Saturday, April 19, 14
  • 13. No Alert Saturday, April 19, 14
  • 14. No Alert Saturday, April 19, 14
  • 15. Crash only Saturday, April 19, 14
  • 16. SO... Saturday, April 19, 14
  • 17. JavaScript Saturday, April 19, 14
  • 18. JavaScript Saturday, April 19, 14
  • 19. 好處? Saturday, April 19, 14
  • 20. JavaScript Saturday, April 19, 14
  • 21. JavaScript Saturday, April 19, 14
  • 22. JavaScript Saturday, April 19, 14
  • 23. 1 Saturday, April 19, 14
  • 24. Saturday, April 19, 14
  • 25. FEATURE Saturday, April 19, 14
  • 26. NON-BLOCKING 非阻塞模式Saturday, April 19, 14
  • 27. HIGH CONCURRENCY 高連線數量 http://www.flickr.com/photos/goldentime/4089413847/sizes/z/in/photostream/ Saturday, April 19, 14
  • 28. EVENT-DRIVEN 事件驅動模型Saturday, April 19, 14
  • 29. 非阻塞?事件驅動? Saturday, April 19, 14
  • 30. 以 當主角說明 Saturday, April 19, 14
  • 31. 舊有作法 Saturday, April 19, 14
  • 32. Saturday, April 19, 14
  • 33. 舊有作法 Saturday, April 19, 14
  • 34. 舊有作法 Saturday, April 19, 14
  • 35. 舊有作法 Saturday, April 19, 14
  • 36. 非阻塞作法 Saturday, April 19, 14
  • 37. Saturday, April 19, 14
  • 38. var monther = require('monther'); monther.on(' ', function ( ) { return ; }); Saturday, April 19, 14
  • 39. var monther = require('monther'); monther.on(' ', function ( ) { return ; }); Saturday, April 19, 14
  • 40. var monther = require('monther'); monther.on(' ', function ( ) { return ; }); Saturday, April 19, 14
  • 41. var monther = require('monther'); monther.on('cofee', function (data) { return data; }); monther.on('egg', function (egg) { return egg; }); monther.on('cake', function (cake) { return cake; }); Saturday, April 19, 14
  • 42. MODULE Saturday, April 19, 14
  • 43. Saturday, April 19, 14
  • 44. <script src=‘xxx’> <script src=‘jquery.js’></script> Saturday, April 19, 14
  • 45. REQUIRE = LOAD MODULE Saturday, April 19, 14
  • 46. Saturday, April 19, 14
  • 47. var xxxx=require(‘xxx’); var http = require(‘http’); var http = require(‘http.js’); Saturday, April 19, 14
  • 48. var xxxx=require(‘xxx’); var http = require(‘http’); var http = require(‘http.js’); Saturday, April 19, 14
  • 49. var xxxx=require(‘xxx’); var http = require(‘http’); var http = require(‘http.js’); Saturday, April 19, 14
  • 50. var xxxx=require(‘xxx’); var http = require(‘http’); var http = require(‘http.js’); Saturday, April 19, 14
  • 51. var http = require(‘http’); var fs = require(‘fs’); var path = require(‘./yoo’); Saturday, April 19, 14
  • 52. new.js var a = 123; old.js var a = 456; Saturday, April 19, 14
  • 53. new.js var a = 123; old.js var a = 456; Saturday, April 19, 14
  • 54. PRINT(A)? Saturday, April 19, 14
  • 55. Saturday, April 19, 14
  • 56. module.js module.exports = {}; Saturday, April 19, 14
  • 57. COMMONJS http://www.commonjs.org/ Saturday, April 19, 14
  • 58. http://www.commonjs.org/ Saturday, April 19, 14
  • 59. MODULE 管理 Saturday, April 19, 14
  • 60. Saturday, April 19, 14
  • 61. MODULE 管理 •Global module, •例如, process •internal module, •例如, http, fs, path, child_process... •external module, Saturday, April 19, 14
  • 62. •Global module, •例如, process •internal module, •例如, http, fs, path, child_process... •external module, Saturday, April 19, 14
  • 63. Saturday, April 19, 14
  • 64. NPM • npm install module_name • npm install -g module_name • npm update [module_name] • npm list • npm ... Saturday, April 19, 14
  • 65. • npm install module_name • npm install -g module_name • npm update [module_name] • npm list • npm ... Saturday, April 19, 14
  • 66. NPM •外部模組, 存於... •node_modules/..... Saturday, April 19, 14
  • 67. •外部模組, 存於... •node_modules/..... Saturday, April 19, 14
  • 68. NPM •dependency manage •package.json Saturday, April 19, 14
  • 69. •dependency manage •package.json Saturday, April 19, 14
  • 70. NPM •dependency manage •package.json Saturday, April 19, 14
  • 71. •dependency manage •package.json Saturday, April 19, 14
  • 72. as a web developers, knowing some web structure is good for you Saturday, April 19, 14
  • 73. Saturday, April 19, 14
  • 74. Saturday, April 19, 14
  • 75. Saturday, April 19, 14
  • 76. Saturday, April 19, 14
  • 77. Saturday, April 19, 14

×