Developing Windows 8 Apps with HTML, CSS & JavaScript...

Preview:

Citation preview

Day 1 | HTML, CSS and JavaScript Day 2 | Windows Apps using HTML & JavaScript

Module 1: HTML5 Semantic Structure Module 1: Designing a Windows 8 App

Module 2: CSS3 Selectors and Style Properties Module 2: Developing Windows 8 Apps

Module 3: Advanced Layout and Animation Module 3: Working with Contracts

MEAL BREAK MEAL BREAK

Module 4: JavaScript Core Capabilities Module 4: UI and Controls

Module 5: DOM Interactions Module 5: Interactions

Module 6: Advanced Topics Module 6: Data Access

Module Agenda

Overview

Variables

Functions

Function scope

Arrays

Objects

˃

Overview | History

1995: started in the browser (Brendan Eich | Netscape)

1997: formalized by ECMAScript

2009: moved to the backend (node.js)

2012: moved to the client (Windows 8)

Overview | Language Characteristics

prototype-based

dynamic and weakly-typed

first-class functions

C-like syntax

Module Agenda

Overview

Variables

Functions

Function scope

Arrays

Objects

˃

Variables

types (string, number, boolean, array, object, null, undefined)

declarations

Module Agenda

Overview

Variables

Functions

Function scope

Arrays

Objects

˃

Functions

callable behaviors

implemented as objects

hoisting

arguments

Module Agenda

Overview

Variables

Functions

Function scope

Arrays

Objects

˃

Function Scope

defining what is accessible in code and where

encapsulation

Module Agenda

Overview

Variables

Functions

Function scope

Arrays

Objects

˃

Arrays

simple declaration/instantiation

array functions: push, pop, concat, map, filter, some, every, forEach, reduce, sort, splice, slice, join, reverse

Module Agenda

Overview

Variables

Functions

Function scope

Arrays

Objects˃

Objects

declaration

adding properties

object literals

JSON (JavaScript Object Notation)

functions are objects, too

Summary

Overview

Variables

Functions

Function scope

Arrays

Objects

Recommended