This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

using jQuery with symfony[SOLVED]

Forum to discuss ExtJS and other JS plugins

using jQuery with symfony[SOLVED]

by gentrobot » Tue May 18, 2010 7:38 am

Hi,

I am new to jQuery and an intermediate level programmer with Symfony. I'd like to use jQuery with Symfony. I'm using Symfony 1.0. I'd like to use it for my commercial website. Could you please provide me with some links wherein I can study in detail about using jQuery with symfony. Some tutorials,documentations etc.

Thanks
gentrobot
Member
 
Posts: 45
Joined: Thu Oct 08, 2009 7:43 am

Re: using jQuery with symfony

by stormsson » Tue May 18, 2010 9:17 am

this one should work,but i am not sure...1.0 is no more supported :/

http://www.symfony-project.org/plugins/sfJqueryPlugin
stormsson
Faithful Member
 
Posts: 220
Joined: Wed Apr 08, 2009 4:50 pm

Re: using jQuery with symfony

by halfer » Tue May 18, 2010 12:11 pm

I use symfony just as it is, rather than with helpers. I copy the latest minified version into /web/js/ and then just add the file reference into the relevant view.yml when I need it.

Then I just use it either in the template body for small stuff, or in a separate JS file if I'm doing something substantial.

The docs at docs.jquery.com are excellent, btw.
halfer
Faithful Member
 
Posts: 10148
Joined: Mon Jan 30, 2006 1:16 pm
Location: West Midlands, UK

Re: using jQuery with symfony

by gentrobot » Tue May 18, 2010 12:16 pm

Thanks Halfer, for the suggestion. I will try to do the same and also have a look at the docs you mentioned.

Thanks Stormsson for the link to the plugin :)~ :-)~ :smile:
gentrobot
Member
 
Posts: 45
Joined: Thu Oct 08, 2009 7:43 am