48
Современная мобильная и веб-разработка

DevCon School. Modern Mobile and Web Development

Embed Size (px)

Citation preview

Page 1: DevCon School. Modern Mobile and Web Development

Современная мобильная

и веб-разработка

Page 2: DevCon School. Modern Mobile and Web Development

Современные веб- и мобильные приложения: от бизнес-сценариев до технологий

Стас Павлов

Технический евангелист, Microsoft

Page 3: DevCon School. Modern Mobile and Web Development

https://aka.ms/wordpress-on-azure

Page 4: DevCon School. Modern Mobile and Web Development

“The online platform architecture combines all the positive elements of Azure’s IaaS and PaaS services, not only as an infrastructure solution, but also combining all the clouddevelopment services that Azure provides, to manage a fully autonomous ALM during the first phases of the project (development, integration and preproduction environments, UAT, TFS Online, VSO, unit testing, perfomance and stress testing, etc.). In this respect, Falomirsays “the new platform on Azure has enabled us to reduce development costs by 50% and infrastructure costs by 30%, in addition to increasing the number of releases deployed to one per week.”

“The final solution on Azure is a heterogeneous integration of Technologies from the front end of the portal (HTML5, CSS3, Bootstrap, AngularJS, ASP.NET MVC 4, ASP.NET Web API, etc…), with its CMS (OpenSource CMS.NET UMBRACO), as the backend, being formed by technological environments in J2EE, WebLogic and third-party integrations.”

https://aka.ms/iberia-express

Page 5: DevCon School. Modern Mobile and Web Development

“Nobody does it better” than secret agent James Bond. So it was natural that when world-class brewer HEINEKEN launched a global marketing campaign, it would partner with the Bond franchise. And when that campaign needed an equally first-class cloud platform, HEINEKEN turned to Microsoft Azure. HEINEKEN then used Azure for promotions that were even more technically demanding, including one with the UEFA Champions League. Azure “put our stakeholders at ease,” says an executive.

https://aka.ms/heineken-uses-the-cloud

Page 6: DevCon School. Modern Mobile and Web Development

”Scaling automatically to meet customer demandas with any popular e-retailing site, Jet requiresextremely rapid and flexible scaling based onever-changing customer traffic. To streamline thisprocess, Jet was able to set up auto-scaling onboth PaaS servers and App Service to scale itsservers based on load or schedule. “Because bothPaaS and App Service scale automatically for us, we are able to throw as many machines as weneed at the front end, when we need them,” saysHanrahan.

https://aka.ms/jet-azure-story

Page 7: DevCon School. Modern Mobile and Web Development

“Azure allows us to use servers around the world to deploy a site into a specificcountry or region.”

“Our goal was to reduce time-to-market,” says Lagerträd. “In a marketing-centricorganization, you cannot wait days for a new server. We could spend a lot of moneyrushing this process, but that doesn’t makesense from a business perspective. Withthe Azure solution, we can now spawn newwebsites directly from the developmentteam. We go into the portal, interfacedirectly with Azure, and launch ourwebsites and have them running inminutes.”

https://aka.ms/absolut-in-the-cloud

Page 8: DevCon School. Modern Mobile and Web Development
Page 9: DevCon School. Modern Mobile and Web Development

API APPS

Легко стройте и потребляйте API в облаке

WEB APPS

Веб-приложения масштабирующиеся

под ваш бизнес

LOGIC APPS

Автоматизируйте бизнес-процессы между SaaS

и локальными сервисами

MOBILE APPS

Стройте мобильные приложения для любого

устройства

Azure App Service

Page 10: DevCon School. Modern Mobile and Web Development

.NET

Python

Разработка на…

Node.js

Java

PHP

Page 11: DevCon School. Modern Mobile and Web Development

Галерея

Page 12: DevCon School. Modern Mobile and Web Development
Page 13: DevCon School. Modern Mobile and Web Development

GitHub

(VSO)

Website

Developer 1

Developer 2

Production

Swap

Page 14: DevCon School. Modern Mobile and Web Development

Типичный паттерн потребления

Page 15: DevCon School. Modern Mobile and Web Development

ТРАДИЦИОННОЕ РАЗВЕРТЫВАНИЕ Неиспользуемые вычислительные мощности

Типичный паттерн потребления

Page 16: DevCon School. Modern Mobile and Web Development

АВТОМАСШТАБИРОВАНИЕ ВЫЧИСЛИТЕЛЬНЫХ МОЩНОСТЕЙ

Типичный паттерн потребления

Page 17: DevCon School. Modern Mobile and Web Development

AutoScale

Page 18: DevCon School. Modern Mobile and Web Development

AutoScale

Page 19: DevCon School. Modern Mobile and Web Development

AutoScale

Page 20: DevCon School. Modern Mobile and Web Development

Умная маршрутизация с Traffic Manager

www.yourapp.com

Page 21: DevCon School. Modern Mobile and Web Development

Умная маршрутизация с Traffic Manager

www.yourapp.com

Page 22: DevCon School. Modern Mobile and Web Development

Staging

Page 23: DevCon School. Modern Mobile and Web Development

Staging

Page 24: DevCon School. Modern Mobile and Web Development

Staging

Page 25: DevCon School. Modern Mobile and Web Development

Staging

Page 26: DevCon School. Modern Mobile and Web Development

Testing in Prod.

100%80%

20%

Page 27: DevCon School. Modern Mobile and Web Development

WebJobs

Page 28: DevCon School. Modern Mobile and Web Development

WebJobs

Page 29: DevCon School. Modern Mobile and Web Development

Гибридная интеграция

BIZTALK SERVICES

Page 30: DevCon School. Modern Mobile and Web Development

Serverless PaaS

Page 31: DevCon School. Modern Mobile and Web Development
Page 32: DevCon School. Modern Mobile and Web Development

Azure FunctionsВыполнение кода в виде реакции на события.

Page 33: DevCon School. Modern Mobile and Web Development

API Management-as-a-ServiceУправление API

Page 34: DevCon School. Modern Mobile and Web Development

Портал

публикатора

Прокси

Портал

разработчикаРАЗРАБОТЧИКИ API

ПРИЛОЖЕНИЯ

ПУБЛИКАТОРЫ API

Могут быть размещены

где угодно.

Могут быть разработаны

на любой технологии.

БЭКЕНД-

СЕРВИСЫ

Page 35: DevCon School. Modern Mobile and Web Development

Microsoft Azure

Azure API ManagementАДАПТАЦИЯ

Форматы, протоколы, URIs, агрегация

ПУБЛИКАЦИЯ

Определение, упаковка, подписки, документация

ЗАЩИТА

Авторизация, квоты, лимиты, валидация запросов

ПОНИМАНИЕ

Использование, здоровье, задержки, активность, тренды

УПРАВЛЕНИЕ

Жизненный цикл, версионирование, мониторинг

Page 36: DevCon School. Modern Mobile and Web Development

Multi-region deployment

Developer portal delegation

Custom subscription keys

Azure VPN support

Azure Active Directory support

API import from Swagger 2.0

Improved response caching

Improved API import

Improved console and documentation

Check Header policy

Validate JWT policy

Set backend policy

Set body policy

Control flow policy

Set context variable policy

Policy expressions

and more...

Page 37: DevCon School. Modern Mobile and Web Development

Новые возможности

Больше деталей на https://azure.microsoft.com/en-us/services/api-management/

Page 38: DevCon School. Modern Mobile and Web Development

Mobile Backend-as-a-ServiceМобильный бэкенд по запросу

Page 39: DevCon School. Modern Mobile and Web Development

Данные

Идеальный бэкенд для мобильных приложений – это… Azure Mobile App

SQL

REST A

PI, O

pen

So

urc

e S

DK

s

Пуш-уведомления

Серверный код

Git

Custom REST

Web APICRON

Аутентификация

Facebook Twitter

Microsoft Account

GoogleActive

Directory

TableBlobs

SQLSQL

SQL

Обработка

CRUD

Node.js, NPM

MongoDB

Масштабирование по

требованию и автоматически

Бесплатный тариф

Администрирование, скрипты,

мониторинг, логи

Store - 3rd party сервисы:

DB, Mail, SMS, Auth0, OCR, …

.NET/C#

Kindle

Remote

Debug

Off

lin

e m

od

e

Baidu

Page 40: DevCon School. Modern Mobile and Web Development

On-Premises Cloud Services

CMSERPDB

SECURE INTEGRATION

User

Directory

CRM

Marketing Automation

Document Automation

IaaS / PaaS

Cloud

Services

Page 41: DevCon School. Modern Mobile and Web Development

Общая база кода на C# • 100% доступ к нативным API • Производительность

iOS C# UI Windows C# UIAndroid C# UI

Общий код C# C# Server

Linux/Mono

CoreCLRAzure

Общий код C# Client/Server

Page 42: DevCon School. Modern Mobile and Web Development

Мобильная платформа Xamarin

Page 43: DevCon School. Modern Mobile and Web Development

Разработка

клиента

Бэкенд-как-сервис

Обработка данных

МобильныйDevOps

Безопасность и управление

Page 44: DevCon School. Modern Mobile and Web Development
Page 45: DevCon School. Modern Mobile and Web Development

Alaska Airlines имеет 75 –летнюю историю и более 17

миллионов клиентов. Компания стала первой северо-

американской авиакомпаний, которая стала продавать

свои билеты онлайн и распечатывать посадочные

талоны через интернет.

Им необходимо было реализовать все необходимые

функции текущего десктоп-приложения и разместить

свое решение на всех популярных мобильных ОС.

Задача стояла – создать приложения для клиентов и

внутреннее приложение для 15 000 сотрудников.

С помощью Xamarin, Azure, Visual Studio Team Services и

Hockey App они нашли быстрый способ реализовать

задуманное.

Page 46: DevCon School. Modern Mobile and Web Development

DevOps в компании Coca Cola Bottling

Coca-Cola Bottling Co. Крупнейший димтрибьютер

продукции Coca-Cola в США, с оборотом в $1.5

миллиарда в год. Команда продавцов в точках

используют приложение Xamarin Marketplace на iPad,

которое позволяет им продавать больше напитков и

проводить маркетинговые акции с помощью различных

програм продажи.

Команда Coca-Cola:

• Внедрила DevOps среди распределенных команд с

помощью Visual Studio Team, Xamarin, Azure и Visual

Studio Team Services

• Позволила работать с удаленными

местоположениями или узлами клиентов с

ограниченным доступом к сети с помощью офлайн -

синхронизации Azure.

• Прокачали внутреннюю .NET экспертизу для

написания приложений за четыре месяца

Page 47: DevCon School. Modern Mobile and Web Development

Промсвязьбанк Интач страхование

CoinKeeper

Lecta

Инстамарт

Huyndai

EventHall

ФК Зенит

Буквоед

Ароматный Мир

И т.д.

Page 48: DevCon School. Modern Mobile and Web Development

© 2016 Microsoft Corporation. All rights reserved.