[jQuery] Re: LiveQuery (Discuss Please)

2007-11-25 Thread nathandh
> Obviously, that was only a simple example. The more general case, wanting to > bind some event handler to a selector regardless of when it appears on the > page, is extremely common. So again, I'm trying to understand why the rate > of adoption has been so slow. Any thoughts? I've been using jQ

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-21 Thread Flesler
maybe adding some event delegation to LiveQuery could improve its performance. Ariel Flesler On 21 nov, 22:46, alexanmtz <[EMAIL PROTECTED]> wrote: > This is the best discussion that I met about livequery... Im the one > who loves it at beginning, now the plugin at reacting of weird ways... > It

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-21 Thread alexanmtz
Yeah, sure... maybe future jquery versions will take care of that... its a thing to be concern like priority... On 7 nov, 20:06, jason <[EMAIL PROTECTED]> wrote: > I'm all for keeping the core lightweight, but there's plenty of stuff > already in the core that is far less useful to me on a daily

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-21 Thread alexanmtz
This problem that comes with ajax its a headache... livequery its a great iniciative to solve it... but has it issues, but everyone has to remember, that the problem the this plugin is trying to solve its a problem of the core of the nature of ajax request... so... they try to fight with limitatio

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-21 Thread alexanmtz
Its a great plugin, you say everything I was needing to hear... the absoluteley true... Im using livequery like regular bind calls and are happening thinks not planned... but I can“t find another way to do it... Livequery becomes a dependency of the plugin that I was trying to develop... I need a

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-21 Thread alexanmtz
This is the best discussion that I met about livequery... Im the one who loves it at beginning, now the plugin at reacting of weird ways... Its a great plugin and necessary, but in a large project with ajax it becomes a tricky... Now I dont know what I can do... when I test a site that uses it for

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-07 Thread jason
I'm all for keeping the core lightweight, but there's plenty of stuff already in the core that is far less useful to me on a daily basis than LiveQuery. You should not need an extra plugin to indicate that a particular binding needs to be refreshed when the DOM updates. - jason

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-07 Thread Jake McGraw
I don't see what the disconnect for most users is, but I always assumed that after destroying an element, no matter how it was reconstructed, I would have to re-bind events using helper functions. LiveQuery is a useful shortcut for bypassing a logical (IMHO) series of events, and as such, should r

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-07 Thread cjiang
Hi, I had the same experience as Tane. In the beginning, because of the JQuery's bug that non-root level script cannnot be evaluated after Ajax call in 1.2 release, I used livequery a lot, and did find that the page was not very responsive. The performance is getting better after I removed some o

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-02 Thread Brandon Aaron
> > be really sweet to be able to do: > > > $('li') > >.hover(function() { > >$(this).addClass('hover'); > >}, function() { > >$(this).removeClass('hover'); > >}) > >.cache('so

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-02 Thread Jack Killpatrick
he cache() method be aware of all the methods called in the current chain. -Dan -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tlphipps Sent: Thursday, November 01, 2007 9:22 AM To: jQuery (English) Subject: [jQuery] Re: LiveQuery (Discuss Please

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-02 Thread rolfsf
I'd like to second Lee Hinde-3's comment. From a beginner's perspective, I don't really get it. I mean, when I read the description when it was first announced, I sensed that it was something great, and I've been wanting to use it, but I really don't understand enough about it and when to use it.

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-02 Thread Jonathan Sharp
I'd cast my vote for leaving it out of core for now. The beauty of jQuery is the leaness of the core. I've had my eye on LiveQuery for quite some time but haven't had a chance to put it into practice for our enterprise toolkit. Performance is a major concern but of greater issue is the inconsistenc

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-02 Thread Richard D. Worth
A slight correction to give credit where it is due: Malsuphas written some great plugins (BlockUI, Cycle, Form, etc.), but Dimensions and Live Query are both by Brandon Aaron . - Richard On 11/2/07, resetstudio <[EMAIL PROTECTED]> wrot

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-02 Thread resetstudio
I think this is a great plugin. Malsup makes me happy already with his dimensions plugin (ok it is not perfect, all the divs that are containing floats return 0px as height then i have to use float:left on the container to discard this problem), and this livequery, wow, is what i've looked for. Th

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Josh Nathanson
is a great plugin but not used so often that it would be worth the 3K or so it would add. -- Josh - Original Message - From: "Shaun Kester" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Thursday, November 01, 2007 9:40 AM Subject: [jQuery] Re: LiveQuery (

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Shaun Kester
LiveQuery is a staple in my list of plugins. No matter how much I mess with the DOM, my events always fire. Leave the core lean, but this plugin deserves more recognition for sure. On Oct 31, 7:04 pm, "Yehuda Katz" <[EMAIL PROTECTED]> wrote: > So as far as I'm concerned, livequery is the biggest

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Brandon Aaron
Perhaps you didn't see the example page: http://brandonaaron.net/jquery/plugins/livequery/test/test.html Doing those same two examples without Live Query would require you to write other helper functions to bind those events and to manually monitor when an element is added or removed. Hardly just

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Yehuda Katz
My example was shorthand for the problem that's being solved. LiveQuery allows you to define behaviors on the DOM that will be applied on current *or future* nodes. It basically takes the selector engine from being a snapshot tool to making the DOM "alive", just like CSS (in CSS, if a class is remo

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Lee Hinde
On 10/31/07, Yehuda Katz <[EMAIL PROTECTED]> wrote: > So as far as I'm concerned, livequery is the biggest advance in jQuery since > its inception (no, I am not its author). I'm trying to understand why it's > having such a slow rate of adoption. > > > it solves this problem: > $("div.klass").drag

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Dan G. Switzer, II
: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On >Behalf Of tlphipps >Sent: Thursday, November 01, 2007 9:22 AM >To: jQuery (English) >Subject: [jQuery] Re: LiveQuery (Discuss Please) > > >I'd like to second this opinion. I'm using livequery more and more, >

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread tlphipps
I'd like to second this opinion. I'm using livequery more and more, but there are plenty of places where I DON'T use it, so not having it in the core would still be my preference. On Nov 1, 5:53 am, James Dempster <[EMAIL PROTECTED]> wrote: > My less than one pence worth would be I love and use

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Gordon
As far as I cel tell LiveQuery runs every time the DOM is modified, adding extra overhead to the already slow DOM operations (This isn't jQuery or LiveQuery's fault, it's just a fact of web development that manipulating the DOM is slow). If you can get away without using LiveQuery then it's best

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread James Dempster
My less than one pence worth would be I love and use the plugin, but I don't think it should be included into jQuery core, I would like to see jQuery core stay light and fresh. There's nothing wrong with adding LiveQuery yourself, either just add another js file to your html or append all the plug

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread James Dempster
I less than one pence would be I love and use the plugin, but I don't believe it's used enough to but included into jQuery core, I would like to see jQuery core stay light and fresh. There's nothing wrong with adding LiveQuery yourself, just add another file or append all the plugins you want to t

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Tane Piper
Bahh, I accidently hit the send button as I was typing this out What I was trying to say was livequery is missing one major component that breeds bad design - an ajax history manager. I've tried using jquery ajax history plugins, and even tried developing my own hijax, but just couldn't get

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Tane Piper
Here's my 2p I've recently been using livequery a lot on my pastebin app - however I've been taking it out again, and I really wonder if it should be core? Don't get me wrong, it is a great plugin - however I think it breeds bad (lazy) design in Ajax apps as it lacks and I wonder if it's reall

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Yehuda Katz
I would like to see livequery in the core, but John believes that its rate of adoption is too slow to justify getting it in the core. If that's the case, I want to know why, since it fundamentally improves on core jQuery concepts in (like I said above), what I believe to be the most innovative impr

[jQuery] Re: LiveQuery (Discuss Please)

2007-10-31 Thread Mike Alsup
What makes you think the adoption rate is slow? I get the feeling that a good number of people are using it. > So as far as I'm concerned, livequery is the biggest advance in jQuery since > its inception (no, I am not its author). I'm trying to understand why it's > having such a slow rate of a