O'Reilly logo

HTML5 iPhone Web Application Development by Alvin Crespo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Principles of Clean and Optimized Code

Throughout the book, we have stressed the importance of optimizing from the very start of our application development. Although we have looked at topics from caching elements in JavaScript to modularizing our styles, in this chapter we want to summarize the techniques used in the book. After all, performance is highly important in our mobile applications for several reasons. In this chapter, we will cover optimizing our styles, scripts, and media. In addition to covering optimization techniques, we'll go over good coding standards that enhance the maintainability of your codebase while also enhancing performance at the same time. We'll start out by discussing stylesheets.

In this chapter, we will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required