Friday, October 14, 2011

Re: CakePHP & AJAX auto-refresh div in specified time interval - is it possible?

On Oct 14, 6:39 am, huoxito <huox...@gmail.com> wrote:
> yeah CakePHP is simply a PHP framework but it already offers some built in
> Ajax functionality.
>
> And I've been studying Ruby on Rails a lot lately and I find it really great
> the way the framework works with Ajax. I haven't written any Ajax
> functionality with CakePHP in a while but next time I do it I will try to
> get it as close as possible to the way Rails does it.

If that includes getting javascript embedded in the html source via
writing not-javascript in your view files - instead of giving divs/a/
etc classes/ids in the source and loading js files that are sitting in
your webroot/js/ dir - most likely you're planning to do it rong.

AD

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate