Your SlideShare is downloading. ×
Node.philly Intro to Node.js on Windows
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.philly Intro to Node.js on Windows

1,887
views

Published on

A quick intro to Node.js on Windows & Windows Azure from the Node.Philly event on 4/23/2012 in Philadelphia, Pa

A quick intro to Node.js on Windows & Windows Azure from the Node.Philly event on 4/23/2012 in Philadelphia, Pa

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,887
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
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. Intro to Node.js on Windows Peter Laudati Developer Evangelist Microsoft Corp. peterlaudati.com @JrzyShr
  • 2. Disclaimer!!!Until ~January, I had only read about Node.js on Twitter and knew it onlyas something the cool kids were playing with.
  • 3. Disclaimer!!!Until ~January, I had only read about Node.js on Twitter and knew it onlyas something the cool kids were playing with.Translation: I know very little about Node.js. Just a little more than some of you, and a LOT less than the rest of you.
  • 4. Disclaimer!!!Until ~January, I had only read about Node.js on Twitter and knew it onlyas something the cool kids were playing with.Translation: I know very little about Node.js. Just a little more than some of you, and a LOT less than the rest of you.Real Translation: Don’t throw tomatoes at me! Help me fill the gaps of my knowledge.
  • 5. What is Node.js?
  • 6. What is Node.js?in a word (or two)... Asynchronous & Single-threaded
  • 7. What is Node.js?in a word (or two or 56)... Asynchronous & Single-threaded “Node is an asynchronous distributed programming platform built on top of Chrome’s V8 JavaScript engine (the same engine used to parse and execute client- side JavaScript inside Chrome.) Node is actually server-side JavaScript, but its syntax and prose are familiar to every web developer to some extent. Node’s true innovation is its evented + asynchronous I/O model.” -Aaron Stannard Microsoft Evangelist – California http://www.aaronstannard.com/post/2011/12/14/Intro-to-NodeJS-for-NET-Developers.aspx
  • 8. Microsoft has a new found love forNode.js project – a joint collaboration between Microsoft & Joyent.• IISNode As a result: • Node runs natively on Windows with out CynWin • Node can be run as a managed module inside of IIS • Node can now run on Windows Azure • NPM package for having Node.JS interop with SQL Server. • NPM package for having Node.JS connect to Azure Services (storage, etc)• Node.js is great at tasks like: • Real-time notifications • Web sockets
  • 9. Why Node.js on Windows or Windows Azure?
  • 10. IISNode benefitsScalability on multi-core servers.Since node.exe is a single threaded process, it only scales to one CPU core. Theiisnode module allows creation of multiple node.exe processes per applicationand load balances the HTTP traffic between them, therefore enabling fullutilization of a server’s CPU capacity without requiring additional infrastructurecode from an application developer.Process management.The iisnode module takes care of lifetime management of node.exe processesmaking it simple to improve overall reliability. You don’t have to implementinfrastructure to start, stop, and monitor the processes.
  • 11. Hello World Node.json Windows
  • 12. Breaking News!!!Cloud 9 IDE Azure IntegrationFor the first time in any language, you can deploy a Node.js app to Azurevia the browser from any platform!At Node Summit in San Francisco in January, Scott Guthrie from Microsoftdemoed this from a Mac.
  • 13. What is Windows Azure?
  • 14. Windows Azure isa place to run your applications.
  • 15. Windows Azure isa place to run your applications. Starting at $0.02/hr, or… ~$15/month FREE with 90-day trial OR MSDN Subscription
  • 16. Or store your data.
  • 17. Or store your data. Non-Relational at $0.125/GB per month Relational starting at $5.00/monthFREE with 90-day trial OR MSDN Subscription
  • 18. Or both.
  • 19. Or both.Starting at ~$20/month ($15 compute + $5 SQL)FREE with 90-day trial OR MSDN Subscription
  • 20. And a lot of other stuff too…
  • 21. And a lot of other stuff too…CDN, Distributed Caching, Access Control Service, Service Bus, & Traffic Manager, etc…
  • 22. Hello World Node.json Windows Azure
  • 23. Thank YOU!http://bit.ly/StartNodeAzure