Hi there, I'm working on a, well I dare to call it 'Webapp', that has lots of links that call JS functions. Now I'm wondering, instead of invoking ~30 click-observers, does it perform better to just invoke a single click-observer and use the findElement method to call the right function? I'm not sure because I'd need 30 if statements (maybe even more) on every click, which doesn't seem right either. Also, I find having 1 mega-function that calls all other function (software-architecture-wise) kinda ugly.
What would you recommend. Does using only 1 observer even boost the perfomance significantly? Thanks Lukas -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/xCWJjYfUxAAJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.