官术网_书友最值得收藏!

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
主站蜘蛛池模板: 衡阳县| 泰安市| 巴塘县| 呼图壁县| 庆城县| 唐山市| 台前县| 若羌县| 于都县| 宁陵县| 获嘉县| 甘孜县| 武山县| 无锡市| 常德市| 潞西市| 怀柔区| 林西县| 康平县| 西乌珠穆沁旗| 湾仔区| 黔东| 富民县| 宁夏| 乌审旗| 榆社县| 博乐市| 肥城市| 永登县| 堆龙德庆县| 康保县| 鹤庆县| 南和县| 青铜峡市| 云龙县| 江津市| 和林格尔县| 鸡泽县| 台湾省| 太和县| 六盘水市|