However, when you are developing applications for iPhone and iPod touch, you need to refocus
your programming and development efforts toward optimization and efficiency. What makes it
different from normal Web 2.0 apps is that the developer can no longer rely on the fact that the
user is accessing the application from a broadband connection. iPhone users may be coming to
your application using Wi - Fi or a much slower EDGE connection.
Therefore, as you develop your applications, you will want to formulate an optimization strategy
that makes the most sense for your context. You ??™ ll want to think about both bandwidth and code
performance optimizations.
Your Optimization Strategy
If you spend much time at all researching optimization strategy and techniques, you quickly
discover that there are two main schools of thought. The first camp is referred to as hyper - optimizers
in this book. A hyper - optimizer will do almost anything to save a byte or an unneeded call to the
Web server. They are far more concerned with saving milliseconds than they are about the readability
of the code that they are optimizing. The second camp, perhaps best described as relaxed
optimizers , are interested in optimizing their applications.
Pages:
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240