[Bdotnet] Cloud connected mobile apps

Download [Bdotnet] Cloud connected mobile apps

Post on 16-Jul-2015




1 download

Embed Size (px)


<ul><li><p>Architecting Cloud Connected Mobile Apps</p></li><li><p>Nish Anil </p><p>Microsoft MVP .NET &amp; a Xamarin Evangelist! @nishanil | nish@xamarin.com </p></li><li><p>Mobile Apps Target 3 platforms (iOS, Android, Windows Phone) </p><p> Create Native User Interface (iOS != Android != Windows Phone) </p><p> Provide Platform specific User Experience </p><p> High Performance </p><p> Scalable</p></li><li><p>Xamarin</p></li><li><p>Xamarin.Forms</p><p>Shared UI Code!</p><p>traditional ui code sharing with all native</p></li><li><p>Code Sharing?</p></li><li><p>Platform Divergence Platforms differ, even in subtle ways </p><p> File locations for DBs, etc. </p><p> Some shared code needs to be platform-aware </p><p> Devices differ widely, even within a platform </p><p> Hardware Features: camera, compass, NFC </p><p> Form Factor: Screen size, ratio, density</p></li><li><p>So?</p></li><li><p>X-Plat Architecture</p></li><li><p>Whats a Pattern?</p></li><li><p>Patterns Vocabulary Singleton </p><p> Faade (or Manager) </p><p> Provider (also, Simple Dependency) </p><p> Model View ViewModel (MVVM) </p><p> Model View Controller (MVC)</p></li><li><p>Singleton</p></li><li><p>Facade</p></li><li><p>Provider</p></li><li><p>MVC</p></li><li><p>MVVM</p></li><li><p>Project Structure</p></li><li><p>Demo!</p></li><li><p> public class ExpenseItem { [PrimaryKey, AutoIncrement] public int ID { get; set; } public string Name { get; set; } public double Amount { get; set; } </p><p> }</p><p>Model</p><p>public List Expenses</p></li><li><p>Scale!</p></li><li><p>Cloud Connected Apps</p><p>Azure</p><p>Parse</p></li><li><p>Initialize</p><p>await a list of data</p><p>await inserting a new object</p></li><li><p>Demo!</p></li><li><p>http://xhackers.co/xhacknight/</p></li><li><p>Questions?@nishanil | nish@xamarin.com </p></li><li><p>Thanks!</p></li></ul>