万本电子书0元读

万本电子书0元读

顶部广告

SproutCore Web Application Development电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Tyler Keating

出  版  社:Packt Publishing

出版时间:2013-09-25

字       数:70.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Written as a practical, step-by-step tutorial, Creating HTML5 Apps with SproutCore is full of engaging examples to help you learn in a practical context.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, Creating HTML5 Apps with SproutCore will help you expand your skills so that you will be ready to apply the software development principles in the web development space.
目录展开

SproutCore Web Application Development

Table of Contents

SproutCore Web Application Development

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

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

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

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

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

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

6. Testing, Building, and Deploying

Unit testing SproutCore apps

Viewing unit test results

Using frameworks and modules

Building and deploying apps

Additional configuration options

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部