#dean document db + express + angularjs + nodejs running on azure

23
#GlobalAzure #DEAN DocumentDB + Express + AngularJS + NodeJS running on Azure Luis Ruiz Pavón & Roberto Gónzalez

Upload: robertogg

Post on 02-Aug-2015

160 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: #Dean document db + express + angularjs + nodejs running on azure

#GlobalAzure

#DEAN DocumentDB + Express + AngularJS + NodeJS running on AzureLuis Ruiz Pavón & Roberto Gónzalez

Page 2: #Dean document db + express + angularjs + nodejs running on azure
Page 3: #Dean document db + express + angularjs + nodejs running on azure

Luis Ruiz Pavón

•Developer at Plainconcepts•MVP ASP.NET•@luisruizpavon• https://github.com/lurumad

Page 4: #Dean document db + express + angularjs + nodejs running on azure

Roberto Gónzalez

•Developer at Plainconcepts•MVP Azure•@robertogg• https://github.com/robertogg

Page 5: #Dean document db + express + angularjs + nodejs running on azure

■¿Qué es #DEAN?■Node.js en Visual Studio■Build de cliente con Gulp.js■Despliegue en Microsoft Azure

Agenda

Page 6: #Dean document db + express + angularjs + nodejs running on azure

■Son las siglas del stack de desarrollo web en Node.js:■DocumentDB -> Base de datos NoSQL■Express.js -> MVC en servidor■Angular.js -> MVW en cliente■Node.js -> Lenguaje de servidor

¿Qué es #DEAN?

Page 7: #Dean document db + express + angularjs + nodejs running on azure

■Servicio de base de datos NoSQL (documental) totalmente administrado y escalable.

■SSD (10GB) por colección

■Lenguaje de consulta SQL (Filtros, proyecciones, JOIN…)■UDF, Triggers y Sproc (JavaScript)■Acceso vía API REST.■Diferentes drivers ASP.NET, Node.js, Python, Java…■Diferencias frente a MongoDb

DocumentDB

Page 8: #Dean document db + express + angularjs + nodejs running on azure

■Transaccional■Strong■bounded-staleness■Session■Eventual

■Índices

DocumentDB

Page 9: #Dean document db + express + angularjs + nodejs running on azure

■Martin Fowler

NoSQL Destilled

Page 10: #Dean document db + express + angularjs + nodejs running on azure

Demo - DocumentDB

Page 11: #Dean document db + express + angularjs + nodejs running on azure

■Disponible la versión 1.0 para Visual Studio 2013 & 2015■https://nodejstools.codeplex.com/■https://github.com/Microsoft/nodejstools

■Soporta edición, Intellisense, Profiling, npm, TypeScript, depuración local y remota (Windows/MacOS/Linux), también en Azure Web Apps y en Cloud Services.

■Podemos publicar desde Visual Studio.

Node.js en Visual Studio

Page 12: #Dean document db + express + angularjs + nodejs running on azure

Demo - Node.js en Visual Studio

Page 13: #Dean document db + express + angularjs + nodejs running on azure

■¿Qué es AngularJS?■MVC Javascript

■Características de AngularJs■Two-way Data Binding■Directivas – Extender HTML■Módulos■MVC■Controladores■Servicios■Rutas■Vistas Parciales <ng-view>■Dependency Injection

Page 14: #Dean document db + express + angularjs + nodejs running on azure

Demo – AngulaJS

Page 15: #Dean document db + express + angularjs + nodejs running on azure

■En VS 2013 Update 3 tenemos tooling muy potente de cliente y totalmente integrado:

■TRX - Task Runner Explorer Visual Studio Extension.■NPM/NBower Package Intellisense.■Grunt Launcher 

Build de cliente con Gulp.js

Page 16: #Dean document db + express + angularjs + nodejs running on azure

Demo – Build de cliente con Gulp.js

Page 17: #Dean document db + express + angularjs + nodejs running on azure

Computación a Nivel Global

Page 18: #Dean document db + express + angularjs + nodejs running on azure

Demo

Page 19: #Dean document db + express + angularjs + nodejs running on azure

Desplegando minions

Page 20: #Dean document db + express + angularjs + nodejs running on azure

■Slides

Código y Slides

■Código

https://github.com/lurumad/gab2015/tree/master/Gab.Blog

http://es.slideshare.net/robertogg/dean-document-db-express-angularjs-nodejs-running-on-azure

Page 21: #Dean document db + express + angularjs + nodejs running on azure

¿Preguntas?

Page 22: #Dean document db + express + angularjs + nodejs running on azure
Page 23: #Dean document db + express + angularjs + nodejs running on azure

Thanks!