0
An Introduction toNode.js Developmentwith Windows AzureSpeakerRate - http://spkr8.com/t/11611
Who am I?I am a Microsoft Certified Solution Developer and I’vebeen developing software since 1979. Since 2009, I havebeen ...
What We’re Not Going     to Cover• The Depth of Windows Azure• Visual Studio• Windows 8• Git
What We Will Cover• Node and npm• Windows Azure Website• How to Deploy
Windows Azure is an open cloud platform that enablesyou to quickly build, deploy and manage applicationsacross a global ne...
• Microsoft’s Cloud Computing Platform• Version 1.0 Introduced February 2010• Last Major Release on June 7, 2012
Node.js is a platform built on Chromes JavaScriptruntime for easily building fast, scalable networkapplications. Node.js u...
• aka. Node• Introduced in 2009 By Ryan Dahl of Joyent• Current Version 0.6.19• Version 0.7.12 is in preview• Selected by ...
Why Node?• It’s Fast• Minimalistic• Avoids Context Switching• Single Threaded
How To Node on Azure• Node as a Cloud Service• Node as a Web Site• Node as a Web Site with WebMatrix
Create a Windows     Azure Account• windowsazure.com• click the free trial button (90 days free)• You will need a windows ...
Installing Node• https://www.windowsazure.com/en-us/develop/  nodejs/• Installers for Windows, Mac, and Linux
Show server1.js
Hello Node!var http = require(http); // what is http?http.createServer(function (req, res) {	 res.writeHead(200, {Content-...
Packages• Core  Modules which are compiled into Node• Userland  Everything else
Core Modules• http - HTTP server and client• url - utilities for URL resolution and parsing• path - utilities for handling...
Show server2.js
npm• a command line utility (npm)• a web based registry of modules  (search.npmjs.org)
Install express using npm
Userland Modules• connect• express - high performance, high class web  development for Node.js  built on top of connect• m...
If there is something  you need to do inNode, first look for a module to do it for         you.
Show server3.js
Update Server on Azure
Summary  Node.js is an easy tolearn, high performance
Resources• http://nodejs.org/• https://www.windowsazure.com
Please Rate My Talk:  SpeakerRate - http://spkr8.com/t/11611 The Source Code is on GitHub at:https://github.com/Rockncoder...
Upcoming SlideShare
Loading in...5
×

An Introduction to Node.js Development with Windows Azure

1,194

Published on

Node.js has taken off in popularity. Find out why major internet companies like Yammer, CouchOne, DocumentCloud, and LinkedIn are using Node to power their servers. And why Microsoft added support for it to Azure. In this session we will build a simple yet functional web server using Node, enhance it using plugins known as Modules, and hopefully explain why Node is such a powerful new web server paradigm.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,194
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
19
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript of "An Introduction to Node.js Development with Windows Azure"

    1. 1. An Introduction toNode.js Developmentwith Windows AzureSpeakerRate - http://spkr8.com/t/11611
    2. 2. Who am I?I am a Microsoft Certified Solution Developer and I’vebeen developing software since 1979. Since 2009, I havebeen focused on developing mobile applications, for iPhone, Android, the mobile web, and Windows Phone 7.
    3. 3. What We’re Not Going to Cover• The Depth of Windows Azure• Visual Studio• Windows 8• Git
    4. 4. What We Will Cover• Node and npm• Windows Azure Website• How to Deploy
    5. 5. Windows Azure is an open cloud platform that enablesyou to quickly build, deploy and manage applicationsacross a global network of Microsoft-manageddatacenters.You can build applications using any language, tool orframework.
    6. 6. • Microsoft’s Cloud Computing Platform• Version 1.0 Introduced February 2010• Last Major Release on June 7, 2012
    7. 7. Node.js is a platform built on Chromes JavaScriptruntime for easily building fast, scalable networkapplications. Node.js uses an event-driven, non-blockingI/O model that makes it lightweight and efficient, perfectfor data-intensive real-time applications that run acrossdistributed devices.
    8. 8. • aka. Node• Introduced in 2009 By Ryan Dahl of Joyent• Current Version 0.6.19• Version 0.7.12 is in preview• Selected by InfoWorld for the “Technology of the Year Award
    9. 9. Why Node?• It’s Fast• Minimalistic• Avoids Context Switching• Single Threaded
    10. 10. How To Node on Azure• Node as a Cloud Service• Node as a Web Site• Node as a Web Site with WebMatrix
    11. 11. Create a Windows Azure Account• windowsazure.com• click the free trial button (90 days free)• You will need a windows live ID
    12. 12. Installing Node• https://www.windowsazure.com/en-us/develop/ nodejs/• Installers for Windows, Mac, and Linux
    13. 13. Show server1.js
    14. 14. Hello Node!var http = require(http); // what is http?http.createServer(function (req, res) { res.writeHead(200, {Content-Type: text/plain}); res.end(Hello Node!n);}).listen(3000, 127.0.0.1);console.log(Server running at http://127.0.0.1:3000/);
    15. 15. Packages• Core Modules which are compiled into Node• Userland Everything else
    16. 16. Core Modules• http - HTTP server and client• url - utilities for URL resolution and parsing• path - utilities for handling and transforming file paths• fs - File I/O is provided by simple wrappers around standard POSIX functions
    17. 17. Show server2.js
    18. 18. npm• a command line utility (npm)• a web based registry of modules (search.npmjs.org)
    19. 19. Install express using npm
    20. 20. Userland Modules• connect• express - high performance, high class web development for Node.js built on top of connect• mongodb - port of mongodb to non-blocking JavaScript• plus many, many more
    21. 21. If there is something you need to do inNode, first look for a module to do it for you.
    22. 22. Show server3.js
    23. 23. Update Server on Azure
    24. 24. Summary Node.js is an easy tolearn, high performance
    25. 25. Resources• http://nodejs.org/• https://www.windowsazure.com
    26. 26. Please Rate My Talk: SpeakerRate - http://spkr8.com/t/11611 The Source Code is on GitHub at:https://github.com/Rockncoder/IntroToNode
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×