Re: jquery, ajax and cakephp

2007-01-22 Thread bbuchs
100% sure that jQuery does not use Prototype. jQuery is a Prototype alternative. http://jquery.com/ On Jan 22, 12:55 pm, "Benjamin Sterling" <[EMAIL PROTECTED]> wrote: > I can't comment on the YUI framework, it was a bit too complicated for my > brain to wrap around in a short period of time,

Re: jquery, ajax and cakephp

2007-01-22 Thread the_woodsman
Me: "I think it's time to abandon the prototype libraries, and use YUI" Chris H: "How about some benchmarks to back that up?" You're right, I should have provided references, I just didn't want to divert the thread too much! Jack Slocum has done some great stuff with YUI, including basically all

Re: jquery, ajax and cakephp

2007-01-22 Thread hydra12
> well, back on topic, hydra12, can you give me some examples on how you set > up your pages as far as the ajax page, did you create a view for each one of > your functions. I think that is what is giving me a hard time to grasp. I did create a view for each function. In fact, right now I'm usi

Re: jquery, ajax and cakephp

2007-01-22 Thread Benjamin Sterling
I can't comment on the YUI framework, it was a bit too complicated for my brain to wrap around in a short period of time, that is why I started learn the jquery framework, and I must say, aside from not enough examples and documentation on the full scope and abilities of the ajax functions ($.ajax,

Re: jquery, ajax and cakephp

2007-01-22 Thread Chris Hartjes
On 1/22/07, the_woodsman <[EMAIL PROTECTED]> wrote: > > > On a side note, when it comes to javascript libs, I think it's time to > abandon the prototype libraries, and use YUI - Jack Slocum's extensions > provide all the jQuery power, a million times faster... > > How about some benchmarks to b

Re: jquery, ajax and cakephp

2007-01-22 Thread hydra12
I'd guess it's a problem with the controller name. Controller names have to be plural. How do you make ajax plural? I'd choose another name for my controller, make it a plural name, then give my model name the singular equivalent. BTW, I'm developing a project right now using jquery for my aja

Re: jquery, ajax and cakephp

2007-01-22 Thread the_woodsman
I'm no expert on Cake/Ajax integration, or the prototype libraries & extensions, but here's a few ideas for how to do this without a specialist controller just for Ajax. The Prototype/Scriptaculous helpers make use of the fact that prototype/scriptac indentify their HTTP requests by setting somet

Re: jquery, ajax and cakephp

2007-01-22 Thread Benjamin Sterling
Yeah, that is partially my confusion also. I have a controller there the file is called ajax_controller.php with: "mine", "bike" => "yours" ); $this->set('json_array',$json); } } ?> This site is my first attempt at cakePhp so not sure

Re: jquery, ajax and cakephp

2007-01-22 Thread Dr. Tarique Sani
On 1/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > As it stands now, i go to > http://www.kenzohosting.com/wesco/www/ajax/toggleactive and I get the > layout for the homepage and not what I would expect. I am getting a missing controller error and errors are rendered with default layo

jquery, ajax and cakephp

2007-01-22 Thread [EMAIL PROTECTED]
Hey guys and gals, Wondering if someone can point me in the right direction here. I need to do some ajax calls and I was going to jquery for those. I know how to code straight php and ajax, but I am having a hard time wrapping my head around how I would do it with cakePhp. what i have so far (a