Skip to Main Content
Single Page Web Applications
book

Single Page Web Applications

by Michael Mikowski, Josh Powell
September 2013
Intermediate to advanced content levelIntermediate to advanced
432 pages
12h 10m
English
Manning Publications
Content preview from Single Page Web Applications

Chapter 3. Develop the Shell

This chapter covers
  • Describing the Shell module and its place in our architecture
  • Structuring your files and namespaces
  • Creating and styling feature containers
  • Using an event handler to toggle a feature container
  • Using the anchor interface pattern to manage application state

In this chapter, we describe the Shell, a required component of our architecture. We develop a page layout that contains our feature containers, and then adjust the Shell to render them. Next we show how the Shell manages feature containers by having it extend and retract the chat slider. We then have it capture the user click event to open and close the slider. Finally, we use the URI anchor as our state API using the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering JavaScript Single Page Application Development

Mastering JavaScript Single Page Application Development

Philip Klauzinski, John Moore

Publisher Resources

ISBN: 9781617290756Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link