Hi,

I know this is mostly offtopic for jquery, but since
I've started using the great library I've been pushing
myself to improve my javascript code technique.  I am
sure using jquery has inspired me to be a better
javascript programmer and I am sure many of you
feeling the same way.

Two things I'd really like are a good system for
creating classes with clear inheritance and support
for java-style interfaces.  The second would be
support for namespaces and a way to include modules as
needed.

Some of the larger javascript libs have this as part
of the base deal, like Dojo for example.  But Jquery
fits my needs quite well, just looking to add in a few
missing things.

So I was hoping to pick the community brain on this. 
What do you use, if anything, to help create well
namespaced classes and for including javascript
modules via a "include('libname.js')" sort of style.

I did some research and came up with the following;
some of these fulfill certain parts of my needs and I
share them with the hope it might help another.  

A couple of libraries for making it easier to create
classes:

http://dean.edwards.name/weblog/2006/03/base/
http://www.uselesspickles.com/blog/the-class-library/
(has inheritance and interfaces)

I really didn't find anything I liked for creating
namespaces and loading modules via a more sane method.
 Two I found but didn't like so much are:

http://www.openjsan.org/doc/c/cw/cwest/JSAN/0.10/index.html
(lets you use modules and has a convention for
namespaces, but doesn't seem to place nice with either
of the above)

Ajile () seems to do it all but appears to be a large
package that I can't easily fit into my jquery style
of work.

Sincerely,
John


 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to