1. Trang chủ
  2. » Công Nghệ Thông Tin

KnockoutJS Starter docx

51 776 9

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Cấu trúc

  • Cover

  • Copyright

  • Credits

  • About the author

  • About the reviewer

  • www.PacktPub.com

  • www.PacktLib.PacktPub.com

  • Table of Contents

  • KnockoutJS Starter

    • So, what is Knockout?

      • Knockout – A JavaScript library

      • Knockout – A Model-View-ViewModel (MVVM) library

    • Installation

      • Step 1 – What do I need?

      • Step 2 – Create a starter site

      • Step 3 – Download Knockout

      • Step 4 – Create our main application JavaScript file

      • Step 5 – Run the application

      • Summary

    • Quick start

      • Business overview

      • 1 – Defining a namespace

      • 2 – Creating our Model

      • 3 – Creating a View for our Model

      • 4 – Creating a ViewModel to manage our Models

      • 5 – Working with Observable Arrays

      • 6 – Adding and removing Models from an Observable Array

      • 7 – Editing properties of a Model

      • 8 – Setting up a Master-Details view

      • Step 9 – Applying bindings

      • Summary

    • Top features you'll want to know about

      • Subscribables

      • Observables

      • Observable Arrays

      • Computed Observables

      • Utilities

      • Data-bind statements

      • Applying bindings

      • Binding handlers

      • Summary

    • People and places you should get to know

      • Official sites

      • Articles and tutorials

      • Community

      • Blogs

      • Twitter

Nội dung

[...]... Applying bindings 31 Binding handlers 31 Summary 34 People and places you should get to know 35 Official sites 35 Articles and tutorials 35 Community 36 Blogs 36 Twitter 36 [ ii ] KnockoutJS Starter Welcome to KnockoutJS Starter This book focuses on giving the reader a firm understanding of the core concepts of Knockout, such as MVVM and data binding, and works through real-life app development scenarios... (various css files) /JS (various js files) Index.html 6 KnockoutJS Starter The JS folder will house all of our JavaScript files, and the CSS folder will house any CSS files that we use in our Knockout app We can create this site structure in a number of ways, but my favorite way is to just visit http://html5boilerplate.com/ and download their starter site It provides a site structure (or Boilerplate)... charset="utf-8" /> Knockout Starter Guide Hello World! This will be the starting point for developing our app We have left placeholders for our JavaScript and CSS files, and we have created a "Content" area for the majority of our markup to be placed 7 KnockoutJS Starter Step 3 – Download... the traditional HTML script tag The following HTML example illustrates how we use these at the bottom of the page to reference our JavaScript files 8 KnockoutJS Starter Knockout Starter Guide Hello World! . class="bi x0 y0 w0 h1" alt="" KnockoutJS Starter Learn how to knock out your next app in no time with KnockoutJS Eric M. Barnard BIRMINGHAM - MUMBAI KnockoutJS Starter Copyright © 2012 Packt. 35 Ocial sites 35 Articles and tutorials 35 Community 36 Blogs 36 Twitter 36 KnockoutJS Starter Welcome to KnockoutJS Starter. This book focuses on giving the reader a rm understanding of the. Contents KnockoutJS Starter 1 So, what is Knockout? 3 Knockout – A JavaScript library 3 Knockout – A Model-View-ViewModel (MVVM) library 3 Installation 6 Step 1 – What do I need? 6 Step 2 – Create a starter

Ngày đăng: 29/03/2014, 02:20

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN