13
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 Cloud Apps http://clouddevcourse.telerik.com

12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

Embed Size (px)

DESCRIPTION

Building-Cloud-Apps-with-NoSqlDB-REST-HTML5 Telerik Software Academy: http://clouddevcourse.telerik.com/ The website and all video materials are in Bulgarian 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;

Citation preview

Page 1: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

Building Cloud Applications

Live Demo: Back-end based on NoSQL DB + REST Services + HTML5 Client (JavaScript +

AJAX)

Svetlin NakovTelerik Software

Academyacademy.telerik.com

CloudApps

http://clouddevcourse.telerik.com

Page 2: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

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

Page 3: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

The Photo SharerIdea Behind the Application

Page 4: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

Photo Sharer

We want to build a photo sharing app

Similar to TweetPic

Display the shared photos in real time

Share new photos

4

Page 5: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

3-Tier Architecturein the Cloud

Back-End, Middle Tier, Front-End

Page 6: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

Typical 3-TierArchitecture in the

Cloud

6

Mon

itori

ng

Ad

min

istr

ati

on

Data-bases

Storage Services

Back-End Services

Other Services

Computing Node

Computing Node

Computing Node

Client (Front-End)

Load Balancer

Page 7: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

Photo Sharer Architecture

7

Client (Front-End Application)

HTML5 + JavaScript + jQuery + AJAX

REST Services (REST + JSON)

Windows Communication Foundation (WCF) @ AppHarbor

PubNub

Real-Time Notifications

Cloudant (NoSQL DB)

Managed CouchDBHolds JSON objects

DropBox

Cloud File Storageand File Sharing

Page 8: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

Building the Back-End

Cloudant NoSQL DB + DropBox File Storage

Live Demo

Page 9: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

Building the Business Tier

WCF REST Services + PubNub Messaging

Live Demo

Page 10: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

Building the Front-End Client Application

HTML5 + JavaScript + AJAX

Live Demo

Page 11: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

форум програмиране, форум уеб дизайнкурсове и уроци по програмиране, уеб дизайн – безплатно

програмиране за деца – безплатни курсове и уроцибезплатен SEO курс - оптимизация за търсачки

уроци по уеб дизайн, HTML, CSS, JavaScript, Photoshop

уроци по програмиране и уеб дизайн за ученициASP.NET MVC курс – HTML, SQL, C#, .NET, ASP.NET MVC

безплатен курс "Разработка на софтуер в cloud среда"

BG Coder - онлайн състезателна система - online judge

курсове и уроци по програмиране, книги – безплатно от Наков

безплатен курс "Качествен програмен код"

алго академия – състезателно програмиране, състезания

ASP.NET курс - уеб програмиране, бази данни, C#, .NET, ASP.NETкурсове и уроци по програмиране – Телерик академия

курс мобилни приложения с iPhone, Android, WP7, PhoneGap

free C# book, безплатна книга C#, книга Java, книга C#Дончо Минков - сайт за програмиранеНиколай Костов - блог за програмиранеC# курс, програмиране, безплатно

?

? ? ??

?? ?

?

?

?

??

?

?

? ?

Questions?

?

Building Cloud Applications

http://academy.telerik.com

Page 12: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

Homework1.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.

Page 13: 12. Cloud software development - building cloud-apps-with-no sqldb-rest-html5

Free Trainings @ Telerik Academy

"Software Development in the Cloud"Course @ Telerik Software Academy clouddevcourse.telerik.com

Telerik Software Academy academy.telerik.com

Telerik Academy @ Facebook facebook.com/TelerikAcademy

Telerik Software Academy Forums forums.academy.telerik.com