Displaying 1 to 5 from 5 results

light-traits - Light traits in javascript with some syntax sugar

Traits are a flexible language feature to factor out and recombine reusable pieces of code. They are a more robust alternative to multiple inheritance or mixins. They are more robust because name clashes must be resolved explicitly by composers, and because trait composition is order-independent (hence more declarative). To put it simply: if you combine two traits that define a method with the same name, your program will fail. Traits won't automatically give precedence to either one. This is a big statement and maybe not entirely correct but, few API differences makes working with traits less verbose and there for more pleasant. See examples section to find a difference.

pyface - pyface: traits-capable windowing framework

The pyface project contains a toolkit-independent GUI abstraction layer, which is used to support the "visualization" features of the Traits package. Thus, you can write code in terms of the Traits API (views, items, editors, etc.), and let pyface and your selected toolkit and back-end take care of the details of displaying them.

barman - Barman is a small library to brew JavaScript objects

Barman is a small library to brew JavaScript objects. It simplifies the definition of objects using single-inheritance and traits like composition.

cop - Context-oriented programming with traits in Javascript

Context-oriented programming with traits in Javascript. Cop.js gives better maintainability and evolution to web applications by providing contexts and traits. Cop.js is based on the context-oriented programming paradigm where objects are adapted at runtime with different behavior depending on active contexts.