This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes DWR-like toolkit for PHP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "DWR-like toolkit for PHP?" Watch "DWR-like toolkit for PHP?" New topic

DWR-like toolkit for PHP?

Rusty Smythe
Ranch Hand

Joined: Aug 09, 2006
Posts: 93

In the Java World, a toolkit called DWR (Direct Web Remoting) allows the Developer to use Java functions from Javascript.
From the DWR website
DWR works by dynamically generating Javascript based on Java classes. The code does some Ajax magic to make it feel like the execution is happening on the browser, but in reality the server is executing the code and DWR is marshalling the data back and forwards.

Is there a PHP-equivalent for DWR?

[ August 22, 2006: Message edited by: Rusty Smythe ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63870

Hmm, interesting concept. DWR works by inspecting the Java classes and creating client-side proxies that use Ajax as their transport. I haven't heard of any php equivalents, and don't know enough about php (anything really) to know if has the inpection facilities to easily implement something along these lines.

[Asking smart questions] [About Bear] [Books by Bear]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Here is a short list of possibilities.
[ August 22, 2006: Message edited by: Gregg Bolinger ]

GenRocket - Experts at Building Test Data
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Have fun looking through the list

Bogdan Brinzarea

Joined: Aug 22, 2006
Posts: 25
Thank you Eric!

The link Eric posted nicely summarize the existing frameworks. In the AJAX PHP frameworks category you will find the complete list of existing frameworks specially designed for PHP.

I agree. Here's the link:
subject: DWR-like toolkit for PHP?
It's not a secret anymore!