- NativeScript for Angular Mobile Development
- Nathan Walker Nathanael J. Anderson
- 247字
- 2021-07-02 18:41:46
The sketch exercise
A good exercise for this is to sketch out a rough idea of one of your app views. You may not know what it will look like yet and that's okay; this is purely an exercise to think about the user expectations as a first step to guiding your thought process into the various sections or modules you need to construct to meet those expectations. It will also help you think about the various states the app needs to manage.
Take, for example, the app we are going to build, TNSStudio (Telerik NativeScript (TNS)). We will dive into more detail of what our app is and what exactly it will do in Chapter 2, Feature Modules.

Starting from top to bottom, we can see a header with a menu button, a logo, and a record button. Then, we have a listing of user recorded tracks, each with a (re)record button and a solo or mute button.
From this one sketch, we may think about several services the app may need to provide:
- A Player Service
- A Recorder Service
- A Persistent Store service to remember which volume level settings the user sets for each track in the recording mix and/or if the user is authenticated
We can also gain some insight into the various states the app may need to manage:
- A listing of user recordings/tracks
- Whether the app is playing audio or not
- Whether the app is in the recording mode or not
- Python快樂(lè)編程:人工智能深度學(xué)習(xí)基礎(chǔ)
- 區(qū)塊鏈架構(gòu)與實(shí)現(xiàn):Cosmos詳解
- React.js Essentials
- JavaScript 程序設(shè)計(jì)案例教程
- Linux Device Drivers Development
- 微信小程序入門(mén)指南
- Getting Started with Gulp
- 深入理解Elasticsearch(原書(shū)第3版)
- Programming with CodeIgniterMVC
- Node學(xué)習(xí)指南(第2版)
- Python機(jī)器學(xué)習(xí)之金融風(fēng)險(xiǎn)管理
- Learning Material Design
- Android嵌入式系統(tǒng)程序開(kāi)發(fā):基于Cortex-A8(第2版)
- Mudbox 2013 Cookbook
- MongoDB Cookbook