Message from discussion
Prototype + lowpro vs. JQuery
Received: by 10.114.208.20 with SMTP id f20mr417258wag.22.1201341870428;
Sat, 26 Jan 2008 02:04:30 -0800 (PST)
Return-Path: <d...@danwebb.net>
Received: from hs-out-2122.google.com (hs-out-0708.google.com [64.233.178.251])
by mx.google.com with ESMTP id k36si5065321waf.0.2008.01.26.02.04.29;
Sat, 26 Jan 2008 02:04:30 -0800 (PST)
Received-SPF: neutral (google.com: 64.233.178.251 is neither permitted nor denied by best guess record for domain of d...@danwebb.net) client-ip=64.233.178.251;
Authentication-Results: mx.google.com; spf=neutral (google.com: 64.233.178.251 is neither permitted nor denied by best guess record for domain of d...@danwebb.net) smtp.mail=...@danwebb.net
Received: by hs-out-2122.google.com with SMTP id 4so950271hsl.8
for <low-pro@googlegroups.com>; Sat, 26 Jan 2008 02:04:29 -0800 (PST)
Received: by 10.150.199.21 with SMTP id w21mr1241424ybf.129.1201341869446;
Sat, 26 Jan 2008 02:04:29 -0800 (PST)
Received: by 10.150.181.7 with HTTP; Sat, 26 Jan 2008 02:04:29 -0800 (PST)
Message-ID: <5b3e279f0801260204o7e8ecb37qd6c994c071274fad@mail.gmail.com>
Date: Sat, 26 Jan 2008 10:04:29 +0000
From: "Dan Webb" <d...@danwebb.net>
To: low-pro@googlegroups.com
Subject: Re: Prototype + lowpro vs. JQuery
In-Reply-To: <f58d8dcb0801251938r688da9fex9992160b1b1ff195@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
References: <102c1a64-c792-46f5-95d0-202ce9fdbe3c@j78g2000hsd.googlegroups.com>
<bb99361a0801211126k2df88416h68021d8a797c3f0b@mail.gmail.com>
<f58d8dcb0801211358w51dadccdgc838fb1a6abd11e6@mail.gmail.com>
<5b3e279f0801251922g20060bfbxbf536db9cb41d802@mail.gmail.com>
<f58d8dcb0801251938r688da9fex9992160b1b1ff195@mail.gmail.com>
That's a point. I'll make it use livequery if its present although
these days I don't really favour those kinds of solutions. If I need
to work with a changing DOM I use event delegation.
I'll see what I can put together.
On 1/26/08, Matt Aimonetti <mattaimone...@gmail.com> wrote:
> Wow, that would be awesome, I can't wait to give it a try. JQuery already
> has livequery but it ain't as good as lowpro!
>
> -Matt
>
>
> On 1/25/08, Dan Webb <d...@danwebb.net> wrote:
> >
> >
> > On 1/21/08, Matt Aimonetti <mattaimone...@gmail.com> wrote:
> > > It would be awesome to port the low pro syntax to JQuery. Now the thing
> is,
> > > low pro is just a tiny abstraction layer above proto, in theory we
> should be
> > > able to port the same layer to JQuery.
> >
> > I've considered doing this myself. Ive used both jquery and prototype
> > heavily in the past. The reason I like prototype over jquery is that
> > prototype offers more general programming tools where as jquery is
> > just about dealing with the DOM. Secondarily, in my experience, the
> > chaining idiom in jquery tempts people into writing some pretty
> > unreadable code.
> >
> > However, jquery is really compact, very well documented and does its
> > job well so I can see the attraction so 10 minutes spend writing
> > behaviours on top of it would be well spent. Ill see what I can come
> > up with. Something like:
> >
> > $('.date').attach(DatePicker, { opt1: 34 });
> >
> > Would do the job, I can even bring over the inheritance stuff...and
> > the DOM builder. I'll do it tomorrow morning if I have time.
> >
> > Cheers for bringing this up...
> >
> > --
> > Dan Webb
> > http://www.danwebb.net
> >
> > aim: danwrong123
> > skype: danwrong
> > > >
> >
>
--
Dan Webb
http://www.danwebb.net
aim: danwrong123
skype: danwrong