i am not sure if this is the correct place to post this, so I am sure it will get moved if required.
i am using Zend FrameWork and I usually use jQuery for fancy animation, ajax etc. However I have not mixed the 2 before. I know ZF has a helper for jQuery, however it appears that it will not downgrade gracefully. So i would like to add the jQuery on afterwards, so I can continue to progressively enhance my site. Is there a neat and tidy way of doing this? or do I need to still make separate php files that jquery calls in for ajax stuff?
Zend FrameWork & jQuery - downgrade gracefully
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Zend FrameWork & jQuery - downgrade gracefully
Can you give us a code example. Typically the enhancements would call separate controller methods that would return either View partials or just data from the Model in XML/JSON.
(#10850)
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Zend FrameWork & jQuery - downgrade gracefully
Ah ha, that is what I was going to try and do, but was not sure if it was right. I will put together an example.arborint wrote:Typically the enhancements would call separate controller methods that would return either View partials or just data from the Model in XML/JSON.
Cheers bud!