I wanted to clarify. "Mootools is large based off or Moo.fx(and prototype/jQuery)>"
This is not entirely true. While moo.fx may be prototype based (the code requires prototype to function), MooTools doesn't have any ressemblences/connections to jQuery (or at least not apparent to me). The only function that has strong resemblence might be the $(), but that comes from working with prototype's $() and our philosophy to say $ returns one extended element, $$ returns many extended elements. The history behind MooTools is a little vague. I'll add it to the To do list and share it with you guys when we compose something more concrete. -Olmo M. On Aug 13, 8:42 am, Eridius <[EMAIL PROTECTED]> wrote: > Well this is true and not true. Mootoolsis based on Moo.fx which might have > been around much longer than jQuery butMootoolsi believe was released a > few months after jQuery. Mootoolsis largely based off or Moo.fx(and > prototype/jQuery) > > > > Andy Matthews-4 wrote: > > > Actually, I believe that Moo Tools has been around for quite a bit longer > > than jQuery. It was one of the first effects libraries I looked at before > > I > > ever even heard of jQuery. > > > -----Original Message----- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Eridius > > Sent: Saturday, August 11, 2007 5:37 PM > > To: jquery-en@googlegroups.com > > Subject: [jQuery] Why jQuery overMootools > > > I have been working withmootoolsfor a bit the past few months and > > started > > to take a look at jQuery too see what the hype is all about from what i > > have > > heard from a co-worker. From what i see, jQuery does not offer anything > > thatmootoolsdoes not. I mean jQuery does have > > > $().click > > > and i don't believeMootoolshas anything like that, they just have the: > > > $().addEvent('click', function(){}); > > > However this is just a shortcut and not a major thing. On thing that > > jQuery > > has is that there are far more scripts however this is just to the fact > > that > > jQuery has been around longer thanmootools. However on the other hand > >mootoolshas is a very nice way to create new classes. All i have to do > > is: > > > var ajax_request = new Class( > > { > > options: > > { > > //class options > > }; > > > initialize: function(options) > > { > > this.setOptions(options); > > //other initliaizing code > > }; > > > //more methods > > }); > > ajax_request.implement(Options); > > > var my_ajax_request = new ajax_request({//override default options}); > > my_ajax_request.process(); > > > Now I have been told that jQuery tries to do things more like the OO > > method. Well to me the basically thing about OO is being able to combine > > members(variables) and methods(functions) into a common > > place(class/object). > > > I have tried creating a simple class with jQuery and it does not work(this > > code if based off what i was told from these forums): > > > var ajax_request = function(options) > > { > > ajax_options = > > { > > test: 'test' > > }; > > > test = function() > > { > > alert(this.test); > > } > > } > > var test = new ajax_request(); > > test.test(); > > > and this code tells me that test() is not a function of test. It seems > > that > > jQuery wants you to incorporate everything into the $() selector which > > does > > not make sense of everything. Being able create separate object is > > something that is important to me and jQuery does not seem to support > > that. > > > Another thing that that jQuery says is that is it so small. Well > > comparing > > the full version ofmootools(all options selected) to the full version of > > jQuery is unfair. In order to get allt he features of fullmootoolsyou > > would have to add jQuery interface script and comparingmootoolsto > > jQuery&Interface script,mootoolsis still smaller. > > > So why should someone choose jQuery overMootoolsor is it really just a > > preference thing and and both are basically the same(i see a lot about > > jQuery vs prototype but not alot about jQuery vsmootools) > > -- > > View this message in context: > >http://www.nabble.com/Why-jQuery-over-Mootools-tf4254982s15494.html#a... > > 0 > > Sent from the JQuery mailing list archive at Nabble.com. > > -- > View this message in > context:http://www.nabble.com/Why-jQuery-over-Mootools-tf4254982s15494.html#a... > Sent from the JQuery mailing list archive at Nabble.com.