This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "DWR-like toolkit for PHP?" Watch "DWR-like toolkit for PHP?" New topic
Author

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?

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

Joined: Jan 10, 2002
Posts: 60817
    
  65

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] [Bear's FrontMan] [About Bear] [Books by Bear]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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

GenRocket - Experts at Building Test Data
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
http://ajaxpatterns.org/wiki/index.php?title=AJAXFrameworks
Have fun looking through the list

Eric
Bogdan Brinzarea
author
Greenhorn

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.


Bogdan
 
 
subject: DWR-like toolkit for PHP?
 
Similar Threads
Calling java method on a button click?
Passing/Accssing HttpSession to service layer
Security concerns in DWR
Very urg help me
DWR vs. GWT