Details

Designing Platform Independent Mobile Apps and Services


Designing Platform Independent Mobile Apps and Services


1. Aufl.

von: Rocky Heckman

44,99 €

Verlag: Wiley
Format: EPUB
Veröffentl.: 14.09.2016
ISBN/EAN: 9781119060185
Sprache: englisch
Anzahl Seiten: 256

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<p>Presents strategies to designing platform agnostic mobile apps connected to cloud based services that can handle heavy loads of modern computing</p> <ul> <li>Provides development patterns for platform agnostic app development and technologies</li> <li>Includes recommended standards and structures for easy adoption</li> <li>Covers portable and modular back-end architectures to support service agility and rapid development</li> </ul>
<p>LIST OF FIGURES xi</p> <p>LIST OF TABLES xiii</p> <p>PREFACE xv</p> <p>ACKNOWLEDGMENTS xvii</p> <p><b>CHAPTER 1 THE MOBILE LANDSCAPE 1</b></p> <p>1.1 Introduction 1</p> <p>1.2 Previous Attempts at Cross-Platform 2</p> <p>1.2.1 Java 2</p> <p>1.2.2 Early Web Apps 5</p> <p>1.2.3 Multiple Codebases 7</p> <p>1.3 Breadth Versus Depth 9</p> <p>1.4 The Multi-Platform Targets 10</p> <p>1.4.1 Traditional 10</p> <p>1.4.2 Mobile 11</p> <p>1.4.3 Wearables 12</p> <p>1.4.4 Embedded 13</p> <p><b>CHAPTER 2 PLATFORM-INDEPENDENT DEVELOPMENT TECHNOLOGIES 15</b></p> <p>The Golden Rule 15</p> <p>2.1 Vendor Lock-In 16</p> <p>2.2 Recommended Standards and Guidelines 18</p> <p>2.2.1 Respecting the Device 18</p> <p>2.2.2 Respecting the Network 19</p> <p>2.2.3 Communication Protocols 21</p> <p>2.2.4 Data Formats 31</p> <p>2.2.5 Mobile User Experience Guidelines 40</p> <p>2.2.6 Authentication 45</p> <p>2.2.7 Dealing with Offline and Partially Connected Devices 47</p> <p>2.3 Wrapping Up 63</p> <p><b>CHAPTER 3 PLATFORM-INDEPENDENT DEVELOPMENT STRATEGY 64</b></p> <p>3.1 High-Level App Development Flow 64</p> <p>3.2 Five-Layer Architecture 65</p> <p>3.3 Five-Layer Architecture Detail 66</p> <p>3.3.1 The User Interface Layer 66</p> <p>3.3.2 The Service Interface Layer 68</p> <p>3.3.3 The Service Layer 69</p> <p>3.3.4 The Data Abstraction Layer 70</p> <p>3.3.5 The Data Layer 70</p> <p><b>CHAPTER 4 THE USER INTERFACE LAYER 72</b></p> <p>4.1 Porting Versus Wrapping 72</p> <p>4.2 Multi-Client Development Tools 73</p> <p>4.2.1 PhoneGap (http://phonegap.com/) 73</p> <p>4.2.2 Xamarin (http://xamarin.com/) 74</p> <p>4.2.3 Unity (http://www.unity3d.com) 75</p> <p>4.2.4 Visual Studio 76</p> <p>4.3 Cross-Platform Languages 76</p> <p>4.4 Avoid Writing for the Least Common Denominator 77</p> <p>4.5 Wrapping Up 78</p> <p><b>CHAPTER 5 THE SERVICE INTERFACE LAYER 79</b></p> <p>5.1 Message Processing 79</p> <p>5.1.1 Push versus Pull 80</p> <p>5.1.2 Partially Connected Scenarios 81</p> <p>5.2 Message Processing Patterns 82</p> <p>5.3 High-Volume Messaging Patterns 85</p> <p>5.3.1 Queue Services and Microsoft Azure Event Hubs 86</p> <p>5.3.2 Web Sockets 89</p> <p>5.4 High-Volume Push Notifications 91</p> <p>5.4.1 Third Party Notification Hubs 93</p> <p>5.5 Message Translation and Routing 97</p> <p>5.5.1 Message Translation 97</p> <p>5.5.2 Message Routing 103</p> <p>5.5.3 Handling Large Amounts of Data 108</p> <p>5.6 Wrapping Up 111</p> <p><b>CHAPTER 6 THE SERVICE LAYER 114</b></p> <p>6.1 Thinking in Nodes 114</p> <p>6.1.1 Scale Out and Scale Up 114</p> <p>6.1.2 Scale Out versus Scale Up 114</p> <p>6.2 Planning for Horizontal Scaling 117</p> <p>6.2.1 Node Sizing 117</p> <p>6.2.2 Statelessness 120</p> <p>6.3 Designing Service Layers for Mobile Computing 121</p> <p>6.3.1 Service Componentization 122</p> <p>6.4 Implementation Abstraction 124</p> <p>6.4.1 Service Interface Abstraction 124</p> <p>6.5 Using CQRS/ES for Service Implementation 127</p> <p>6.5.1 CQRS Overview 127</p> <p>6.5.2 Why CQRS 129</p> <p>6.5.3 Being Able to Separate Data Models 129</p> <p>6.5.4 Aggregates and Bounded Contexts 131</p> <p>6.5.5 The Read and Write Sides 132</p> <p>6.5.6 CQRS Communications 132</p> <p>6.6 Side by Side Multi-Versioning 140</p> <p>6.7 Service Agility 141</p> <p>6.8 Consumer, Business, and Partner Services 141</p> <p>6.9 Portable and Modular Service Architectures 142</p> <p>6.9.1 Designing Pluggable Services 145</p> <p>6.9.2 Swapping Services 147</p> <p>6.9.3 Deployment and Hosting Strategies 151</p> <p>6.10 Wrapping up 152</p> <p><b>CHAPTER 7 THE DATA ABSTRACTION LAYER 154</b></p> <p>7.1 Objects to Data 154</p> <p>7.2 Using the DAL with External Services 157</p> <p>7.3 Components of a DAL 159</p> <p>7.3.1 Data Mapper 160</p> <p>7.3.2 Query Mapper 161</p> <p>7.3.3 Repository 166</p> <p>7.3.4 Serializers 168</p> <p>7.3.5 Storage Consideration 169</p> <p>7.3.6 Cache 172</p> <p>7.4 Wrapping Up 174</p> <p><b>CHAPTER 8 THE DATA LAYER 176</b></p> <p>8.1 Overview 177</p> <p>8.2 Business Rules in the Data Layer 178</p> <p>8.3 Relational Databases 178</p> <p>8.4 NoSQL Databases 181</p> <p>8.4.1 Key Value Database 183</p> <p>8.4.2 Document Database 186</p> <p>8.4.3 Column Family Databases 189</p> <p>8.4.4 Graph Database 194</p> <p>8.4.5 How to Choose? 197</p> <p>8.5 File Storage 197</p> <p>8.6 Blended Approach 200</p> <p>8.6.1 The Polyglot Data Layer 201</p> <p>8.7 Wrapping up 203</p> <p><b>CHAPTER 9 STRATEGIES FOR ONGOING IMPROVEMENT 204</b></p> <p>9.1 Feature Expansion 204</p> <p>9.1.1 User Interface 206</p> <p>9.1.2 Service Interface Layer 206</p> <p>9.1.3 Service Layer 206</p> <p>9.1.4 Data Abstraction Layer 206</p> <p>9.1.5 Data Layer 207</p> <p>9.2 Data Collection Matters 207</p> <p>9.3 Multi-Versioning 209</p> <p>9.4 Version Retirement 212</p> <p>9.4.1 Scale Back 214</p> <p>9.5 Client Upgrades 216</p> <p>9.6 Wrapping Up 220</p> <p><b>CHAPTER 10 CONCLUSION 221</b></p> <p>REFERENCES 225</p> <p>INDEX 229</p>
<p><b>Rocky Heckman</b> works for Microsoft Corporation. He acts as an architectural advisor and technical consultant to Microsoft's partners and customers on the topics of HoloLens, Windows Azure, Windows 10 Universal Apps, and SQL server. He received his bachelor's degree in software engineering at the University of Canberra, Australia, and certification in C++ programming, object-oriented programming, and project management at the Colorado Technical University.
<p><b>Presents strategies for designing platform agnostic mobile apps connected to cloud-based services able to handle the heavy loads of modern computing</b> <p>This book explains how to create an innovative and future proof architecture for mobile apps by introducing practical approaches to increase the value and flexibility of their service layers and reduce their delivery time. <i>Designing Platform Independent Mobile Apps and Services</i> begins by describing the mobile computing landscape and previous attempts at cross-platform development. Platform independent mobile technologies and development strategies are described in chapters two and three. Communication protocols, details of a recommended five-layer architecture, service layers, and the data abstraction layer are also introduced in these chapters. Cross-platform languages and multi-client development tools for the User Interface (UI) layer, as well as message processing patterns and message routing of the Service Interface (SI) layer are explained in chapters four and five. Ways to design the service layer for mobile computing, using Command Query Responsibility Segregation (CQRS), and the Data Abstraction Layer with external services, as well as strategies to deploy and host portable and modular service architectures are included in chapters six and seven. The last chapters cover the foundation of the data layer and polyglot data layer, as well as strategies for ongoing improvements for apps and services. <ul> <li>Provides development patterns for platform agnostic app development and technologies</li> <li>Includes recommended standards and structures for easy adoption and extensibility</li> <li>Covers portable and modular back-end architectures to support service agility, rapid development, and future proof service designs</li> </ul> <p><i>Designing Platform Independent Mobile Apps and Services</i> is geared towards mobile consumer and commercial app developers. It is also useful for students interested in learning about modern application development.

Diese Produkte könnten Sie auch interessieren:

Pulsed Power
Pulsed Power
von: Gennady A. Mesyats
PDF ebook
341,33 €
High-Frequency Oscillator Design for Integrated Transceivers
High-Frequency Oscillator Design for Integrated Transceivers
von: J. van der Tang, Dieter Kasperkovitz, Arthur H.M. van Roermund
PDF ebook
149,79 €
MEMS Vibratory Gyroscopes
MEMS Vibratory Gyroscopes
von: Cenk Acar, Andrei Shkel
PDF ebook
181,89 €