SproutCore Web Application Development


SproutCore Web Application Development
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.94
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 194 pages [ 235mm x 191mm ]
Release Date : September 2013
ISBN : 1849517703
ISBN 13 : 9781849517706
Author(s) : Tyler Keating
Topics and Technologies : All Books, Web Development, Open Source, Web Development

Table of Contents

Preface
Chapter 1: Introducing SproutCore
Chapter 2: The Runtime Environment
Chapter 3: The View Layer
Chapter 4: The Model Layer
Chapter 5: The Controller Layer
Chapter 6: Testing, Building, and Deploying
Index
  • Chapter 1: Introducing SproutCore
    • Understanding the SproutCore approach
    • Knowing when SproutCore is the right choice
    • Building your first SproutCore application
      • Installing SproutCore
        • Installing Ruby
        • Installing the SproutCore gem
      • Creating a project
      • Adding an app to the project
      • Designing your user interface
      • Modeling your data
      • Connecting it all together
      • Working with user input
    • Summary
    • 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
        • SC.Array
        • SC.Set
        • Observing enumerables
        • Observing properties on enumerable items
      • Understanding the run loop
      • Summary
      • 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
          • Adjusting the layout
          • Animating the layout
        • Styling views
        • Rendering custom views
        • Updating custom views
        • Responding to user events in custom views
        • Summary
        • 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
            • Loaded records (READY_CLEAN)
            • Unloaded records (EMPTY)
            • To be read records (BUSY_LOADING and BUSY_REFRESH)
            • To be created records (READY_NEW)
            • To be updated records (READY_DIRTY)
            • To be destroyed records (DESTROYED_DIRTY)
          • Querying the store
          • Synchronizing data with a remote data source
          • Implementing remote data source adaptors
            • Reading records
            • Creating, updating, and destroying records
          • Summary
          • Chapter 5: The Controller Layer
            • Understanding the Controller and Application State layers
            • Working with SproutCore's controllers
              • SC.ArrayController
              • SC.TreeController
            • Designing with statecharts
            • Avoiding pitfalls with statecharts
            • Coding with statecharts
            • Summary

              Tyler Keating

              Tyler Keating is the current head of the SproutCore project, and one of the foremost experts on SproutCore, and on writing native caliber web applications using HTML5 and JavaScript. Although he began his career as an Electrical Engineer at SaskTel, a persistent desire to write software eventually led him to new jobs of writing desktop apps, then server-side web apps, then native mobile apps, and most recently, SproutCore, best of all the world's apps. He currently runs his own consulting company, 7x7 Software Inc, which provides professional software development services, as well as SproutCore training and support. Whether speaking, or writing, Tyler strives to be a compassionate and conscientious source, who recognizes that nothing is ever black or white, but nevertheless tries to clear the shades of grey, and deliver something concrete and usable to every receiver. He lives in Regina, Canada, with his wife and three daughters.
              Sorry, we don't have any reviews for this title yet.

              Code Downloads

              Download the code and support files for this book.


              Submit Errata

              Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

              Sample chapters

              You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

              Frequently bought together

              SproutCore Web Application Development +    Apache MyFaces Trinidad 1.2: A Practical Guide =
              50% Off
              the second eBook
              Price for both: $39.00

              Buy both these recommended eBooks together and get 50% off the cheapest eBook.

              What you will learn from this book

              • 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.

              Approach

              Written as a practical, step-by-step tutorial, SproutCore Web Application Development is full of engaging examples to help you learn in a practical context.

              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.

              Code Download and Errata
              Packt Anytime, Anywhere
              Register Books
              Print Upgrades
              eBook Downloads
              Video Support
              Contact Us
              Awards Voting Nominations Previous Winners
              Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
              Resources
              Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software