Your SlideShare is downloading. ×
Software Tests with MongoDB
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

Software Tests with MongoDB

398

Published on

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

  • Be the first to like this

No Downloads
Views
Total Views
398
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
7
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. Getting started with Node.js and MongoDB on MS Azure ®20.03.2012Dipl.-Inf. (FH) Johannes Hoppe
  • 2. 01Hello
  • 3. Johannes HoppeIT-Consultant & Web Developer www.johanneshoppe.de
  • 4. JavaScript?
  • 5. As a server sidelanguage?
  • 6. Executed insidea database?
  • 7. For a hardware-accelerated3D game?
  • 8. Hosted onWINDOWS?
  • 9. Yes!of course
  • 10. Live Demowww.solartournament.org
  • 11. 02SDK for Node.js
  • 12. platform Cloud PaaS / IaaS Visual Studio 2010Targets .NET, but also and now officially:Java, PHP, Node.js… MongoDB
  • 13. Event-driven Asynchronous I/OJavaScript Google V8 engineServer-side MIT License
  • 14. www.windowsazure.com/en-us/develop/nodejs/
  • 15. What you get› Node.exe› IISNode (native IIS module)› NPM for Windows (package manager)› […]
  • 16. Live Demo / Windows PowerShell› New-AzureService helloworld› Add-AzureNodeWebRole› Start-AzureEmulator -launch
  • 17. server.jsvar http = require(http);http.createServer(function (req, res) { res.writeHead(200, {Content-Type: text/plain}); res.end(Hello world!);}).listen(process.env.PORT);
  • 18. Azure SDK for Node.jsTroubleshooter
  • 19. Tricky Emulator› Webinstaller: Decide for IIS Express› Start PowerShell with Admin Rights
  • 20. Tricky Emulator› Check the Windows Event log› Last resort: start node.exe manually
  • 21. Deployment / Windows PowerShell› Get-AzurePublishSettings› Import-AzurePublishSettings filename.publishSettings› Publish-AzureService -name UniqueName -location "North Europe" -launch
  • 22. Node.js Web ApplicationTutorial:http://www.windowsazure.com/en-us/develop/nodejs/tutorials/getting-started/
  • 23. 03MongoDB
  • 24. “Microsoft has been working with 10gento provide MongoDB databaseintegration for Windows Azure,including deployment packaging,documentation, and code samples.”MSDN, December 2011: http://msdn.microsoft.com/en-us/library/gg441573.aspx
  • 25. http://downloads.mongodb.org/azure/AzureMongoDeploymentCmdlets.msi
  • 26. PowerShell› Only once: Get-AzureMongoDBBinaries› New-AzureService helloMongo› Add-AzureMongoWorkerRole› Join-AzureNodeRoleToMongoRole WebRole1› npm install mongodb
  • 27. Node.js Web Applicationwith Storage on MongoDBTutorial:https://www.windowsazure.com/en-us/develop/nodejs/tutorials/web-app-with-mongodb/
  • 28. TODO!
  • 29. Questions?
  • 30. Thank you! Johannes Hoppe
  • 31. Next Speaking Engagements› 12.04.2012 – .NET UG Niederrhein: AOP / .NET› 10.05.2012 – .NET UG Karlsruhe: NoSQL / .NET› 14.05.2012 – .NET Developer Conference (DDC) Nürnberg: NoSQL / .NET (2 talks)
  • 32. Picture creditswave © THesIMPLIFY – Fotolia.comStressed businessman © Selecstock – Fotolia.comAusgewählter Ordner © Spectral-Design – Fotolia.comWarnhinweis-Schild © Sascha Tiebel – Fotolia.comListe abhaken © Dirk Schumann – Fotolia.com

×