Wednesday, April 17, 2013

Knockout.js overview

Knockout.js javascript library helps to build dynamic, data-centric user interfaces.

Foundation for the Knockout.js library
  • MVVM --> The Model-View-ViewModel design pattern, 
  • Observables, and 
  • Bindings
Observables
- Knockout.js uses observables to expose & track a ViewModel’s properties

  • Computed Observables
    • helps to create properties that are dynamically generated.
  • Observable Arrays
    • helps native Javascript Arrays with power of Knockout.js observables

 Bindings
- Helps to connect a user interface HTMLcomponent in the view to a particular observable.

Begin learning about Knockout.js from this Step-by-Step link
http://learn.knockoutjs.com/#/?tutorial=intro
http://knockoutjs.com/

MapReduce Design Patterns


  • Summarization patterns: get a top-level view by summarizing and grouping data
  • Filtering patterns: view data subsets such as records generated from one user
  • Data organization patterns: reorganize data to work with other systems, or to make MapReduce analysis easier
  • Join patterns: analyze different datasets together to discover interesting relationships
  • Metapatterns: piece together several patterns to solve multi-stage problems, or to perform several analytics in the same job
  • Input and output patterns: customize the way you use Hadoop to load or store data