Stick with one or the other - while jQuery and Prototype can be made to work together - they both want the $ prototype and you can end up with conflicts if you don't put jQuery into compat mode and change/use all jQuery usage to use jQuery rather than $.
Most jQuery plugins are safe - so it's mostly your own code you need to worry about. imho jQuery is better - it's lighter and more flexible. There's a jQueryReloaded plugin that should help with its use in Symfony. I was thinking about writing something that implements a better wrapper to JS libs - allowing the same helper usage in your code but by making the JS libs pluggable - so you wouldn't have to change your php code based on the JS lib you wanted to use. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Steve the Canuck Sent: 03 May 2009 17:45 To: symfony users Subject: [symfony-users] Symfony and JS - prototype or jquery? Hi, I started using jquery in my app because it was used in some of the tutorials that were pertinent to me. But now I'm coming across other functionality that is supported by prototype instead. So I seem to either have to use both (which sounds like it might put a pretty big JS footprint in my code), or I will have to port code to work with which framework I choose. Does anyone have recommendations on how to approach this? Thanks, Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
