Azure Bootcamp Louisville - Node js presentation

482 views

Published on

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

No Downloads
Views
Total views
482
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Azure Bootcamp Louisville - Node js presentation

  1. 1. Node.js in Windows Azure Bryan Phillips
  2. 2. Who am I? • Bryan Phillips • Senior Partner, Composable Systems, LLC • MCT, MCSD, MCDBA, MCSE • Co-author of Beginning SharePoint Designer 2010 and Professional SharePoint Designer 2007 • 5-time Microsoft MVP awardee in SharePoint Server and Client Application Development
  3. 3. Agenda • Provisioning Virtual Machines in Windows Azure • Installing and configuring MongoDB • Creating web sites in Windows Azure • Publishing a Node.js web application to Windows Azure
  4. 4. Provisioning Virtual Machines in Windows Azure • Windows Azure Management Portal - https://manage.windowsazure.com • Can create and configure all aspects of Windows Azure. • For creating new virtual machines, the virtual machine gallery includes pre-build virtual machines: • Microsoft (versions 2008 R2-2012 R2, Vanilla, BizTalk, SQL Server, SharePoint) • Ubuntu (versions 12-14, supports OpenStack, Juju) • CentOS (version 6.5, Basic Server) • openSUSE (version 13.1, Linux Enterprise Server 11 SP3) • Oracle
  5. 5. Demo • Creating a Linux virtual machine
  6. 6. Installing and configuring MongoDB • MongoDB (https://www.mongodb.org) • Leading NoSQL database • Written in C++ • Stores JSON documents with dynamic schemas • Enterprise database features including replication and high availability, in-memory caching, dynamic memory, journaling, lazy writing • Only supports ACID transactions for single document updates. Bring your own rollback mechanism if you need to update multiple documents at once.
  7. 7. Demo • Installing and configuring MongoDB • Tip - use curl instead of wget to download MongoDB.
  8. 8. Creating web sites in Windows Azure • Web site gallery includes: • Drupal • ASP.Net • HTML5 Boilerplate • WordPress • CakePHP • Django • Dot Net Nuke • Joomla • MediaWiki • Node.js • Orchard CMS • Loads more…
  9. 9. Demo • Creating a web site in Windows Azure
  10. 10. Publishing a Node.js web application to Windows Azure • Node.js (http://nodejs.org) • Lightweight platform build on Chrome’s JavaScript runtime. • Runs JavaScript outside of the browser. • Angular Seed web server runs on Node.js. • Used by many enterprise level companies: • Walmart • Yahoo • Linkedin • Uber • PayPal • Dow Jones (Wall Street Journal) • The New York Times • eBay
  11. 11. Node.js web application • Modules used: • Express (http://expressjs.com) – minimal framework for creating Node.js based web applications • Mongoose (http://mongoosejs.com) – modeling framework for MongoDb to simplify querying, validation, and business logic hooks
  12. 12. Demo • Publishing a Node.js web application to Windows Azure

×