iOS and Android with Windows Azure Websites Name Title Address Website
Review Windows Azure Websites Options for service layers Storage Connections Demos in action Agenda
Windows Azure Websites
Windows Azure Web Sites
Start Simple Get started with 10 free web sites Create new sites in seconds Easily manage and scale your sites Automatic load balancing and shared storage across instances Scale out or up to reserved instances for improved performance and scale
Code Smart Use ASP.NET, ASP, PHP, or Node.js SQL Azure or MySQL databases Start with open source apps Develop with VS and WebMatrix Supports any Web development tool on any platform (Windows, OSX, Linux)
Go Live Rapid deployment for quick iteration Integrated source control with Team Foundation Server (TFS) and Git Built-in monitoring of perf and usage data Quick access to request logs, failed requests, and diagnostics
The Service Layer
Web Service Layer PHP (we’ll use this today) Node.js ASP.NET ASP
PHP and Node! PHP / Node.js! Compatible with OSX / Linux Doesn’t require Visual Studio or.NET
Storage
Storage: What are our options? Benefits: Non-relational structured storage Massive scale-out Tables Benefits: Big files..or just files. Blobs Benefits: Persistent Async Messaging Enqueue, Dequeue Queues Benefits: Relational database Database
Supported Databases
Setting up a PHP Site demo
Connecting with iOS and Android
iOS: NSURLConnection Normal HTTP Requests Android: HTTPUrlConnection Normal HTTP Requests Connecting
URL Shortener demo
Using Storage and MySQL MySQL isn’t great for file storage Windows Azure Blob Storage IS great Use PHP to get a SAS Use the SAS to upload from your app
Geolocation demo