Free Sample
+ Collection

SproutCore Web Application Development

Tyler Keating

Creating fast, powerful, and feature-rich web applications using the SproutCore HTML5 framework
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849517706
Paperback194 pages

About This Book

  • Write next-gen HTML5 apps using the SproutCore framework and tools
  • Get started right away by creating a powerful application in the very first chapter
  • Build your understanding of SproutCore as you follow through the most complete reference to the framework anywhere in existence

Who This Book Is For

This book is for any person looking to write software for the Web or already writing software for the Web. Whether your background is in web development or in software development, SproutCore Web Application Development will help you expand your skills so that you will be ready to apply the software development principles in the web development space.

Table of Contents

Chapter 1: Introducing SproutCore
Understanding the SproutCore approach
Knowing when SproutCore is the right choice
Building your first SproutCore application
Chapter 2: The Runtime Environment
Building on SproutCore's object model
Using mixins to share functionality
Working with properties and computed properties
Observing properties for instant updates
Binding properties for error-free consistency
Working with enumerables
Understanding the run loop
Chapter 3: The View Layer
MVC in SproutCore
Understanding the View layer
Becoming familiar with SC.View and SC.Pane
Organizing panes using SC.Page
Laying out views
Styling views
Rendering custom views
Updating custom views
Responding to user events in custom views
Chapter 4: The Model Layer
Understanding the Model and Data Interface layers
Introducing the data store
Defining your data model
Creating custom attribute properties
Defining record relationships
Following the life cycle of SC.Record
Querying the store
Synchronizing data with a remote data source
Implementing remote data source adaptors
Chapter 5: The Controller Layer
Understanding the Controller and Application State layers
Working with SproutCore's controllers
Designing with statecharts
Avoiding pitfalls with statecharts
Coding with statecharts
Chapter 6: Testing, Building, and Deploying
Unit testing SproutCore apps
Using frameworks and modules
Building and deploying apps

What You Will Learn

  • Use SproutCore’s object model to organize code into classes, subclasses, and mixins
  • Observe and bind properties across the code for efficient updates and error-free consistency
  • Structure code and separate responsibilities using client-side MVC
  • Define and build the user interface of extremely complex applications using SproutCore’s view library
  • Interact with remote data sources and model and store data in the client for immediate use
  • Connect an application together without messy, bug-prone controller code using SproutCore’s statechart library
  • Combine all of these skills in a repeatable process to create production-ready software
  • Test and deploy SproutCore applications

In Detail

SproutCore is a framework that exists to allow developers to deliver on the promise of the Web with more than just simple attractive demos, but with complex software and remarkable user experiences. SproutCore’s creators recognized early on that developing real web software requires the same software development tools and practices that have evolved over decades in the native software field and thus SproutCore brings these to the Web.

SproutCore Web Application Development is more than just a guide to one of the largest and most powerful web application frameworks out there, it’s also a guide to writing genre defining web applications and solving the unique problems that the web platform creates. Containing the results of thousands of hours of software development experience, this book is invaluable for anyone already writing software for the Web or just starting out.

SproutCore Web Application Development comprises of three sections. In the first section we introduce SproutCore and walk through a simple SproutCore application. From there, we look in detail at all of the main components of the framework before finally working through a rigorous real-world example from start to finish. Learning about SproutCore means learning about writing software for the Web. In this book, you will not only learn what sets SproutCore apart from other web libraries and frameworks, you will also learn about solving the difficult challenges that web development poses. We will look at all the components of an application and how to translate wireframes, mocks, and design descriptions into clean, efficient, and maintainable code using MVC, data adaptors, statecharts, and more. We will look at SproutCore’s powerful binding and observing and watch how changes propagate across our app effortlessly and magically with very little code.

By the time you complete SproutCore Web Application Development, you’ll be ready to develop your own application that redefines what it means to be a web application.


Read More

Recommended for You