The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

19
The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7 By: Lonnie A. Bowling, DST Controls

Transcript of The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

Page 1: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

The Perfect Storm:

PI Systems, Cloud Services, and Windows Phone 7

By: Lonnie A. Bowling, DST Controls

Page 2: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

2 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

“90 million Americans will use a tablet device in

2014”

- eMarketer a Digital Marketing Research Firm, November 2011

“Sony Ericsson Sold 22 Million Android Devices

To Date, Going Smartphone-Only In 2012”

- Techcrunch, August 2011

Page 3: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

3 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

“A Few Years From Now, Most Every Single Person

At Facebook Is Going To Be Working On Mobile”

- Bret Taylor, Facebook CTO, October 22nd 2011 interview for Techcrunch

Page 4: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

4 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

“I don’t see a field that will grow and prosper

more than automation, but the appeal to the new

people will depend upon the adoption of the

tools that they are comfortable with—like, how

would you tune a controller with an iPhone, and

does your plant text you when it is in trouble?”

- Pat Kennedy, Founder and CEO, OSIsoft, February 2009

Page 5: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

5 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

One Year Ago Goals

• Write a mobile app for my

Windows Phone 7

• Have PI Notifications push

alerts to my phone

• Use Azure Cloud Services to

provide access to a PI System

Page 6: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

6 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

What We are Covering

• Review the Design

• Demo the App

• Technical Details

• My Take-Away

• (Sorry No Code Review, but…)

Page 7: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

7 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

System Architecture

On-Premise Server

PI System

PI

Notifications

Azure

Cloud

Service

Service

Bus

Push

Notifications

Data

Request

Data Delivery

Conn

ect S

erv

ice

Page 8: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

© C o p y r i g h t 2 0 1 1 O S I s o f t , L L C 8

Page 9: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

9 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

• PI SDK, AF SDK

• PI Notifications Web Service Endpoint

• Uses Azure Service Bus

Connect Service

Page 10: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

10 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

Traditional

Hardware

Software

IT Activities

App/Data

Infrastructure as a

Service

Hardware

Software

IT Activities

App/Data

Platform as a

Service

Hardware

Software

IT Activities

App/Data

What is a Cloud Service?

Page 11: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

© C o p y r i g h t 2 0 1 1 O S I s o f t , L L C 11

Page 12: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

12 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

Azure Cloud Services

• Web and Worker Roles

• Services Buses

• Access Control (ACS)

• Blob Storage and Table Space

• SQL Database

• Much more… Visit Azure Website

Page 13: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

13 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

Mobile - Things to Consider

• Always with you

• Touch

• Location

• Social interaction

• Tablets

Page 14: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

14 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

Mobile Apps – Two Directions

• Native - richest user experience

– Fragmented platforms (iPhone, Android, WP7)

• HTML5/Javascript – widely supported

– Not as fully featured as native

Page 15: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

15 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

Windows Phone 7 Development

• Based on Silverlight (C#/VB/XAML)

• Metro Style

• Fast prototyping

• Visit “App Hub” to get started

Page 16: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

16 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

What I Learned

• Shift my thinking to service architecture

• Steep learning curve, but it gets easier

• Azure has improved over the year

• Security is a big concern

• Growing number of examples and tutorials

online for phone and cloud

Page 17: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

© C o p y r i g h t 2 0 1 1 O S I s o f t , L L C 17

Lonnie A. Bowling

Find me in the Developers Lounge!

Code Walk-Throughs

Questions/Answers

Just to Talk Mobile

[email protected] @lonniebowling

#VCL11

Page 18: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

18 © C o p y r i g h t 2 0 1 1 O S I s o f t , L L C

How will people access data in the future?

Page 19: The Perfect Storm: PI Systems, Cloud Services, and Windows Phone 7

Thank you

© C o p y r i g h t 2 0 1 1 O S I s o f t , L L C