My employer, Benchmark Solutions, has released this open source
framework y'all may enjoy:

https://github.com/benchmark-solutions/methadone

It introduces declarative Modules & Classes into Javascript through
some overloaded labels & runtime code reflection (though the code
reflection can also be run in advance on the server ...), essentially
amounting to a small DSL for static dependency analysis &
namespacing.

Though there are many frameworks available for this, we felt there was
nothing which satisfied everything we wanted:

1) Does not load scripts via XHR or document.write("<script ... "), as
we feel that these types of loading tricks obscure the debugging
process & make writing reusable libraries tied to a specific
implementation.
2) Does not require a separate preprocessor, code transformation or
compilation step to run in the browser - though powerful, we wanted
the code you see in the browser to be the exact same code you wrote in
your IDE.
3) Has a clean API that doesn't "get in the way" of how you already
write javascript - a framework that provides a class construct
shouldn't reinvent the wheel with regards to Javascript's existing
prototype system.

There are some existing bugs and questionable design decisions, but we
would love constructive feedback from the community!

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to