dejavu - A High-Performance OOP Library For JavaScript, With Node.js Support
Join the DZone community and get the full member experience.
Join For Freedejavu is a high-performance object-oriented programming library for javascript, which can be used with node.js. if you come from other object-oriented programming languages, you might find that javascript take on oop is a bit different from the classical one.
javascript uses prototypal inheritance, which can be daunting for newcomers to the language. dejavu attempts to solve this problem by providing a javascript library which implements classical oop in javascript. there are lots of other javascript libraries which provide the same functionality as dejavu. some of the similar, already featured libraries on functionn, which you might be interested in are:
however, compared to those other oop libraries, dejavu aims to be a high-performance oop javascript library. compared to the other oop libraries for javascript, dejavu rivals most of them, even vanilla javascript. the benchmarks speak for themselves .
dejavu also comes with an optimizer which attempts to make your code written with dejavu lighter and faster. to use the optimizer, you will need to install node.js. dejavu also comes in two versions: as a normal javascript library or as an amd module.
the amd module version of dejavu allows you to seamlessly use dejavu with your script loaders such as require.js. finally, dejavu depends on the utility-belt javascript library we featured sometime back on functionn called mout . you can find more about mount here: mout - a modular utility-belt javascript library for the browser & node. js .
browser support
- ie (6+)
- chrome (4+)
- safari (3+)
- firefox (3.6+)
- opera (9+)
requirements:
none
demo:
http:/ / indigounited. com/ dejavu/
license:
mit license
Published at DZone with permission of Hirvesh Munogee, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Trending
-
Operator Overloading in Java
-
RBAC With API Gateway and Open Policy Agent (OPA)
-
Mastering Time Series Analysis: Techniques, Models, and Strategies
-
From On-Prem to SaaS
Comments