If you can't read please download the document
Upload
milfont-consulting
View
708
Download
0
Embed Size (px)
Citation preview
Javascript Orientado a Objetos
Christiano Milfont
Introduo
Procedural code gets information then makes decisions. Object-oriented code tells objects to do things.Alec Sharp
Prototype-based
JSON (Javascript Object Notation)
Factory Vs Construtor Vs Prototype
Private vs Public
Polimorfismo
Associao
Overloading e Overriding
Alternativa de Overloading
Herana via Object Masquerading
Herana via call e apply
call(Objeto, argumento1, argumento2, ...)apply(Objeto, array-de-argumentos)
Herana via call e apply - cont.
Herana via Prototype