O'Reilly logo

JavaScript at Scale by Adam Boduch

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 6. User Preferences and Defaults

Any sufficiently large JavaScript application needs to configure its components. The scope and nature of our component configuration varies on an application-by-application basis. There are a number of scaling factors that need to be considered when configuring our components, and we'll address these throughout the chapter.

We'll start of by identifying the types of preferences we'll have to deal with, and the remainder of the chapter will walk through specific scaling issues concerning these preferences and how to work around them.

Preference types

There're three main types of preferences we're concerned with when designing large-scale JavaScript architectures. These are locales, behavior, and appearance. ...

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