Cloud Storage Services: Amazon S3, App Engine Blobstore

Download Report

Transcript Cloud Storage Services: Amazon S3, App Engine Blobstore

Building Cloud Applications
Live Demo: Back-end based on NoSQL DB + REST
Services + HTML5 Client (JavaScript + AJAX)
Svetlin Nakov
Telerik Software Academy
academy.telerik.com
Table of Contents

The Photo Sharer: Idea

3-Tier Architecture in the Cloud

Building the Back-End
 Cloudant NoSQL DB
 DropBox File Storage

Building the Business Tier
 WCF REST Services
 PubNub Messaging

Building the Client
 HTML5 + JavaScript + AJAX
2
The Photo Sharer
Idea Behind the Application
Photo Sharer

We want to build a
photo sharing app

Similar to TweetPic

Display the shared
photos in real time

Share new photos
4
3-Tier Architecture
in the Cloud
Back-End, Middle Tier, Front-End
Typical 3-Tier
Architecture in the Cloud
Client (Front-End)
Computing
Node
Databases
Computing
Node
Storage
Services
…
Back-End
Services
Computing
Node
Other
Services
Administration
Monitoring
Load Balancer
6
Photo Sharer Architecture
Client (Front-End Application)
HTML5 + JavaScript + jQuery + AJAX
REST Services (REST + JSON)
PubNub
Windows Communication
Foundation (WCF) @ AppHarbor
Real-Time
Notifications
Cloudant (NoSQL DB)
DropBox
Managed CouchDB
Holds JSON objects
Cloud File Storage
and File Sharing
7
Building the Back-End
Cloudant NoSQL DB + DropBox File Storage
Live Demo
Building the Business Tier
WCF REST Services + PubNub Messaging
Live Demo
Building the Front-End
Client Application
HTML5 + JavaScript + AJAX
Live Demo
Building Cloud Applications
курсове и уроци по програмиране, уеб дизайн – безплатно
курсове и уроци по програмиране – Телерик академия
уроци по програмиране и уеб дизайн за ученици
програмиране за деца – безплатни курсове и уроци
безплатен SEO курс - оптимизация за търсачки
курсове и уроци по програмиране, книги – безплатно от Наков
уроци по уеб дизайн, HTML, CSS, JavaScript, Photoshop
free C# book, безплатна книга C#, книга Java, книга C#
безплатен курс "Качествен програмен код"
безплатен курс "Разработка на софтуер в cloud среда"
BG Coder - онлайн състезателна система - online judge
форум програмиране, форум уеб дизайн
ASP.NET курс - уеб програмиране, бази данни, C#, .NET, ASP.NET
ASP.NET MVC курс – HTML, SQL, C#, .NET, ASP.NET MVC
алго академия – състезателно програмиране, състезания
курс мобилни приложения с iPhone, Android, WP7, PhoneGap
Дончо Минков - сайт за програмиране
Николай Костов - блог за програмиране
C# курс, програмиране, безплатно
http://academy.telerik.com
Homework
1.
Re-implement the photo sharer at home
 You may use other platforms + technologies, e.g.
 GAE: Java + GAE Datastore + GAE Blobstore +
JAX-RS + HTML5 + JavaScript + AJAX
 PhpFog: PHP + Redis or MongoDB + Google
Drive + HTML5 + JavaScript + REST + JSON
 Use NoSQL database to hold your data
 Use cloud storage to hold the shared images
 Use HTML5 + JavaScript + AJAX + REST for the front-end
2.
Implement "file upload" feature for sharing images
from your local hard disk.
Free Trainings @ Telerik Academy
 "Software Development in the Cloud"
Course @ Telerik Software Academy


Telerik Software Academy


academy.telerik.com
Telerik Academy @ Facebook


clouddevcourse.telerik.com
facebook.com/TelerikAcademy
Telerik Software Academy Forums

forums.academy.telerik.com