[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-17 Thread Jean
Very nice! On Mon, Jul 14, 2008 at 9:00 PM, Kevin Pepperman [EMAIL PROTECTED] wrote: I think this plugin does what you are looking for: http://plugins.jquery.com/project/EUReCa On Mon, Jul 14, 2008 at 10:11 AM, Yavuz Bogazci [EMAIL PROTECTED] wrote: Hi, is it possible to call php

[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-16 Thread Isaak Malik
Also, file management can be improved drastically by sorting everything in folders and using namespacing. I put the AJAX API's in a separate file and if it's getting to big I create a separate API file for each functionality, for example: API/API.feedback.php API/API.updater.php etc. On Tue, Jul

[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-15 Thread Abba . Bryant
My recommendation would be to use a serverside framework. I find CakePHP allows me to simplify ajax development greatly. On Jul 14, 10:44 pm, Mario Wolff [EMAIL PROTECTED] wrote: On 14 Jul., 16:11, Yavuz Bogazci [EMAIL PROTECTED] wrote: is it possible to call php functions from jquery? My

[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-15 Thread Andrew
The really proper way to do this is with XML-RPC or JSON-RPC, which is probably what you really want as you're already using JSON. RPC means remote procedure call. The basics are pretty well illustrated on the wikipedia page here: http://en.wikipedia.org/wiki/JSON-RPC There are a variety of

[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-14 Thread noon
No. Suggestion: modify your php page to accept a POST/GET variable specifying the function that you wish to be run... On Jul 14, 10:11 am, Yavuz Bogazci [EMAIL PROTECTED] wrote: Hi, is it possible to call php functions from jquery? I knew how to call a .php page from jquery with $.post and

[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-14 Thread Giovanni Battista Lenoci
Yavuz Bogazci ha scritto: Hi, is it possible to call php functions from jquery? I knew how to call a .php page from jquery with $.post and to echo output or return a JSON Object. But my application growth and there is an increase in single php pages. This is very confusing and the

[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-14 Thread Iair Salem
I've made something very similar, and I suggest you to try it out, because it extremely simplifies ajax. Iair. On 14 jul, 11:54, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: Yavuz Bogazci ha scritto: Hi, is it possible to call php functions from jquery? I knew how to call a .php

[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-14 Thread Kevin Pepperman
I think this plugin does what you are looking for: http://plugins.jquery.com/project/EUReCa On Mon, Jul 14, 2008 at 10:11 AM, Yavuz Bogazci [EMAIL PROTECTED] wrote: Hi, is it possible to call php functions from jquery? I knew how to call a .php page from jquery with $.post and to echo

[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-14 Thread Mario Wolff
On 14 Jul., 16:11, Yavuz Bogazci [EMAIL PROTECTED] wrote: is it possible to call php functions from jquery? My way: PHP: ?php function utf8_encode_recursive($arr){ array_walk_recursive($arr,create_function('$item, $key','$item=utf8_encode($item);')); return $arr; }