widged.com
 

object-oriented, tagged pages

Overview

Pages

%2008/%09/%14 %00:%SepMarielle Lange * singleton A language is called object-oriented if it supports inheritance, encapsulation and polymorphism. * Inheritance * Inheritance allows…,
%2012/%03/%12 %19:%MarMarielle Lange Definition * multi-purpose * commoditized services * API abstraction * best practices built-in * globally available (js limitation) * “ever…,
%2012/%03/%12 %01:%MarMarielle Lange (source: Rethinking JavaScript Objects) Dispatching property change event (source: Rethinking JavaScript Objects) Data type validation Creating …,
%2012/%03/%14 %03:%MarMarielle Lange A facade serves as an abstraction of the application core which sits between the mediator and our modules - it should ideally be the only other part of th…, ,
%2012/%03/%14 %19:%Mar  See also: * Inheritance Systems Types * prototypical-inheritance (aka, object-based inheritance or inheritance by delegation). Extends method. Li…, ,
%2012/%03/%13 %16:%MarMarielle Lange Loose coupling allows you to make changes to one module without afecting the others. Module Rules Module Sandbox (aka Module Library shared across modu…,
%2012/%03/%12 %04:%MarMarielle Lange See also: * JQuery Plugins * CommonJS modules What is a Module? * Strict definition from Wikipedia * single-purpose * self-contained * in…,
%2012/%03/%12 %01:%MarMarielle Lange To avoid the perils of globally scoped variables and functions, it is advisable to create a single global object for the purposes of namespacing the rest …,
%2012/%03/%14 %02:%MarMarielle Lange If you find yourself not requiring specific properties or methods to be private, the object literal pattern is a more than suitable alternative. Note: (1…,
%2012/%03/%06 %19:%MarMarielle Lange js * scope * closure oo-js * namespace (simulating it) * static (properties and methods) * private (simulating it) * accessors (getters and …
%2012/%03/%12 %01:%MarMarielle Lange Simulating Private Properties A local variable in a function is normally not accessible from outside the function. After the function exits, for all prac…,
%2012/%03/%14 %18:%MarMarielle Lange A case of object-based inheritance objects inherit from objects (source: Advanced WEb applications with OO Javascript) As Douglas Crockford says in …, ,
%2012/%03/%12 %19:%MarMarielle Lange,
%2012/%03/%12 %01:%MarMarielle Lange static properties and methods (source: Advanced WEb applications with OO Javascript),
%2012/%03/%14 %23:%MarMarielle Lange Classes have too many responsibilities in programming [3]. In many languages, classes are the prime (or only) mechanism for the conceptual classification…
%2012/%03/%14 %18:%Mar  Systems * traits-inheritance * mixin-inheritance Languages * JavaScript Inheritance in object-oriented languages is well-established as an incr…,
%2012/%03/%14 %20:%MarMarielle Lange Aspect-oriented programming (AOP) is a form of metaprogramming, where advice is weaved into existing code [21]. (source: Metaprogramming with Traits, PD…,
%2012/%03/%14 %18:%MarMarielle Lange Classes inheriting from classes. The simplest model, adopted, e.g., in Java [Sun 2007] and C# [Microsoft 2007]. The inheritance relation forms a tree, an…,
%2012/%03/%14 %18:%Mar  Systems * class-based * object-based * multiple-inheritance * traits * mixin * aspect * behavior Implementations * JavaScript In gen…,
%2012/%03/%12 %01:%MarMarielle Lange See also: * Inheritance Systems Types * prototypical-inheritance (aka, object-based inheritance or inheritance by delegation). Extends method. Li…, ,
%2012/%03/%14 %18:%MarMarielle Lange Implementations: * Sencha Class Mixins Mixins. There are essentially two kinds of mixins, mixin-classes and mixin- modules. A mixin-class is like a c…,
%2012/%03/%14 %18:%MarMarielle Lange A richer but debated model (adopted, e.g., in C++ [Stroustrup 1997]): a derived class can inherit from many parent classes (forms an inheritance directed …,
%2012/%03/%14 %18:%MarMarielle Lange Also called delegation-based inheritance or prototypical inheritance in Javascript e.g., in Self [Ungar and Smith 1987] and Obliq [Cardelli 1995]. The …,
%2012/%03/%14 %18:%MarMarielle Lange * Why, What, When * Composition Mechanisms * Implementation * Concerns Traits vs Class A class has contradicting goals * Generator of instanc…, ,
%2012/%03/%16 %22:%MarMarielle Lange Why traits? Traits are a programming language technology that promote the reuse of methods between unrelated classes. (source: Applying Traits to the Sm…, , ,
%2012/%03/%14 %21:%MarMarielle Lange A system is a group of interconnected modules, that together fulfill some useful functionality. An interface specifies a set of services, including condi…,
%2010/%07/%12 %18:%Jul  (source all 1) An operation is an identifiable entity that denotes the indivisible primitive of service provision that can be requested. The act of reques…, , ,
%2010/%07/%12 %18:%Jul  See also: * IDL -- Interface Definition Language * Designing Interface Components An interface is a description of a set of possible operations th…, , , ,
%2010/%07/%12 %18:%Jul  An interface may have attributes. An attribute is logically equivalent to declaring a pair of accessor functions: one to retrieve the value of the attribu…, ,
%2010/%07/%12 %18:%Jul  (source: all 1) A type is an identifiable entity with an associated predicate (a single-argument mathematical function with a boolean result) defined ove…, ,
%2007/%06/%23 %06:%JunMarielle Lange References * Object-Oriented Analysis and Design using the UML. Courseware by QA Group Ltd. * OOP Demystified. A self-teching guide. By Jim Keogh and …,
%2010/%07/%12 %18:%Jul  Overview * Which classes and objects exist * How objects interact * How objects behave over time * Structural relationships between classes. Good…, ,
 
tags/object-oriented.txt · Last modified: 2012/03/14 20:52 by marielle
 
RSS - Banner by widged, template © 7throot HeadQuarters, 2007