List Info

Thread: Behaviour is not ready for real apps!




Behaviour is not ready for real apps!
user name
2006-06-27 17:02:45
It's still possible if you are clever about it.  It's your
choice
whether or not you let behaviour go searching through your
entire dom.
 You can use the same function on several different
selectors, for
example.

As for hundreds of options being slow... again, I've used
behaviour in
apps with thousands of elements, not hundreds.  Behaviour
was not a
critical performance issue, not because it's performance is
good or
bad, but because I used all kinds of tricks and techniques
to minimize
the time it would take.  Most libraries will have similar
problems as
has already been observed several times, so it's not an
issue of
behaviour.js being mature or immature as much as it is that
the DOM
implementations and other browser features are immature or
mature.

Loop contructs have been around much longer than browsers. 
So by this
measure browsers are very immature compared to the
techniques we are
using to program.

Ben West

On 6/27/06, R. Rajesh Jeba Anbiah <ng4rrjanbiahrediffmail.com> wrote:
>
> Benjamin West wrote:
> > That's where using clever strategies comes in. 
For example, if your
> > selector starts with an id, that makes it easier
for the routines to
> > locate elements.
>     <snip>
>
>    Use of ids wouldn't be possible always. Say, in a
case where I'll
> add popup routine to few links using
class="popup" or so.
>
> --
>   <?php echo 'Just another PHP saint'; ?>
> Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah
.blogspot.com/
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Behaviour Javascript Library"
group.
To post to this group, send email to behaviourgooglegroups.com
To unsubscribe from this group, send email to
behaviour-unsubscribegooglegroups.com
For more options, visit this group at http://group
s.google.com/group/behaviour
-~----------~----~----~----~------~----~------~--~---

Behaviour is not ready for real apps!
user name
2006-06-28 05:41:34
Many than Olly and Benjamin for taking the time to highlight
a few tips
and tricks what I can use to make the app run faster.

I'll give these a try


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Behaviour Javascript Library"
group.
To post to this group, send email to behaviourgooglegroups.com
To unsubscribe from this group, send email to
behaviour-unsubscribegooglegroups.com
For more options, visit this group at http://group
s.google.com/group/behaviour
-~----------~----~----~----~------~----~------~--~---

Behaviour is not ready for real apps!
user name
2006-06-28 19:21:02

xwisdom wrote:
> Many than Olly and Benjamin for taking the time to
highlight a few tips
> and tricks what I can use to make the app run faster.
>
> I'll give these a try

That above should read:

"Many thanks Olly and Benjamin for taking the time to
highlight a few
tips
and tricks that I can use to make the app run faster.
"

I'm making some progress with the app as I go along. Many
thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Behaviour Javascript Library"
group.
To post to this group, send email to behaviourgooglegroups.com
To unsubscribe from this group, send email to
behaviour-unsubscribegooglegroups.com
For more options, visit this group at http://group
s.google.com/group/behaviour
-~----------~----~----~----~------~----~------~--~---

[1-10] [11-13]

about | contact  Other archives ( Real Estate discussion Medical topics )