Software Tests with MongoDB
 

Software Tests with MongoDB

on

  • 688 views

 

Statistics

Views

Total Views
688
Views on SlideShare
608
Embed Views
80

Actions

Likes
0
Downloads
6
Comments
0

4 Embeds 80

http://www.10gen.com 72
http://www.mongodb.com 6
http://drupal1.10gen.cc 1
http://translate.googleusercontent.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Software Tests with MongoDB Software Tests with MongoDB Presentation Transcript

    • Getting started with Node.js and MongoDB on MS Azure ®20.03.2012Dipl.-Inf. (FH) Johannes Hoppe
    • 01Hello
    • Johannes HoppeIT-Consultant & Web Developer www.johanneshoppe.de
    • JavaScript?
    • As a server sidelanguage?
    • Executed insidea database?
    • For a hardware-accelerated3D game?
    • Hosted onWINDOWS?
    • Yes!of course
    • Live Demowww.solartournament.org
    • 02SDK for Node.js
    • platform Cloud PaaS / IaaS Visual Studio 2010Targets .NET, but also and now officially:Java, PHP, Node.js… MongoDB
    • Event-driven Asynchronous I/OJavaScript Google V8 engineServer-side MIT License
    • www.windowsazure.com/en-us/develop/nodejs/
    • What you get› Node.exe› IISNode (native IIS module)› NPM for Windows (package manager)› […]
    • Live Demo / Windows PowerShell› New-AzureService helloworld› Add-AzureNodeWebRole› Start-AzureEmulator -launch
    • 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);
    • Azure SDK for Node.jsTroubleshooter
    • Tricky Emulator› Webinstaller: Decide for IIS Express› Start PowerShell with Admin Rights
    • Tricky Emulator› Check the Windows Event log› Last resort: start node.exe manually
    • Deployment / Windows PowerShell› Get-AzurePublishSettings› Import-AzurePublishSettings filename.publishSettings› Publish-AzureService -name UniqueName -location "North Europe" -launch
    • Node.js Web ApplicationTutorial:http://www.windowsazure.com/en-us/develop/nodejs/tutorials/getting-started/
    • 03MongoDB
    • “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
    • http://downloads.mongodb.org/azure/AzureMongoDeploymentCmdlets.msi
    • PowerShell› Only once: Get-AzureMongoDBBinaries› New-AzureService helloMongo› Add-AzureMongoWorkerRole› Join-AzureNodeRoleToMongoRole WebRole1› npm install mongodb
    • Node.js Web Applicationwith Storage on MongoDBTutorial:https://www.windowsazure.com/en-us/develop/nodejs/tutorials/web-app-with-mongodb/
    • TODO!
    • Questions?
    • Thank you! Johannes Hoppe
    • 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)
    • 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