Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Server-Side JavaScript Developement - Node.JS Quick Tour

20,357 views

Published on

Server-Side JavaScript Developement - Node.JS Quick Tour

Published in: Technology
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Get Now to Download eBook === http://zakuratest.com/8490328625-Durmete-nio--Go-to-sleep-child.html
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD TH1S BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK Here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB EBOOK Here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK Here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB EBOOK Here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc EBOOK Here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • cool
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Server-Side JavaScript Developement - Node.JS Quick Tour

  1. 1. Server-Side JavaScript Developement Node.JS Quick Tour q3boy <q3boy1@gmail.com>
  2. 2. Server-Side JavaScript Development
  3. 3. Aptana Jaxer (SpiderMonkey) Helma (Rhino)
  4. 4. ••
  5. 5. Revelutions in 2009• CommonJS (ServerJS), by Dangoor• JSConf, by Chris Williams & Iterative Designs• Node, by Ray Dahl.
  6. 6. Nodes goal is to provide an easyway to build scalable networkprograms -- nodejs.org
  7. 7. Ray Dahl
  8. 8. • 1/5/2009 Ryah Dahl• 2/15/2009• 5/31/2009• ......• 11/16/2010 v0.3.1
  9. 9. • wiki 600 module• 20•
  10. 10. • libev (event loop)• libeio (nonblocked posix, thread pool)• v8 (javascript engine by google)
  11. 11. •••
  12. 12. ioio
  13. 13. ioio
  14. 14. -•••
  15. 15. -• cpu•
  16. 16. - Web Worker
  17. 17. • AMD Opteron 2200 , 4G RAM• socket client 20,000+ qps• socket server 17,000 qps• http server 4,400 qps• 30~40m• see more. <http://nodejs.kongwu.net/blog/? p=8>
  18. 18. • SSL• Windows• 1G (by v8)
  19. 19. • Web•• Spider
  20. 20. Digg in the node
  21. 21. $ git clone git://github.com/ry/node.git$ cd node$ ./configure --prefix=$HOME/node$ make install
  22. 22. Hello World!Familiar & Simple
  23. 23. $ node singleThread.js1234
  24. 24. CommonJS $ node main.js foobar
  25. 25. io$ node nonblocking.jsReading my.txt ...my.txtHere is contents in "my.txt".
  26. 26. HTTP
  27. 27. TCP $ node tcpServer.js & $ telnet locahost 1234 Welcome! > Node is so Cooool. Node is so Cooool. >
  28. 28. $ node watchFile.js &$ sleep 3; touch my.txtthe current mtime is: 1292594780000the previous mtime was: 1292594752000
  29. 29. $ node childProcess.jshelloworld
  30. 30. String vs Buffer String•• node v8 String , socket memcopy• v8 gc
  31. 31. String vs Buffer With String
  32. 32. String vs Buffer With Buffer
  33. 33. With String
  34. 34. With Buffer
  35. 35. Want to see more?
  36. 36. • PHP: pear• Python: PyPI, setuptools• Ruby: Gems• Node:
  37. 37. $ cat >>~/.npmrc <<NPMRCroot = ~/.node_librariesbinroot = ~/binmanroot = ~/share/manNPMRC$ curl http://npmjs.org/install.sh | sh$ npm ls$ npm install package_name$ npm update
  38. 38. IDE base on node http://www.cloud9ide.com/
  39. 39. Links• http://www.commonjs.org/• http://nodejs.org/• http://howtonode.org/• https://github.com/ry/node/wiki• https://github.com/ry/node/wiki/modules• https://github.com/isaacs/npm

×