• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
JavaScript TDD
 

JavaScript TDD

on

  • 837 views

Software Craftsmanship in Israel meeting.

Software Craftsmanship in Israel meeting.
JavaScript and TDD

Statistics

Views

Total Views
837
Views on SlideShare
837
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • This can be achieved by using an MV{X} pattern.

JavaScript TDD JavaScript TDD Presentation Transcript

  • Java Script – MVVM & TDDItzik SabanItzik.saban@picscout.com
  • Agenda•Demonstration of TDD importance•Quick Intro to MVVM & Knockout.js•Quick Intro to jasmine•Example•Practicing
  • TDD Importance
  • TDD importancePossible points of failure:• Changes in UI logics• Renaming• Merges• Wrong syntax• etc.
  • Introduction to MVVM
  • Introduction to MVVMBad code for testing:
  • Introduction to MVVMGood code for testing:
  • Introduction to MVVMModel-View-ViewModel
  • Introduction to MVVMModel-View-ViewModel• The model is a set of one or morejson objects, usually representingentities in the domain.
  • Introduction to MVVMModel-View-ViewModel
  • Introduction to MVVMModel-View-ViewModel• The view is actually the html itself.
  • Introduction to MVVMModel-View-ViewModel
  • Introduction to MVVMModel-View-ViewModel• The ViewModel is a javascriptobject which is responsible tohandle the UI logics.
  • Introduction to MVVMModel-View-ViewModel
  • Introduction to MVVMModelViewModelBindingMechanism(Knockout.js)View
  • Introduction to Knockout.js
  • Introduction to Knockout.jsTextBoxHTML:ViewModel:
  • Introduction to Knockout.jsComboBoxHTML:ViewModel:
  • Introduction to Knockout.jsButtonHTML:ViewModel:
  • Introduction to jasmine
  • Introduction to jasmin