Michael Peters wrote:
> 
> Martin Marinschek wrote:
> 
>>Ok,
>>
>>if you guys agree, then I would really think that we should try to get
>>this into prototype. Why should each and every user necessarily do
>>this if it could fixed by the framework itself?
> 
> 
> I wasn't saying that the frameword should do it. I was just complaining about
> the lack of namespaces in Javascript. I think that adding a 'protoType_'
> extension to every method call and class name would be tedious and ugly (and
> would give me PHP nightmares).
> 
> Maybe something like Ajile? http://en.wikipedia.org/wiki/AJILE

Something else that's worth looking at is JSAN
(http://openjsan.org/doc/c/cw/cwest/JSAN/0.10/lib/JSAN.html) which is part of
the OpenJSAN project to create something similar to Perl's CPAN for Javascript.

This library tries also give namespaces and library path look functionality to
Javascript similar to most other major languages. Not sure how big of a change
it would be for Prototype.

But from other posts I don't think it's a problem that can be solved without
making changes to Prototype.

-- 
Michael Peters
Developer
Plus Three, LP

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to