Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Peardrop CMS 0.2.3
  • CommaFeed 0.0.1
  • Squash
  • Pick-a-Color 1.1.5
  • MVIS Security Center 1....
  • EasyZoom 1.0.3
  • jQueryGantt
  • IMDBPHP 2.1.8
  • Dynamic WordPress Form ...
  • PathFinding.js 0.4.1
  • Home > Scripts > Programming Methods and Algorithms

    JS.Class 3.0

    download button


    Downloads: 236  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    James Coglan | More scripts
    jsclass.jcoglan.com
    MIT License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    JavaScript
    March 7th, 2011, 12:47 GMT [view history]
    C: \ Programming Methods and Algorithms

     Read user reviews (0)  Refer to a friend  Subscribe

    JS.Class description

    These are a set of packages to write robust object-oriented programs in JavaScript

    It is a port and advanced implementation of Ruby's core object/module/class system in JavaScript code, as well as several standard Ruby libraries and various other extensions.

    Here are some key features of "JS.Class":

    General Features:
    · Method binding
    · Ruby-like object system with classes, mixins, and singleton methods
    · Late-binding arguments-optional super calls to parent classes and mixins
    · Included, extended and inherited hooks
    · Reflection APIs for the object system
    · Conventions for object equality, comparison, iteration and hashing
    · Versions of various standard Ruby modules and data structures

    Works with:
    · Node
    · V8
    · Rhino
    · Narwhal
    · SpiderMonkey
    · Windows Script Host

    Requirements:

    · JavaScript enabled on client side

    What's New in This Release: [ read full changelog ]

    · All components now run on a much wider array of platforms
    · JS.Class is now tested using its own test framework, JS.Test.
    · New libraries: Benchmark, Console, Deferrable, OrderedHash, Range, OrderedSet, TSort.
    · HashSet has become the base Set implementation, and the original Set implementation has been removed
    · StackTrace has been totally overhauled to support extensible user-defined tracing functionality
    · New core method Module#alias() for aliasing methods
    · User-defined keyword methods using Method.keyword()
    · JS.Class no longer supports subclassing the Class class
    · Module#instanceMethod() returns a Method, not a Function
    · Enumerable#grep() now supports selecting by type, e.g. items.grep(Array). It does not support functional predicates like items.grep(function(x) { return x == 0 }), you should use Enumerable#select() for this
    · Objects with the same properties, and Arrays with the same elements are now considered equal when used as Hash keys
    · MethodChain#fire() is now called MethodChain#__exec__()
    · JS.Ruby has been removed



    TAGS:

    Ruby core | OOP JavaScript | object system | object | model | class

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM